Patch #531864 - display something in title when no db
This commit is contained in:
@@ -10,6 +10,8 @@ $Source$
|
|||||||
multiple tables if the "onsubmit" event is handled by the browser.
|
multiple tables if the "onsubmit" event is handled by the browser.
|
||||||
* mult_submits.inc.php3: removed the confirmation stage for "OPTIMIZE"
|
* mult_submits.inc.php3: removed the confirmation stage for "OPTIMIZE"
|
||||||
statements.
|
statements.
|
||||||
|
* header.inc.php3, line 89: patch #531864 - display something in title when
|
||||||
|
no db thanks to Michal Cihar.
|
||||||
|
|
||||||
2002-03-20 Marc Delisle <lem9@users.sourceforge.net>
|
2002-03-20 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* lang/*, removed $strSequence
|
* lang/*, removed $strSequence
|
||||||
|
@@ -86,7 +86,7 @@ if (isset($table)) {
|
|||||||
$title .= (empty($title) ? '' : '.') . str_replace('\'', '\\\'', $table);
|
$title .= (empty($title) ? '' : '.') . str_replace('\'', '\\\'', $table);
|
||||||
}
|
}
|
||||||
if (!empty($cfgServer) && isset($cfgServer['host'])) {
|
if (!empty($cfgServer) && isset($cfgServer['host'])) {
|
||||||
$title .= (empty($title) ? '' : ' ')
|
$title .= (empty($title) ? 'phpMyAdmin ' : ' ')
|
||||||
. sprintf($strRunning, (empty($cfgServer['verbose']) ? str_replace('\'', '\\\'', $cfgServer['host']) : str_replace('\'', '\\\'', $cfgServer['verbose'])));
|
. sprintf($strRunning, (empty($cfgServer['verbose']) ? str_replace('\'', '\\\'', $cfgServer['host']) : str_replace('\'', '\\\'', $cfgServer['verbose'])));
|
||||||
}
|
}
|
||||||
$title .= (empty($title) ? '' : ' - ') . 'phpMyAdmin ' . PMA_VERSION;
|
$title .= (empty($title) ? '' : ' - ') . 'phpMyAdmin ' . PMA_VERSION;
|
||||||
|
Reference in New Issue
Block a user