Skip to content

Commit

Permalink
Issue #12545: Replace last remaining <br>'s with <br />
Browse files Browse the repository at this point in the history
Required for strict XHTML output.
  • Loading branch information
davidhicks committed Dec 26, 2010
1 parent 471900e commit bac3bae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion admin/install.php
Expand Up @@ -767,7 +767,7 @@ function InsertData( $p_table, $p_data ) {
} else {
$all_sql = '';
foreach ( $sqlarray as $single_sql )
$all_sql .= $single_sql . '<br>';
$all_sql .= $single_sql . '<br />';
print_test_result( BAD, true, $all_sql . $g_db->ErrorMsg() );
}
echo '</tr>';
Expand Down
4 changes: 2 additions & 2 deletions admin/test_langs.php
Expand Up @@ -352,11 +352,11 @@ function checktoken( $file, $base = false ) {
}

function lang_error_handler( $p_type, $p_error, $p_file, $p_line, $p_context ) {
print_error( "error handler thrown: " . $p_type . '<br>' . $p_error . '<br>' . $p_file . '<br>' . $p_line . '<br>' . $p_context );
print_error( "error handler thrown: " . $p_type . '<br />' . $p_error . '<br />' . $p_file . '<br />' . $p_line . '<br />' . $p_context );
}

function print_error( $p_string ) {
echo "<font color='red'>ERROR: ", $p_string, '</font><br>';
echo "<font color='red'>ERROR: ", $p_string, '</font><br />';
}

html_page_bottom();

0 comments on commit bac3bae

Please sign in to comment.