commit
1f0dbc698c
@ -1147,6 +1147,7 @@ function showModulesExludedForExternal($modules)
|
|||||||
$text=$langs->trans("OnlyFollowingModulesAreOpenedToExternalUsers");
|
$text=$langs->trans("OnlyFollowingModulesAreOpenedToExternalUsers");
|
||||||
$listofmodules=explode(',',$conf->global->MAIN_MODULES_FOR_EXTERNAL);
|
$listofmodules=explode(',',$conf->global->MAIN_MODULES_FOR_EXTERNAL);
|
||||||
$i=0;
|
$i=0;
|
||||||
|
if (!empty($modules)) {
|
||||||
foreach($modules as $module)
|
foreach($modules as $module)
|
||||||
{
|
{
|
||||||
$moduleconst=$module->const_name;
|
$moduleconst=$module->const_name;
|
||||||
@ -1161,6 +1162,7 @@ function showModulesExludedForExternal($modules)
|
|||||||
$i++;
|
$i++;
|
||||||
$text .= $langs->trans('Module'.$module->numero.'Name');
|
$text .= $langs->trans('Module'.$module->numero.'Name');
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return img_picto($langs->trans('InfoAdmin'), 'star').' '.$text;
|
return img_picto($langs->trans('InfoAdmin'), 'star').' '.$text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user