<img /> tags need alternative content with "alt" attribute. "dots.png" is not a content. Using CSS backgrounds instead.

This commit is contained in:
CharlyCoste 2010-03-14 02:21:36 +01:00
parent 2eafb444e3
commit 740bcf5c72
2 changed files with 3 additions and 1 deletions

View file

@ -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 {

View file

@ -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) {