summaryrefslogtreecommitdiffstats
path: root/inc/templates/footer.php
blob: 56f4fce195294f2943ed3763fbb1512f9cb0d62d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
global $WEBROOT;
?>
</div>
<div class='foot'>
<?php
if(!OC_UTIL::hasSmallScreen()){
   if (isset($_SERVER['HTTPS'])) {
      $PROTO="webdavs://";
   } else {
      $PROTO="webdav://";
   }
?>
<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>
</p></div>
<?php }?>
<p class="footer">
<?php
	$version=implode('.',OC_UTIL::getVersion());
  echo('<a href="http://ownCloud.org">ownCloud</a> - '.$version);
?>
</p>
</div>
</div>
</body></html>