Fixed the behaviour for the ShowTooltip configuration directive in the navigation
This commit is contained in:
parent
49d2d6f5fb
commit
10ffbc918a
@ -844,9 +844,11 @@ class PMA_NavigationTree
|
||||
$retval .= htmlspecialchars($node->name);
|
||||
$retval .= "</a>";
|
||||
} else {
|
||||
$title = $node->getComment();
|
||||
if ($title) {
|
||||
$title = " title='" . htmlentities($title, ENT_QUOTES) . "'";
|
||||
if ($GLOBALS['cfg']['ShowTooltip']) {
|
||||
$title = $node->getComment();
|
||||
if ($title) {
|
||||
$title = " title='" . htmlentities($title, ENT_QUOTES) . "'";
|
||||
}
|
||||
}
|
||||
$retval .= "<a$linkClass$title href='$link'>";
|
||||
$retval .= htmlspecialchars($node->real_name);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user