Query window: use verbose server name if any

This commit is contained in:
Marc Delisle
2007-06-02 14:36:01 +00:00
parent cb9853b236
commit a72fb8ff2b
2 changed files with 3 additions and 2 deletions

View File

@@ -65,6 +65,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
+ [lang] Brazilian-Portuguese update, thanks to Airon Luis Pereira
+ [gui] Insert/Edit: no longer display the Go button each 15 lines
but just at the end of a row
+ [gui] Query window: use verbose server name if any
2.10.2.0 (not yet released)

View File

@@ -221,8 +221,8 @@ function PMA_sqlQueryFormInsert($query = '', $is_querywindow = false, $delimiter
if (! strlen($GLOBALS['db'])) {
// prepare for server related
$legend = sprintf($GLOBALS['strRunSQLQueryOnServer'],
htmlspecialchars(
$GLOBALS['cfg']['Servers'][$GLOBALS['server']]['host']));
'"' . htmlspecialchars(
! empty($GLOBALS['cfg']['Servers'][$GLOBALS['server']]['verbose']) ? $GLOBALS['cfg']['Servers'][$GLOBALS['server']]['verbose'] : $GLOBALS['cfg']['Servers'][$GLOBALS['server']]['host']) . '"');
} elseif (! strlen($GLOBALS['table'])) {
// prepare for db related
$db = $GLOBALS['db'];