diff --git a/css/default.css b/css/default.css index 6158ee4a40d..be4ffd0bc1f 100755 --- a/css/default.css +++ b/css/default.css @@ -1,11 +1,47 @@ +body {background-color: #F9F9F9;} +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;} +a img { + border:none; +} + +h1 { + margin-bottom:1.5em; +} + +.center { + text-align:center; +} + +.center * { + margin-left:auto; + margin-right:auto; +} + +div#nav { + margin-bottom:2em; +} + +a#owncloud-logo { + margin-left:auto; + margin-right:auto; + display:block; + width:200px; + height:99px; + background: transparent url(/img/owncloud-logo-small.png) no-repeat scroll 0 0; +} + +a#owncloud-logo span { + display:none; +} + .nametext a {color:#333333; font-size:8pt; font-weight:bold; text-decoration:none;} .highlighttext {color:#333333; font-size:9pt; font-weight:bold; text-decoration:none;} .datetext {color:#333333; font-size:7pt;} .sizetext {color:#333333; font-size:7pt;} -.footer {color:#999999; text-align:center; font-size:9pt;} -.hint {color:#AAAAAA; text-align:center; font-size:8pt;} +.footer {color:#999999; text-align:center; font-size:9pt; margin-top:4em;} +.hint {color:#AAAAAA; text-align:center; font-size:8pt; margin-top:4em; margin-bottom:2em;} .hint a{color:#AAAAAA; text-align:center; font-size:8pt;} .formstyle { @@ -44,6 +80,12 @@ body,th,td,ul,li,a,div,p,pre {color:#333333; font-family:Verdana,"Bitstream Vera .navigationitem1 a{ text-decoration:none; + padding-right:15px; + background: transparent url(/img/dots.png) no-repeat scroll center right; +} + +.navigationitem1 img { + border:none; } .navigationitem1:hover { diff --git a/inc/lib_base.php b/inc/lib_base.php index 9419226aca6..20d7ef04cb6 100755 --- a/inc/lib_base.php +++ b/inc/lib_base.php @@ -133,7 +133,7 @@ class OC_UTIL { */ public static function shownavigation(){ echo(''); - echo(''); + echo(''); if($_SERVER['SCRIPT_NAME']=='/index.php') echo(''); else echo(''); foreach(OC_UTIL::$NAVIGATION as $NAVI) { @@ -190,14 +190,14 @@ class OC_DB { $DBConnection = @new mysqli($CONFIG_DBHOST, $CONFIG_DBUSER, $CONFIG_DBPWD,$CONFIG_DBNAME); if (mysqli_connect_errno()) { @ob_end_clean(); - echo('

can not connect to database.
'); + echo('
can not connect to database.
'); exit(); } } $result = @$DBConnection->query($cmd); if (!$result) { - $entry='DB Error: "'.$DBConnection->error.'"
'; - $entry.='Offending command was: '.$cmd.'
'; + $entry='

DB Error: "'.$DBConnection->error.'"

'; + $entry.='

Offending command was: '.$cmd.'

'; echo($entry); } return $result; diff --git a/inc/lib_files.php b/inc/lib_files.php index 0c3d84519c2..ab0a5252982 100755 --- a/inc/lib_files.php +++ b/inc/lib_files.php @@ -48,18 +48,18 @@ class OC_FILES { // breadcrumb if(count($dirs)>1) { - echo('
'); + echo('
'); echo(''); $currentdir=''; foreach($dirs as $d) { $currentdir.='/'.$d.''; - if($d<>'') echo(''); + if($d<>'') echo(''); } - echo('
home '.$d.' '.$d.'
'); + echo(''); } // files and directories - echo('
'); + echo('
'); $filesfound=false; if (is_dir($directory)) { if ($dh = opendir($directory)) { @@ -82,8 +82,8 @@ class OC_FILES { } } echo('
'); - if(!$filesfound) echo('
no files here'); - echo('
'); + if(!$filesfound) echo('

no files here

'); + echo(''); } diff --git a/inc/lib_log.php b/inc/lib_log.php index 4f34728ff1d..980011e05e2 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('
'); + echo('
'); $result = OC_DB::query('select timestamp,user,type,message from log order by timestamp desc limit 20'); $count=OC_DB::numrows($result); @@ -73,7 +73,7 @@ class OC_LOG { echo(''); echo(''); } - echo('
'.$entry['message'].'
'); + echo(''); OC_DB::free_result($result); } diff --git a/inc/templates/footer.php b/inc/templates/footer.php index 138d563658a..9771c797787 100755 --- a/inc/templates/footer.php +++ b/inc/templates/footer.php @@ -1,5 +1,3 @@ -
-
+ +


'); + echo('
'); OC_UTIL::showloginform(); - echo('
'); + echo(''); OC_UTIL::showfooter(); exit(); }else{ - echo('
'); + echo('
'); + echo(''); } ?> -
diff --git a/index.php b/index.php index ffe66e41953..438d2fef0df 100755 --- a/index.php +++ b/index.php @@ -39,7 +39,7 @@ if(isset($_GET['file'])) { OC_FILES::showbrowser($CONFIG_DATADIRECTORY,$dir); - echo('

Hint: Mount it via webdav like this: webdav://'.$_SERVER["HTTP_HOST"].'/webdav/owncloud.php

'); + echo('

Hint: Mount it via webdav like this: webdav://'.$_SERVER["HTTP_HOST"].'/webdav/owncloud.php

'); OC_UTIL::showfooter(); diff --git a/plugins/music/index.php b/plugins/music/index.php index 9002a4052e7..f9a7c8a2e88 100755 --- a/plugins/music/index.php +++ b/plugins/music/index.php @@ -27,9 +27,9 @@ require_once('../../config/config.php'); OC_UTIL::showheader(); -echo('
'); +echo('
'); echo('nothing here yet :-)'); -echo('


'); +echo(''); OC_UTIL::showfooter(); diff --git a/plugins/test/index.php b/plugins/test/index.php index 9002a4052e7..f9a7c8a2e88 100755 --- a/plugins/test/index.php +++ b/plugins/test/index.php @@ -27,9 +27,9 @@ require_once('../../config/config.php'); OC_UTIL::showheader(); -echo('
'); +echo('
'); echo('nothing here yet :-)'); -echo('


'); +echo(''); OC_UTIL::showfooter(); diff --git a/settings/index.php b/settings/index.php index a5e3649e855..467e0ad9632 100755 --- a/settings/index.php +++ b/settings/index.php @@ -26,9 +26,9 @@ require_once('../config/config.php'); OC_UTIL::showheader(); -echo('
'); +echo('
'); echo('nothing here yet :-)'); -echo('


'); +echo(''); OC_UTIL::showfooter();