Undefined variable.
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2004-06-03 Alexander M. Turek <me@derrabus.de>
|
||||||
|
* header.inc.php: Undefined variable.
|
||||||
|
|
||||||
2004-06-03 Michal Čihař <michal@cihar.com>
|
2004-06-03 Michal Čihař <michal@cihar.com>
|
||||||
* db_details_links.php, header.inc.php, server_links.inc.php,
|
* db_details_links.php, header.inc.php, server_links.inc.php,
|
||||||
tbl_properties_links.php, css/phpmyadmin.css.php: Use classes for
|
tbl_properties_links.php, css/phpmyadmin.css.php: Use classes for
|
||||||
|
@@ -41,7 +41,7 @@ if (empty($GLOBALS['is_header_sent'])) {
|
|||||||
*/
|
*/
|
||||||
$title = '';
|
$title = '';
|
||||||
if ($cfg['ShowHttpHostTitle']) {
|
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'])) {
|
if (!empty($GLOBALS['cfg']['Server']) && isset($GLOBALS['cfg']['Server']['host'])) {
|
||||||
$title.=str_replace('\'', '\\\'', $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"
|
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"
|
. htmlspecialchars($server_info) . '</a>' . "\n"
|
||||||
. '</div>' . "\n\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']) . '">'
|
. '<a href="' . $GLOBALS['cfg']['DefaultTabDatabase'] . '?' . PMA_generate_common_url($GLOBALS['db']) . '">'
|
||||||
. htmlspecialchars($GLOBALS['db']) . '</a>' . "\n"
|
. htmlspecialchars($GLOBALS['db']) . '</a>' . "\n"
|
||||||
. '</div>' . "\n\n";
|
. '</div>' . "\n\n";
|
||||||
|
|
||||||
if (!empty($GLOBALS['table'])) {
|
if (!empty($GLOBALS['table'])) {
|
||||||
echo '<div class="table">' . $GLOBALS['strTable'] . ":\n"
|
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"
|
. htmlspecialchars($GLOBALS['table']) . '</a>' . "\n"
|
||||||
. '</div>' . "\n\n";
|
. '</div>' . "\n\n";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user