small css and path fixes
This commit is contained in:
parent
b0d3a315aa
commit
9816cd2bb8
|
@ -23,6 +23,10 @@ h1 {
|
|||
margin-right:auto;
|
||||
}
|
||||
|
||||
td {
|
||||
text-align:left;
|
||||
}
|
||||
|
||||
div#nav {
|
||||
margin-bottom:2em;
|
||||
}
|
||||
|
|
|
@ -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>');
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue