summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcss/default.php11
-rwxr-xr-xinc/lib_log.php2
-rwxr-xr-xinc/templates/footer.php6
-rwxr-xr-xindex.php2
4 files changed, 17 insertions, 4 deletions
diff --git a/css/default.php b/css/default.php
index c3c380cf151..dd1ad09b015 100755
--- a/css/default.php
+++ b/css/default.php
@@ -29,6 +29,7 @@ html,body {
vertical-align:top;
top:175px;
bottom:75px;
+ overflow:auto;
}
#mainlayout>.foot{
@@ -36,6 +37,14 @@ html,body {
bottom:0px;
}
+#mainlayout>.foot>.bar{
+ background-color:#EEE;
+ position:absolute;
+ top:0px;
+ height:24px;
+ width:100%;
+}
+
body.error {background-color: #F0F0F0;}
body,th,td,ul,li,a,div,p,pre {color:#333333; font-family:Verdana,"Bitstream Vera Sans",Arial,Helvetica,Sans,"Bitstream Vera Serif"; font-size:9.0pt;}
@@ -285,7 +294,7 @@ div.fileList table{
vertical-align:top;
}
-thead td, tfoot td{
+table.browser thead td,table.browser tfoot td{
padding-left:6px;
padding-top:0px;
padding-bottom:0px;
diff --git a/inc/lib_log.php b/inc/lib_log.php
index 980011e05e2..2a8a91be40a 100755
--- a/inc/lib_log.php
+++ b/inc/lib_log.php
@@ -59,7 +59,7 @@ class OC_LOG {
*/
public static function show(){
global $CONFIG_DATEFORMAT;
- echo('<div class="center"><table cellpadding="6" cellspacing="0" border="0" class="browser">');
+ echo('<div class="center"><table cellpadding="6" cellspacing="0" border="0" class="log">');
$result = OC_DB::query('select timestamp,user,type,message from log order by timestamp desc limit 20');
$count=OC_DB::numrows($result);
diff --git a/inc/templates/footer.php b/inc/templates/footer.php
index 275f4191182..16b41d3e2e3 100755
--- a/inc/templates/footer.php
+++ b/inc/templates/footer.php
@@ -1,5 +1,11 @@
+<?php
+global $WEBROOT;
+?>
</div>
<div class='foot'>
+<div class='bar'><p class="hint">
+Hint: Mount it via webdav like this: <a href="webdav://'.<?php echo($_SERVER["HTTP_HOST"].$WEBROOT.'/webdav/owncloud.php');?>">webdav://<?php echo($_SERVER["HTTP_HOST"].$WEBROOT);?>/webdav/owncloud.php</a>
+</p></div>
<p class="footer">
<?php
echo('<a href="http://ownCloud.org">ownCloud</a> - 1.0 beta 2');
diff --git a/index.php b/index.php
index 335d39b097a..6b0bcf63a4d 100755
--- a/index.php
+++ b/index.php
@@ -36,8 +36,6 @@ if(isset($_GET['file'])) {
OC_FILES::showbrowser($CONFIG_DATADIRECTORY,$dir);
- echo('<p class="hint">Hint: Mount it via webdav like this: <a href="webdav://'.$_SERVER["HTTP_HOST"].$WEBROOT.'/webdav/owncloud.php">webdav://'.$_SERVER["HTTP_HOST"].$WEBROOT.'/webdav/owncloud.php</a></p>');
-
OC_UTIL::showfooter();
}