Skip to content

Commit 65d5f1a

Browse files
committedJun 25, 2012
Fix #14418: Alternate text for logo image is hardcoded
1 parent 1ee24f6 commit 65d5f1a

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
@@ -498,7 +498,8 @@ function html_top_banner() {
498498
if( $t_show_url ) {
499499
echo '<a id="logo-link" href="', config_get( 'logo_url' ), '">';
500500
}
501-
echo '<img id="logo-image" alt="Mantis Bug Tracker" src="' . helper_mantis_url( $t_logo_image ) . '" />';
501+
$t_alternate_text = string_html_specialchars( config_get( 'window_title' ) );
502+
echo '<img id="logo-image" alt="', $t_alternate_text, '" src="' . helper_mantis_url( $t_logo_image ) . '" />';
502503
if( $t_show_url ) {
503504
echo '</a>';
504505
}

0 commit comments

Comments
 (0)
Please sign in to comment.