]> source.dussan.org Git - nextcloud-server.git/commitdiff
"border" attribute is not a valid attribute for <img /> tags. Using proper CSS instru...
authorCharlyCoste <contact@ccoste.fr>
Sun, 14 Mar 2010 01:14:13 +0000 (02:14 +0100)
committerCharlyCoste <contact@ccoste.fr>
Sun, 14 Mar 2010 01:14:13 +0000 (02:14 +0100)
css/default.css
inc/lib_base.php
inc/lib_files.php

index a3cbaab312305c8d40416bb5ffb876fd9f677e83..ede77ec0dde2f6942dc0af8825e7240224f71fe0 100755 (executable)
@@ -2,6 +2,10 @@ 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;
 }
@@ -78,6 +82,10 @@ a#owncloud-logo span {
   text-decoration:none;
 }
 
+.navigationitem1 img {
+  border:none;
+}
+
 .navigationitem1:hover {
   background-color: #EEEEEE;
 }
index b8d5bcb9ed4b1f3b0c62f239deb5aa967d7e809c..8fc8e7955b6bb6eb422a85fccdc0b3b666266f39 100755 (executable)
@@ -133,7 +133,7 @@ class OC_UTIL {
    */
   public static function shownavigation(){
     echo('<table cellpadding="5" cellspacing="0" border="0"><tr>');
-    echo('<td class="navigationitem1"><a href="/">'.$_SESSION['username'].'</a> <img src="/img/dots.png" border="0"></td>');
+    echo('<td class="navigationitem1"><a href="/">'.$_SESSION['username'].'</a> <img src="/img/dots.png" /></td>');
     if($_SERVER['SCRIPT_NAME']=='/index.php') echo('<td class="navigationitemselected"><a href="/">Files</a></td>'); else echo('<td class="navigationitem"><a href="/">Files</a></td>');
 
     foreach(OC_UTIL::$NAVIGATION as $NAVI) {
index 39d48c13a971dec929c23fd707dc6b20b1db6e47..ab0a5252982ddb29aa79062db43b0db96dfdb39f 100755 (executable)
@@ -53,7 +53,7 @@ class OC_FILES {
       $currentdir='';
       foreach($dirs as $d) {
         $currentdir.='/'.$d.'';
-        if($d<>'') echo('<td class="nametext"><a href="/?dir='.$currentdir.'"><img src="/img/arrow.png" border="0" />&nbsp;'.$d.'</a></td>');
+        if($d<>'') echo('<td class="nametext"><a href="/?dir='.$currentdir.'"><img src="/img/arrow.png" />&nbsp;'.$d.'</a></td>');
       }
       echo('</tr></table></div>');
     }