diff options
author | Frank Karlitschek <frank@dev.(none)> | 2010-03-24 08:51:59 +0100 |
---|---|---|
committer | Frank Karlitschek <frank@dev.(none)> | 2010-03-24 08:51:59 +0100 |
commit | 9816cd2bb8cceedb9beedd64901f6355db10b7e5 (patch) | |
tree | d22b302a7b0333cca9d7b06825ef1b957ee59939 | |
parent | b0d3a315aa235c4769bf452b9788e20d539654c9 (diff) | |
download | nextcloud-server-9816cd2bb8cceedb9beedd64901f6355db10b7e5.tar.gz nextcloud-server-9816cd2bb8cceedb9beedd64901f6355db10b7e5.zip |
small css and path fixes
-rwxr-xr-x | css/default.php | 4 | ||||
-rwxr-xr-x | inc/lib_base.php | 2 | ||||
-rwxr-xr-x | inc/templates/header.php | 4 |
3 files changed, 7 insertions, 3 deletions
diff --git a/css/default.php b/css/default.php index 7da6bb5c657..c781e58de75 100755 --- a/css/default.php +++ b/css/default.php @@ -23,6 +23,10 @@ h1 { margin-right:auto; } +td { + text-align:left; +} + div#nav { margin-bottom:2em; } diff --git a/inc/lib_base.php b/inc/lib_base.php index edb884e07b2..9a3319549bf 100755 --- a/inc/lib_base.php +++ b/inc/lib_base.php @@ -188,7 +188,7 @@ class OC_UTIL { global $SERVERROOT; echo('<table cellpadding="5" cellspacing="0" border="0"><tr>'); echo('<td class="navigationitem1"><a href="'.$WEBROOT.'/">'.$_SESSION['username'].'</a></td>'); - if($_SERVER['SCRIPT_NAME']==$WEBROOT.'/index.php') echo('<td class="navigationitemselected"><a href="/'.$WEBROOT.'/">Files</a></td>'); else echo('<td class="navigationitem"><a href="/'.$WEBROOT.'/">Files</a></td>'); + if($_SERVER['SCRIPT_NAME']==$WEBROOT.'/index.php') echo('<td class="navigationitemselected"><a href="'.$WEBROOT.'/">Files</a></td>'); else echo('<td class="navigationitem"><a href="'.$WEBROOT.'/">Files</a></td>'); foreach(OC_UTIL::$NAVIGATION as $NAVI) { if(dirname($_SERVER['SCRIPT_NAME'])==$WEBROOT.$NAVI['url']) echo('<td class="navigationitemselected"><a href="'.$WEBROOT.$NAVI['url'].'">'.$NAVI['name'].'</a></td>'); else echo('<td class="navigationitem"><a href="'.$WEBROOT.$NAVI['url'].'">'.$NAVI['name'].'</a></td>'); diff --git a/inc/templates/header.php b/inc/templates/header.php index 6412b6a098a..0399a9c6544 100755 --- a/inc/templates/header.php +++ b/inc/templates/header.php @@ -3,12 +3,12 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>ownCloud</title> - <base href="/<?php echo($WEBROOT); ?>" /> + <base href="<?php echo($WEBROOT); ?>/" /> <link rel="stylesheet" type="text/css" href="css/default.php" /> </head> <body> <?php -echo('<h1><a id="owncloud-logo" href="/'.$WEBROOT.'"><span>ownCloud</span></a></h1>'); +echo('<h1><a id="owncloud-logo" href="'.$WEBROOT.'"><span>ownCloud</span></a></h1>'); // check if already configured. otherwise start configuration wizard |