Ajout: possibilté de désactiver la synchro des contacts sur LDAP

This commit is contained in:
Regis Houssin 2005-07-11 10:36:03 +00:00
parent fc0f706fe1
commit 7dbccbdace

View File

@ -179,7 +179,7 @@ print "</tr>\n";
} }
if (defined("LDAP_CONTACT_ACTIVE") && LDAP_CONTACT_ACTIVE) if (defined("LDAP_CONTACT_ACTIVE") && LDAP_CONTACT_ACTIVE)
{ {
print '<tr><td>'.$langs->trans("DNContactActive").'</td><td>'.LDAP_CONTACT_ACTIVE.'</td></tr>'; print '<tr><td>'.$langs->trans("DNContactActive").'</td><td>'.$langs->trans("DNContactActiveYes").'</td></tr>';
} }
else else
{ {
@ -187,7 +187,7 @@ print "</tr>\n";
} }
if (defined("LDAP_CONTACT_DN") && LDAP_CONTACT_DN) if (defined("LDAP_CONTACT_DN") && LDAP_CONTACT_DN)
{ {
print '<tr><td>'.$langs->trans("DNContact").'</td><td>'.$langs->trans("DNContactActiveYes").'</td></tr>'; print '<tr><td>'.$langs->trans("DNContact").'</td><td>'.LDAP_CONTACT_DN.'</td></tr>';
} }
else else
{ {