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 1ee24f6 commit 65d5f1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/html_api.php
Expand Up @@ -498,7 +498,8 @@ function html_top_banner() {
if( $t_show_url ) {
echo '<a id="logo-link" href="', config_get( 'logo_url' ), '">';
}
echo '<img id="logo-image" alt="Mantis Bug Tracker" src="' . helper_mantis_url( $t_logo_image ) . '" />';
$t_alternate_text = string_html_specialchars( config_get( 'window_title' ) );
echo '<img id="logo-image" alt="', $t_alternate_text, '" src="' . helper_mantis_url( $t_logo_image ) . '" />';
if( $t_show_url ) {
echo '</a>';
}
Expand Down

0 comments on commit 65d5f1a

Please sign in to comment.