private function _controls()
{
// always iconic
$showIcon = true;
$showText = false;
$retval = '<!-- CONTROLS START -->';
$retval .= '<li id="navigation_controls_outer">';
$retval .= '<div id="navigation_controls">';
$retval .= Util::getNavigationLink('#', $showText, __('Collapse all'), $showIcon, 's_collapseall.png', 'pma_navigation_collapse');
$syncImage = 's_unlink.png';
$title = __('Link with main panel');
if ($GLOBALS['cfg']['NavigationLinkWithMainPanel']) {
$syncImage = 's_link.png';
$title = __('Unlink from main panel');
}
$retval .= Util::getNavigationLink('#', $showText, $title, $showIcon, $syncImage, 'pma_navigation_sync');
$retval .= '</div>';
$retval .= '</li>';
$retval .= '<!-- CONTROLS ENDS -->';
return $retval;
}