diff --git a/ChangeLog b/ChangeLog index 2fb3422bd..8767c9200 100644 --- a/ChangeLog +++ b/ChangeLog @@ -20,6 +20,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA - bug #1910621 [display] part 2: do not display a BINARY content as text - patch #1957998 [display] No tilde for InnoDB row counter when we know it for sure, thanks to Vladyslav Bakayev - dandy76 +- bug #1955572 [display] alt text causes duplicated strings 2.11.6.0 (2008-04-29) - bug #1903724 [interface] Displaying of very large queries in error message diff --git a/libraries/common.lib.php b/libraries/common.lib.php index dc9eb05f5..69cc23f4a 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1562,8 +1562,11 @@ function PMA_getTab($tab) // display icon, even if iconic is disabled but the link-text is missing if (($GLOBALS['cfg']['MainPageIconic'] || empty($tab['text'])) && isset($tab['icon'])) { + // avoid generating an alt tag, because it only illustrates + // the text that follows and if browser does not display + // images, the text is duplicated $image = '%2$s%2$s'; + .'%1$s" width="16" height="16" />%2$s'; $tab['text'] = sprintf($image, htmlentities($tab['icon']), $tab['text']); } // check to not display an empty link-text