Remove unused code.
This commit is contained in:
@@ -51,6 +51,7 @@ $Source$
|
||||
* lang/*: Added missing $strInvalidServerHostname.
|
||||
* libraries/auth/cookie.auth.lib.php: Move error message on top of page.
|
||||
* lang/swedish: Update, thanks to Bjorn T. Hallberg - bjornth.
|
||||
* header.inc.php: Remove unused code.
|
||||
|
||||
2005-11-22 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||
* added test/theme.php: for testing themes
|
||||
|
@@ -24,23 +24,8 @@ if (empty($GLOBALS['is_header_sent'])) {
|
||||
|
||||
require_once('./libraries/header_http.inc.php');
|
||||
require_once('./libraries/header_meta_style.inc.php');
|
||||
/* replaced 2004-05-05 by Michael Keck (mkkeck)
|
||||
$title = '';
|
||||
if (isset($GLOBALS['db'])) {
|
||||
$title .= str_replace('\'', '\\\'', $GLOBALS['db']);
|
||||
}
|
||||
if (isset($GLOBALS['table'])) {
|
||||
$title .= (empty($title) ? '' : '.') . str_replace('\'', '\\\'', $GLOBALS['table']);
|
||||
}
|
||||
if (!empty($GLOBALS['cfg']['Server']) && isset($GLOBALS['cfg']['Server']['host'])) {
|
||||
$title .= (empty($title) ? 'phpMyAdmin ' : ' ')
|
||||
. sprintf($GLOBALS['strRunning'], (empty($GLOBALS['cfg']['Server']['verbose']) ? str_replace('\'', '\\\'', $GLOBALS['cfg']['Server']['host']) : str_replace('\'', '\\\'', $GLOBALS['cfg']['Server']['verbose'])));
|
||||
}
|
||||
$title .= (empty($title) ? '' : ' - ') . 'phpMyAdmin ' . PMA_VERSION;
|
||||
*/
|
||||
/* the new one
|
||||
* 2004-05-05: replaced by Michael Keck (mkkeck)
|
||||
*/
|
||||
|
||||
// generate title
|
||||
$title = '';
|
||||
if ($cfg['ShowHttpHostTitle']) {
|
||||
$title .= (empty($GLOBALS['cfg']['SetHttpHostTitle']) && isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : $GLOBALS['cfg']['SetHttpHostTitle']) . ' / ';
|
||||
|
Reference in New Issue
Block a user