New: possibility to disabled combobox of entity in login page
This commit is contained in:
parent
b523ab815a
commit
455e69f0d9
@ -204,7 +204,7 @@ function dol_loginfunction($langs,$conf,$mysoc)
|
||||
|
||||
// Entity field
|
||||
$select_entity='';
|
||||
if (! empty($conf->global->MAIN_MODULE_MULTICOMPANY))
|
||||
if (! empty($conf->global->MAIN_MODULE_MULTICOMPANY) && empty($conf->global->MULTICOMPANY_HIDE_LOGIN_COMBOBOX))
|
||||
{
|
||||
$rowspan++;
|
||||
|
||||
|
||||
@ -209,7 +209,7 @@ elseif (is_readable(DOL_DOCUMENT_ROOT.'/theme/dolibarr_logo.png'))
|
||||
|
||||
// Entity combobox
|
||||
$select_entity='';
|
||||
if (! empty($conf->global->MAIN_MODULE_MULTICOMPANY) && ! $disabled)
|
||||
if (! empty($conf->global->MAIN_MODULE_MULTICOMPANY) && empty($conf->global->MULTICOMPANY_HIDE_LOGIN_COMBOBOX) && ! $disabled)
|
||||
{
|
||||
$rowspan++;
|
||||
$lastuser='';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user