Skip to content

Commit

Permalink
Fix #14418: Alternate text for logo image is hardcoded
Browse files Browse the repository at this point in the history
  • Loading branch information
atrol committed Jun 25, 2012
1 parent 9d406ad commit 3de78aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/html_api.php
Expand Up @@ -469,7 +469,8 @@ function html_top_banner() {
if( $t_show_url ) {
echo '<a href="', config_get( 'logo_url' ), '">';
}
echo '<img border="0" alt="Mantis Bug Tracker" src="' . helper_mantis_url( $t_logo_image ) . '" />';
$t_alternate_text = string_html_specialchars( config_get( 'window_title' ) );
echo '<img border="0" alt="', $t_alternate_text, '" src="' . helper_mantis_url( $t_logo_image ) . '" />';
if( $t_show_url ) {
echo '</a>';
}
Expand Down

0 comments on commit 3de78aa

Please sign in to comment.