diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 217807ad044..9d2fdc5fe1f 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -1658,9 +1658,11 @@ function top_menu($head, $title = '', $target = '', $disablejs = 0, $disablehead $mode = ''; $helpresent = ''; - if (empty($helppagename)) $helppagename = 'EN:User_documentation|FR:Documentation_utilisateur|ES:Documentación_usuarios'; - else - $helpresent = 'style="color:yellow !important"'; + if (empty($helppagename)) { + $helppagename = 'EN:User_documentation|FR:Documentation_utilisateur|ES:Documentación_usuarios'; + } else { + $helpresent = 'helppresent'; + } // Get helpbaseurl, helppage and mode from helppagename and langs $arrayres = getHelpParamFor($helppagename, $langs); @@ -1678,7 +1680,7 @@ function top_menu($head, $title = '', $target = '', $disablejs = 0, $disablehead if ($mode == 'wiki') $text .= sprintf($helpbaseurl, urlencode(html_entity_decode($helppage))); else $text .= sprintf($helpbaseurl, $helppage); $text .= '">'; - $text .= ''; + $text .= ''; $text .= ''; $toprightmenu .= @Form::textwithtooltip('', $title, 2, 1, $text, 'login_block_elem', 2); }