diff options
author | CharlyCoste <contact@ccoste.fr> | 2010-03-14 02:21:36 +0100 |
---|---|---|
committer | CharlyCoste <contact@ccoste.fr> | 2010-03-14 02:21:36 +0100 |
commit | 740bcf5c7200dd11181b6305839725a8eca3ad29 (patch) | |
tree | 1a7f932c3428eb77e83d60e877d4a335d07535a9 | |
parent | 2eafb444e3163351093cf860e60a15068ed870e0 (diff) | |
download | nextcloud-server-740bcf5c7200dd11181b6305839725a8eca3ad29.tar.gz nextcloud-server-740bcf5c7200dd11181b6305839725a8eca3ad29.zip |
<img /> tags need alternative content with "alt" attribute. "dots.png" is not a content. Using CSS backgrounds instead.
-rwxr-xr-x | css/default.css | 2 | ||||
-rwxr-xr-x | inc/lib_base.php | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/css/default.css b/css/default.css index ede77ec0dde..be4ffd0bc1f 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 8fc8e7955b6..cfa2d75effc 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) { |