Simplified title generating.
This commit is contained in:
@@ -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 <lem9@users.sourceforge.net>
|
||||
* db_details_structure.php: bug #951143, undefined $header_url_qry
|
||||
|
@@ -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']) . ' >> ';
|
||||
}
|
||||
|
Reference in New Issue
Block a user