NEW translation for member type
usefull for sync with API and multilanguage front end or application
This commit is contained in:
parent
41a2a25729
commit
c8bfd2c7c2
@ -128,6 +128,15 @@ function member_type_prepare_head(AdherentType $object)
|
|||||||
$head[$h][2] = 'card';
|
$head[$h][2] = 'card';
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
|
// Multilangs
|
||||||
|
if (! empty($conf->global->MAIN_MULTILANGS))
|
||||||
|
{
|
||||||
|
$head[$h][0] = DOL_URL_ROOT."/adherents/traduction.php?rowid=".$object->id;
|
||||||
|
$head[$h][1] = $langs->trans("Translation");
|
||||||
|
$head[$h][2] = 'translation';
|
||||||
|
$h++;
|
||||||
|
}
|
||||||
|
|
||||||
if ((! empty($conf->ldap->enabled) && ! empty($conf->global->LDAP_MEMBER_TYPE_ACTIVE))
|
if ((! empty($conf->ldap->enabled) && ! empty($conf->global->LDAP_MEMBER_TYPE_ACTIVE))
|
||||||
&& (empty($conf->global->MAIN_DISABLE_LDAP_TAB) || ! empty($user->admin)))
|
&& (empty($conf->global->MAIN_DISABLE_LDAP_TAB) || ! empty($user->admin)))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user