From a4e95ef78a919d126f5921a6f33cd64d69f4baf8 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Mon, 5 Jul 2004 14:03:08 +0000 Subject: [PATCH] bug 965594 --- ChangeLog | 1 + header.inc.php | 41 +++-------------------------------------- 2 files changed, 4 insertions(+), 38 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6b1beea52..152f006f7 100755 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,7 @@ $Source$ selection in left frame under Opera, and problems with dropdown in left frame when many databases are there (original theme), thanks to Michael Keck + * header.inc.php: bug 965594: spaces after colons, and remove old code 2004-07-02 Marc Delisle * main.php: put Create button on the same line as the input field diff --git a/header.inc.php b/header.inc.php index de85d8718..6b2c520d9 100644 --- a/header.inc.php +++ b/header.inc.php @@ -150,42 +150,7 @@ if (empty($GLOBALS['is_header_sent'])) { /** * Display heading if needed. Design can be set in css file. */ -/* - // InternetExplorer have problems to show content with style called 'content:' - // and IE swaps images, of mouse over an icon - // some other Browsers have Problem with the div class="spacer" - // the show of icons is now based on param 'MainPageIconic' - if (PMA_DISPLAY_HEADING) { - echo "

\n\n"; - $header_url_qry = '?' . PMA_generate_common_url(); - $server_info = (!empty($cfg['Server']['verbose']) - ? $cfg['Server']['verbose'] - : $server_info = $cfg['Server']['host'] . (empty($cfg['Server']['port']) - ? '' - : ':' . $cfg['Server']['port'] - ) - ); - echo '' . $GLOBALS['strServer'] . ":\n" - . '' - . htmlspecialchars($server_info) . '' . "\n" - . '' . "\n\n"; - if (!empty($GLOBALS['db'])) { - echo '' . $GLOBALS['strDatabase'] . ":\n" - . '' - . htmlspecialchars($GLOBALS['db']) . '' . "\n" - . '' . "\n\n"; - - if (!empty($GLOBALS['table'])) { - echo '' . $GLOBALS['strTable'] . ":\n" - . '' - . htmlspecialchars($GLOBALS['table']) . '' . "\n" - . '' . "\n\n"; - } - } - echo '

'; - } -*/ if (PMA_DISPLAY_HEADING) { echo '' . "\n" . ' ' . "\n"; @@ -198,7 +163,7 @@ if (empty($GLOBALS['is_header_sent'])) { ) ); echo ' ' - . '' . "\n" . ' ' - . '' . "\n" . ' ' - . '
' . $GLOBALS['strServer'] . ':' + . '' . $GLOBALS['strServer'] . ': ' . ''; if ($GLOBALS['cfg']['MainPageIconic']) { echo '' . htmlspecialchars($server_info) . ''; @@ -209,7 +174,7 @@ if (empty($GLOBALS['is_header_sent'])) { if (!empty($GLOBALS['db'])) { echo ' ' . '
' . $GLOBALS['strDatabase'] . ':' + . '' . $GLOBALS['strDatabase'] . ': ' . ''; if ($GLOBALS['cfg']['MainPageIconic']) { echo '' . htmlspecialchars($GLOBALS['db']) . ''; @@ -220,7 +185,7 @@ if (empty($GLOBALS['is_header_sent'])) { if (!empty($GLOBALS['table'])) { echo ' ' . '
' . $GLOBALS['strTable'] . ':' + . '' . $GLOBALS['strTable'] . ': ' . ''; if ($GLOBALS['cfg']['MainPageIconic']) { echo '' . htmlspecialchars($GLOBALS['table']) . '';