diff --git a/ChangeLog b/ChangeLog
index 8ced7db55b..69ac90ee46 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -51,6 +51,7 @@ phpMyAdmin - ChangeLog
- bug #3356456 [interface] Interface problems for queries having LIMIT clauses
3.4.7.0 (not yet released)
+- bug #3418610 [interface] Links in navigation when $cfg['MainPageIconic'] = false
3.4.6.0 (not yet released)
- patch #3404173 InnoDB comment display with tooltips/aliases
diff --git a/libraries/navigation_header.inc.php b/libraries/navigation_header.inc.php
index a821a63a71..6e5ecf24f0 100644
--- a/libraries/navigation_header.inc.php
+++ b/libraries/navigation_header.inc.php
@@ -92,15 +92,27 @@ if ($GLOBALS['cfg']['LeftDisplayLogo']) {
if ($GLOBALS['cfg']['MainPageIconic']) {
echo PMA_getImage('b_docs.png', __('phpMyAdmin documentation'));
+ } else {
+ echo '
' . __('phpMyAdmin documentation');
}
echo '';
- echo ' ' . PMA_showMySQLDocu('', '', true) . "\n";
+
+ $documentation_link = PMA_showMySQLDocu('', '', true);
+ if ($GLOBALS['cfg']['MainPageIconic']) {
+ echo $documentation_link . "\n";
+ } else {
+ preg_match('/]*>/', $documentation_link, $matches);
+ $link = $matches[0];
+ echo substr($link, 0, strlen($link) - 1) . ' title="' . __('Documentation') . '" >'
+ . '
' . __('Documentation') . '';
+ }
$params = array('uniqid' => uniqid());
if (!empty($GLOBALS['db'])) {
$params['db'] = $GLOBALS['db'];
}
- echo '';
+ echo '';
if ($GLOBALS['cfg']['MainPageIconic']) {
echo PMA_getImage('s_reload', __('Reload navigation frame'));
} else {