diff --git a/ChangeLog b/ChangeLog index 76e11df164..b3c056515a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,7 @@ phpMyAdmin - ChangeLog - bug Undefined index central_columnswork - bug #4697 Server Status refresh not behaving as expected - bug Null argument in array_multisort() +- bug #4699 Navigation panel should not hide icons based on 'TableNavigationLinksMode' 4.3.6.0 (2015-01-07) - bug Undefined index notices while configuring recent and favorite tables diff --git a/libraries/navigation/NavigationTree.class.php b/libraries/navigation/NavigationTree.class.php index 1b9ae22c61..2dd06e6114 100644 --- a/libraries/navigation/NavigationTree.class.php +++ b/libraries/navigation/NavigationTree.class.php @@ -693,12 +693,9 @@ class PMA_NavigationTree ); $groups[$key]->separator = $node->separator; $groups[$key]->separator_depth = $node->separator_depth - 1; - $groups[$key]->icon = ''; - if (PMA_Util::showIcons('TableNavigationLinksMode')) { - $groups[$key]->icon = PMA_Util::getImage( - 'b_group.png' - ); - } + $groups[$key]->icon = PMA_Util::getImage( + 'b_group.png' + ); $groups[$key]->pos2 = $node->pos2; $groups[$key]->pos3 = $node->pos3; if ($node instanceof Node_Table_Container @@ -1025,25 +1022,25 @@ class PMA_NavigationTree if ($node->type == Node::CONTAINER) { $retval .= ""; } - if (PMA_Util::showIcons('TableNavigationLinksMode')) { - $retval .= "
"; - if (isset($node->links['icon'])) { - $args = array(); - foreach ($node->parents(true) as $parent) { - $args[] = urlencode($parent->real_name); - } - $link = vsprintf($node->links['icon'], $args); - if ($linkClass != '') { - $retval .= ""; - $retval .= "{$node->icon}"; - } else { - $retval .= "{$node->icon}"; - } - } else { - $retval .= "{$node->icon}"; + + $retval .= "
"; + if (isset($node->links['icon'])) { + $args = array(); + foreach ($node->parents(true) as $parent) { + $args[] = urlencode($parent->real_name); } - $retval .= "
"; + $link = vsprintf($node->links['icon'], $args); + if ($linkClass != '') { + $retval .= ""; + $retval .= "{$node->icon}"; + } else { + $retval .= "{$node->icon}"; + } + } else { + $retval .= "{$node->icon}"; } + $retval .= "
"; + if (isset($node->links['text'])) { $args = array(); foreach ($node->parents(true) as $parent) {