Undefined variable.

This commit is contained in:
Alexander M. Turek
2004-06-03 12:43:13 +00:00
parent 9dcfce8bb8
commit 14342bd2aa
2 changed files with 7 additions and 4 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2004-06-03 Alexander M. Turek <me@derrabus.de>
* header.inc.php: Undefined variable.
2004-06-03 Michal Čihař <michal@cihar.com>
* db_details_links.php, header.inc.php, server_links.inc.php,
tbl_properties_links.php, css/phpmyadmin.css.php: Use classes for

View File

@@ -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 '<div class="server">' . $GLOBALS['strServer'] . ":\n"
. '<a href="' . $GLOBALS['cfg']['DefaultTabServer'] . '?' . PMA_generate_common_url() . '">'
. '<a href="' . $GLOBALS['cfg']['DefaultTabServer'] . '?' . PMA_generate_common_url() . '">'
. htmlspecialchars($server_info) . '</a>' . "\n"
. '</div>' . "\n\n";
@@ -171,10 +171,10 @@ if (empty($GLOBALS['is_header_sent'])) {
. '<a href="' . $GLOBALS['cfg']['DefaultTabDatabase'] . '?' . PMA_generate_common_url($GLOBALS['db']) . '">'
. htmlspecialchars($GLOBALS['db']) . '</a>' . "\n"
. '</div>' . "\n\n";
if (!empty($GLOBALS['table'])) {
echo '<div class="table">' . $GLOBALS['strTable'] . ":\n"
. '<a href="' . $GLOBALS['cfg']['DefaultTabTable'] . '?' . PMA_generate_common_url($GLOBALS['db'], $GLOBALS['table']) . '">'
. '<a href="' . $GLOBALS['cfg']['DefaultTabTable'] . '?' . PMA_generate_common_url($GLOBALS['db'], $GLOBALS['table']) . '">'
. htmlspecialchars($GLOBALS['table']) . '</a>' . "\n"
. '</div>' . "\n\n";
}