Skip to content

Commit

Permalink
Fix issue with browser (Firefox) showing only the document tree.
Browse files Browse the repository at this point in the history
Additional fixes for XHTML strict conformance
  • Loading branch information
giallu committed Jan 16, 2011
1 parent 8e303d2 commit eca0321
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions admin/install.php
Expand Up @@ -87,8 +87,9 @@ function InsertData( $p_table, $p_data ) {
# 6 = post install checks
# 7 = done, link to login or db updater
$t_install_state = gpc_get_int( 'install', 0 );

html_begin();
?>
<html>
<head>
<title> MantisBT Administration - Installation </title>
<link rel="stylesheet" type="text/css" href="admin.css" />
Expand Down Expand Up @@ -377,6 +378,7 @@ function InsertData( $p_table, $p_data ) {
print_test_result(( '' == $t_error ) && ( '' == $t_warning ), ( '' != $t_error ), $t_error . ' ' . $t_warning );
?>
</tr>
</table>
<?php
}
if( false == $g_failed ) {
Expand Down Expand Up @@ -777,7 +779,7 @@ function InsertData( $p_table, $p_data ) {
if( $f_log_queries ) {
# add a query to set the database version
echo 'INSERT INTO ' . db_get_table( 'config' ) . ' ( value, type, access_reqd, config_id, project_id, user_id ) VALUES (\'' . $lastid . '\', 1, 90, \'database_version\', 0, 0 );' . "\r\n";
echo '</pre></br /><p style="color:red">Your database has not been created yet. Please create the database, then install the tables and data using the information above before proceeding.</td></tr>';
echo '</pre><br /><p style="color:red">Your database has not been created yet. Please create the database, then install the tables and data using the information above before proceeding.</p></td></tr>';
}
}
if( false == $g_failed ) {
Expand Down

0 comments on commit eca0321

Please sign in to comment.