]> source.dussan.org Git - nextcloud-server.git/commitdiff
small css and path fixes
authorFrank Karlitschek <frank@dev.(none)>
Wed, 24 Mar 2010 07:51:59 +0000 (08:51 +0100)
committerFrank Karlitschek <frank@dev.(none)>
Wed, 24 Mar 2010 07:51:59 +0000 (08:51 +0100)
css/default.php
inc/lib_base.php
inc/templates/header.php

index 7da6bb5c65772829f7655a476467cd4ae510d87a..c781e58de753ec2b02c2c7ee2fa2482f7e1b84db 100755 (executable)
@@ -23,6 +23,10 @@ h1 {
   margin-right:auto;
 }
 
+td {
+  text-align:left;
+}
+
 div#nav {
   margin-bottom:2em;
 }
index edb884e07b20e66d55bea24bcd15c1e4acdb72be..9a3319549bfb2c031cf41a4b600e6c0036a52339 100755 (executable)
@@ -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>');
index 6412b6a098a5c3e9d7d200a959e50f15ada53f9f..0399a9c65440c1cc1655a7ca20bffdfd1bbd42a2 100755 (executable)
@@ -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