Skip to content
Snippets Groups Projects
Commit 740bcf5c authored by CharlyCoste's avatar CharlyCoste
Browse files

<img /> tags need alternative content with "alt" attribute. "dots.png" is not...

<img /> tags need alternative content with "alt" attribute. "dots.png" is not a content. Using CSS backgrounds instead.
parent 2eafb444
No related branches found
No related tags found
No related merge requests found
...@@ -80,6 +80,8 @@ a#owncloud-logo span { ...@@ -80,6 +80,8 @@ a#owncloud-logo span {
.navigationitem1 a{ .navigationitem1 a{
text-decoration:none; text-decoration:none;
padding-right:15px;
background: transparent url(/img/dots.png) no-repeat scroll center right;
} }
.navigationitem1 img { .navigationitem1 img {
......
...@@ -133,7 +133,7 @@ class OC_UTIL { ...@@ -133,7 +133,7 @@ class OC_UTIL {
*/ */
public static function shownavigation(){ public static function shownavigation(){
echo('<table cellpadding="5" cellspacing="0" border="0"><tr>'); 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>'); 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) { foreach(OC_UTIL::$NAVIGATION as $NAVI) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment