summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharlyCoste <contact@ccoste.fr>2010-03-14 02:14:13 +0100
committerCharlyCoste <contact@ccoste.fr>2010-03-14 02:14:13 +0100
commit2eafb444e3163351093cf860e60a15068ed870e0 (patch)
tree0a0ceacdce5bcff657c4c05c93d0523832fa857b
parentc921e5422d3c927c7ccd1c062e9fa3338834c1b7 (diff)
downloadnextcloud-server-2eafb444e3163351093cf860e60a15068ed870e0.tar.gz
nextcloud-server-2eafb444e3163351093cf860e60a15068ed870e0.zip
"border" attribute is not a valid attribute for <img /> tags. Using proper CSS instructions instead.
-rwxr-xr-xcss/default.css8
-rwxr-xr-xinc/lib_base.php2
-rwxr-xr-xinc/lib_files.php2
3 files changed, 10 insertions, 2 deletions
diff --git a/css/default.css b/css/default.css
index a3cbaab3123..ede77ec0dde 100755
--- a/css/default.css
+++ b/css/default.css
@@ -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;
}
diff --git a/inc/lib_base.php b/inc/lib_base.php
index b8d5bcb9ed4..8fc8e7955b6 100755
--- a/inc/lib_base.php
+++ b/inc/lib_base.php
@@ -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) {
diff --git a/inc/lib_files.php b/inc/lib_files.php
index 39d48c13a97..ab0a5252982 100755
--- a/inc/lib_files.php
+++ b/inc/lib_files.php
@@ -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>');
}