Query window: use verbose server name if any
This commit is contained in:
@@ -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)
|
||||
|
||||
|
@@ -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'];
|
||||
|
Reference in New Issue
Block a user