From 740bcf5c7200dd11181b6305839725a8eca3ad29 Mon Sep 17 00:00:00 2001 From: CharlyCoste <contact@ccoste.fr> Date: Sun, 14 Mar 2010 02:21:36 +0100 Subject: [PATCH] <img /> tags need alternative content with "alt" attribute. "dots.png" is not a content. Using CSS backgrounds instead. --- css/default.css | 2 ++ inc/lib_base.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/css/default.css b/css/default.css index ede77ec0dd..be4ffd0bc1 100755 --- a/css/default.css +++ b/css/default.css @@ -80,6 +80,8 @@ a#owncloud-logo span { .navigationitem1 a{ text-decoration:none; + padding-right:15px; + background: transparent url(/img/dots.png) no-repeat scroll center right; } .navigationitem1 img { diff --git a/inc/lib_base.php b/inc/lib_base.php index 8fc8e7955b..cfa2d75eff 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" /></td>'); + echo('<td class="navigationitem1"><a href="/">'.$_SESSION['username'].'</a></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) { -- GitLab