diff --git a/ChangeLog b/ChangeLog index a338c8a82..99a377ce1 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2004-06-03 Alexander M. Turek + * header.inc.php: Undefined variable. + 2004-06-03 Michal Čihař * db_details_links.php, header.inc.php, server_links.inc.php, tbl_properties_links.php, css/phpmyadmin.css.php: Use classes for diff --git a/header.inc.php b/header.inc.php index 2529c8118..2768e5dd9 100644 --- a/header.inc.php +++ b/header.inc.php @@ -41,7 +41,7 @@ if (empty($GLOBALS['is_header_sent'])) { */ $title = ''; if ($cfg['ShowHttpHostTitle']) { - $title .= (empty($cfg['SetHttpHostTitle']) ? $HTTP_HOST : $cfg['SetHttpHostTitle']) . ' >> '; + $title .= (empty($cfg['SetHttpHostTitle']) ? $GLOBALS['HTTP_HOST'] : $cfg['SetHttpHostTitle']) . ' >> '; } if (!empty($GLOBALS['cfg']['Server']) && isset($GLOBALS['cfg']['Server']['host'])) { $title.=str_replace('\'', '\\\'', $GLOBALS['cfg']['Server']['host']); @@ -162,7 +162,7 @@ if (empty($GLOBALS['is_header_sent'])) { ) ); echo '
' . $GLOBALS['strServer'] . ":\n" - . '' + . '' . htmlspecialchars($server_info) . '' . "\n" . '
' . "\n\n"; @@ -171,10 +171,10 @@ if (empty($GLOBALS['is_header_sent'])) { . '' . htmlspecialchars($GLOBALS['db']) . '' . "\n" . '' . "\n\n"; - + if (!empty($GLOBALS['table'])) { echo '
' . $GLOBALS['strTable'] . ":\n" - . '' + . '' . htmlspecialchars($GLOBALS['table']) . '' . "\n" . '
' . "\n\n"; }