<img /> tags need alternative content with "alt" attribute. "dots.png" is not a content. Using CSS backgrounds instead.
This commit is contained in:
parent
2eafb444e3
commit
740bcf5c72
|
@ -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 {
|
||||||
*/
|
*/
|
||||||
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) {
|
||||||
|
|
Loading…
Reference in New Issue