Skip to content

Commit 3de78aa

Browse files
committedJun 25, 2012
Fix #14418: Alternate text for logo image is hardcoded
1 parent 9d406ad commit 3de78aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎core/html_api.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,8 @@ function html_top_banner() {
469469
if( $t_show_url ) {
470470
echo '<a href="', config_get( 'logo_url' ), '">';
471471
}
472-
echo '<img border="0" alt="Mantis Bug Tracker" src="' . helper_mantis_url( $t_logo_image ) . '" />';
472+
$t_alternate_text = string_html_specialchars( config_get( 'window_title' ) );
473+
echo '<img border="0" alt="', $t_alternate_text, '" src="' . helper_mantis_url( $t_logo_image ) . '" />';
473474
if( $t_show_url ) {
474475
echo '</a>';
475476
}

0 commit comments

Comments
 (0)