From c6f46b6d52b7ce7dd02e69695083fe7cc53e0861 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 13 May 2004 15:52:41 +0000 Subject: [PATCH] Simplified title generating. --- ChangeLog | 1 + header.inc.php | 7 +------ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index ebb98f010..2881d2184 100755 --- a/ChangeLog +++ b/ChangeLog @@ -15,6 +15,7 @@ $Source$ record. * tbl_change.php, libraries/tbl_change.js: Uncheck Ignore checkbox for inserting when multiple inserts after changing value (RFE #749733). + * header.inc.php: Simplified title generating. 2004-05-12 Marc Delisle * db_details_structure.php: bug #951143, undefined $header_url_qry diff --git a/header.inc.php b/header.inc.php index 295016198..27fc427fc 100644 --- a/header.inc.php +++ b/header.inc.php @@ -39,12 +39,7 @@ if (empty($GLOBALS['is_header_sent'])) { /* the new one * 2004-05-05: replaced by Michael Keck (mkkeck) */ - $title = 'PMA | '; - if (!isset($cfg['SetHttpHostTitle']) || empty($cfg['SetHttpHostTitle'])){ - if (isset($HTTP_HOST)){ - $cfg['SetHttpHostTitle'] = $HTTP_HOST; - } - } + $title = ''; if ($cfg['ShowHttpHostTitle']) { $title .= (empty($cfg['SetHttpHostTitle']) ? $HTTP_HOST : $cfg['SetHttpHostTitle']) . ' >> '; }