diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 358db46a2be..7c75f9d5360 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -1068,7 +1068,7 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a $menutop = new MenuTop($db); $menutop->atarget=$target; $menutop->showmenu(); - + print "\n\n"; // Link to login card @@ -1102,7 +1102,7 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a $loginhtmltext.='
'.$langs->trans("CurrentUserLanguage").': '.($s?$s.' ':'').$langs->getDefaultLang(); $loginhtmltext.='
'.$langs->trans("Browser").': '.$conf->browser->name.' ('.$_SERVER['HTTP_USER_AGENT'].')'; if (! empty($conf->browser->phone)) $loginhtmltext.='
'.$langs->trans("Phone").': '.$conf->browser->phone; - if (! empty($_SESSION["disablemodules"])) $loginhtmltext.='
'.$langs->trans("DisabledModules").':
'.join('
',explode(',',$_SESSION["disablemodules"])); + if (! empty($_SESSION["disablemodules"])) $loginhtmltext.='
'.$langs->trans("DisabledModules").':
'.join(', ',explode(',',$_SESSION["disablemodules"])); // Link info $logouthtmltext=''; $logouttext=''; @@ -1125,12 +1125,12 @@ function top_menu($head, $title='', $target='', $disablejs=0, $disablehead=0, $a $logouttext.=' alt="'.dol_escape_htmltag($langs->trans("Logout")).'" title=""'; $logouttext.='>'; } - + print '
'."\n"; print ''; - + print $html->textwithtooltip('',$loginhtmltext,2,1,$logintext,'',1); - + // Select entity if (! empty($conf->global->MAIN_MODULE_MULTICOMPANY)) {