server/inc/templates/footer.php

27 lines
627 B
PHP
Raw Normal View History

2010-04-12 12:49:10 +00:00
<?php
global $WEBROOT;
?>
2010-04-12 12:31:22 +00:00
</div>
<div class='foot'>
<?php
if(!OC_UTIL::hasSmallScreen()){
if (isset($_SERVER['HTTPS'])) {
$PROTO="webdavs://";
} else {
$PROTO="webdav://";
}
?>
2010-04-12 12:49:10 +00:00
<div class='bar'><p class="hint">
Hint: Mount it via webdav like this: <a href="<?php echo($PROTO.$_SERVER["HTTP_HOST"].$WEBROOT.'/webdav/owncloud.php');?>"><?php echo($PROTO.$_SERVER["HTTP_HOST"].$WEBROOT);?>/webdav/owncloud.php</a>
2010-04-12 12:49:10 +00:00
</p></div>
<?php }?>
2010-03-10 12:03:40 +00:00
<p class="footer">
<?php
$version=implode('.',OC_UTIL::getVersion());
echo('<a href="http://ownCloud.org">ownCloud</a> - '.$version);
2010-03-10 12:03:40 +00:00
?>
</p>
2010-04-12 12:31:22 +00:00
</div>
</div>
2010-03-10 12:03:40 +00:00
</body></html>