From 86efec66f7428c38ac424c0b791e5b4bd710a702 Mon Sep 17 00:00:00 2001 From: Mike Beck Date: Wed, 24 Jul 2002 14:08:28 +0000 Subject: [PATCH] change by Loic: XHTML compliance --- libraries/common.lib.php3 | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/libraries/common.lib.php3 b/libraries/common.lib.php3 index 6827cf01c..094c99bf4 100644 --- a/libraries/common.lib.php3 +++ b/libraries/common.lib.php3 @@ -79,7 +79,7 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){ /** * Parses the configuration file and gets some constants used to define * versions of phpMyAdmin/php/mysql... - */ + */ $old_error_reporting = error_reporting(0); include($cfgfile_to_load); // Include failed @@ -408,7 +408,8 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold} . '' . $GLOBALS['strEdit'] . '' . ']' . "\n"; } // end if - echo '

' . "\n" + echo '

' . "\n" + . '

' . "\n" . ' ' . ($cfg['UseSyntaxColoring'] ? PMA_format_sql($query_base) : $query_base) . "\n" . '

' . "\n"; } // end if @@ -416,10 +417,12 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold} $error_message = htmlspecialchars($error_message); $error_message = ereg_replace("((\015\012)|(\015)|(\012)){3,}", "\n\n", $error_message); } - echo '

' . "\n"; - echo ' ' . $GLOBALS['strMySQLSaid'] . '
' . "\n"; - echo '

' . "\n" . $error_message . "\n" . '
' . "\n"; - echo '

' . "\n"; + echo '

' . "\n" + . ' ' . $GLOBALS['strMySQLSaid'] . '
' . "\n" + . '

' . "\n"; + echo '
' . "\n"
+             . $error_message . "\n"
+             . '
' . "\n"; if (!empty($back_url)) { echo '' . $GLOBALS['strBack'] . ''; }