Add list of disabled modules in login info

This commit is contained in:
Laurent Destailleur 2008-12-02 14:22:21 +00:00
parent da2a195e5c
commit ce89518810
3 changed files with 4 additions and 1 deletions

View File

@ -456,6 +456,7 @@ ThisLimitIsDefinedInSetup=Dolibarr limit (Menu home-setup-security): %s Kb, PHP
NoFileFound=No documents saved in this directory
CurrentUserLanguage=Current language
CurrentTheme=Current theme
DisabledModules=Disabled modules
For=For
ForCustomer=For customer
Signature=Signature

View File

@ -457,6 +457,7 @@ ThisLimitIsDefinedInSetup=Limite Dolibarr (Menu accueil-configuration-s
NoFileFound=Pas de documents stockés dans cette rubrique
CurrentUserLanguage=Langue utilisateur actuelle
CurrentTheme=Theme courant
DisabledModules=Modules désactivés
For=Pour
ForCustomer=Pour le client
Signature=Sign

View File

@ -975,7 +975,8 @@ function top_menu($head, $title='', $target='')
$htmltext.='<br><b>'.$langs->trans("AuthenticationMode").'</b>: '.$_SESSION["dol_authmode"];
$htmltext.='<br><b>'.$langs->trans("CurrentTheme").'</b>: '.$conf->theme;
$htmltext.='<br><b>'.$langs->trans("CurrentUserLanguage").'</b>: '.$langs->getDefaultLang();
if (! empty($_SESSION["disablemodules"])) $htmltext.='<br><b>'.$langs->trans("DisabledModules").'</b>: <br>'.join('<br>',split(',',$_SESSION["disablemodules"]));
$html=new Form($db);
print $html->textwithtooltip('',$htmltext,2,1,$text);