diff --git a/queryframe.php b/queryframe.php index 18740b5d2..bfd7548f1 100644 --- a/queryframe.php +++ b/queryframe.php @@ -378,18 +378,18 @@ if ($num_dbs > 1) { $parent = $parts[0]; } if (count($parts) > 1 && $parent == $parts[0]) { - $db_disp = $parts[1]; + $db_disp = $cfg['LeftFrameDBSeparator'] . $parts[1]; } } if (!empty($num_tables)) { echo ' ' . '' . "\n"; + . ($db_tooltip != '' && $cfg['ShowTooltipAliasDB'] ? htmlspecialchars($db_tooltip) : htmlspecialchars($db_disp)) . ' (' . $num_tables . ')' . "\n"; } else { echo ' ' . '' . "\n"; + . ($db_tooltip != '' && $cfg['ShowTooltipAliasDB'] ? htmlspecialchars($db_tooltip) : htmlspecialchars($db_disp)) . ' (-)' . "\n"; } // end if... else... if ($cfg['LeftFrameDBTree']) {