summaryrefslogtreecommitdiffstats
path: root/inc
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 /inc
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.
Diffstat (limited to 'inc')
-rwxr-xr-xinc/lib_base.php2
-rwxr-xr-xinc/lib_files.php2
2 files changed, 2 insertions, 2 deletions
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>');
}