diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php index 1151ef4abb9aa62c1e8dd710e06dd49b16b6ab25..91ab445654ff8cec2bde10bcb2e9296bfb97d075 100644 --- a/htdocs/admin/modules.php +++ b/htdocs/admin/modules.php @@ -304,7 +304,7 @@ $h++; print "<br>\n"; -dol_fiche_head($head, $mode, $langs->trans("Modules")); +dol_fiche_head($head, $mode, ''); $var=true; diff --git a/htdocs/index.php b/htdocs/index.php index 2a524d56078c1b4f597261b2560f671f5933992e..faa2eb9dcee7977a266b009cef8e22db1d15dbec 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -47,7 +47,11 @@ if (!isset($conf->global->MAIN_INFO_SOCIETE_NOM) || empty($conf->global->MAIN_IN header("Location: ".DOL_URL_ROOT."/admin/index.php?mainmenu=home&leftmenu=setup&mesg=setupnotcomplete"); exit; } - +if (count($conf->modules) <= (empty($conf->global->MAIN_MIN_NB_ENABLED_MODULE_FOR_WARNING)?1:$conf->global->MAIN_MIN_NB_ENABLED_MODULE_FOR_WARNING)) // If only user module enabled +{ + header("Location: ".DOL_URL_ROOT."/admin/index.php?mainmenu=home&leftmenu=setup&mesg=setupnotcomplete"); + exit; +} if (GETPOST('addbox')) // Add box (when submit is done from a form when ajax disabled) { require_once DOL_DOCUMENT_ROOT.'/core/class/infobox.class.php'; diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang index 8b2d46aedb3f4da056f5a77a7a116b672877e563..fa5ec94d067045bfccde6603432180e84e7aa77f 100644 --- a/htdocs/langs/en_US/admin.lang +++ b/htdocs/langs/en_US/admin.lang @@ -950,7 +950,7 @@ LogEventDesc=You can enable here the logging for Dolibarr security events. Admin AreaForAdminOnly=Those features can be used by <b>administrator users</b> only. SystemInfoDesc=System information is miscellaneous technical information you get in read only mode and visible for administrators only. SystemAreaForAdminOnly=This area is available for administrator users only. None of the Dolibarr permissions can reduce this limit. -CompanyFundationDesc=Edit on this page all known information of the company or foundation you need to manage (For this, click on "Modify" button at bottom of page) +CompanyFundationDesc=Edit on this page all known information of the company or foundation you need to manage (For this, click on "Modify" or "Save" button at bottom of page) DisplayDesc=You can choose each parameter related to the Dolibarr look and feel here AvailableModules=Available modules ToActivateModule=To activate modules, go on setup Area (Home->Setup->Modules).