bug #3384035 [display] Problems regarding ShowTooltipAliasTB

This commit is contained in:
Marc Delisle
2011-12-05 14:14:13 -05:00
parent d68c8bb8ed
commit b02f4eec07
3 changed files with 3 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ phpMyAdmin - ChangeLog
- bug #3442004 [interface] DB suggestion not correct for user with underscore
- bug #3438420 [core] Magic quotes removed in PHP 5.4
- bug #3398788 [session] No feedback when result is empty (signon auth_type)
- bug #3384035 [display] Problems regarding ShowTooltipAliasTB
3.4.8.0 (2011-12-01)
- bug #3425230 [interface] enum data split at space char (more space to edit)

View File

@@ -811,8 +811,8 @@ function PMA_getTableList($db, $tables = null, $limit_offset = 0, $limit_count =
if ($GLOBALS['cfg']['ShowTooltipAliasTB']
&& $GLOBALS['cfg']['ShowTooltipAliasTB'] !== 'nested') {
// switch tooltip and name
$table['Comment'] = $table['Name'];
$table['disp_name'] = $table['Comment'];
$table['Comment'] = $table['Name'];
} else {
$table['disp_name'] = $table['Name'];
}

View File

@@ -87,7 +87,7 @@ function PMA_fillTooltip(&$tooltip_truename, &$tooltip_aliasname, $table)
}
if ($GLOBALS['cfg']['ShowTooltipAliasTB']
&& $GLOBALS['cfg']['ShowTooltipAliasTB'] != 'nested') {
&& $GLOBALS['cfg']['ShowTooltipAliasTB'] !== 'nested') {
$tooltip_truename[$table['Name']] = $table['Comment'];
$tooltip_aliasname[$table['Name']] = $table['Name'];
} else {