From: Thijs K. <ki...@us...> - 2006-06-26 14:26:27
|
Update of /cvsroot/squirrelmail/squirrelmail/templates In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv20065/templates Modified Files: util_global.php Log Message: Also output alt when its empty, closes #1512640 Index: util_global.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/templates/util_global.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -w -r1.4 -r1.5 --- util_global.php 13 May 2006 19:11:08 -0000 1.4 +++ util_global.php 26 Jun 2006 14:26:20 -0000 1.5 @@ -36,7 +36,8 @@ // find an image, we will revert back to the text icon. if (!is_null($icon_path)) { $icon = '<img src="'.$icon_path.'" ' . - (!empty($alt_text) ? 'alt="'.$alt_text.'" title="'.$alt_text.'" ' : '') . + 'alt="'.$alt_text.'" '. + (!empty($alt_text) ? 'title="'.$alt_text.'" ' : '') . (!is_null($w) ? 'width="'.$w.'" ' : '') . (!is_null($h) ? 'height="'.$h.'" ' : '') . ' />'; |