From 02b5d6f07e90e43781b8474b0cbc0807be1bbcf7 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Sun, 28 Apr 2002 08:50:57 +0000 Subject: [PATCH] Limitations --- header.inc.php3 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/header.inc.php3 b/header.inc.php3 index 8b2ef45f2..c0d699852 100755 --- a/header.inc.php3 +++ b/header.inc.php3 @@ -167,7 +167,13 @@ if (isset($db)) { if (!empty($table)) { echo ' - ' . $strTable . ' ' . htmlspecialchars($table) . '' . "\n"; } - echo ' ' . sprintf($strRunning, ' ' . (($cfg['Server']['verbose']) ? $cfg['Server']['verbose'] : $cfg['Server']['host']) . '') . "\n"; + echo ' '; + // todo: Limitate this feature on superusers. + if (PMA_MYSQL_INT_VERSION >= 32303) { + echo sprintf($strRunning, ' ' . (($cfg['Server']['verbose']) ? $cfg['Server']['verbose'] : $cfg['Server']['host']) . '') . "\n"; + } else { + echo sprintf($strRunning, ' ' . (($cfg['Server']['verbose']) ? $cfg['Server']['verbose'] : $cfg['Server']['host']) . '') . "\n"; + } echo '' . "\n"; } echo "\n";