Fix: on met le code pays au lieu du nom

This commit is contained in:
Regis Houssin 2007-05-30 12:16:44 +00:00
parent b2b82f524d
commit f8eb583f85
3 changed files with 3 additions and 3 deletions

View File

@ -255,7 +255,7 @@ class Contact
if ($this->address && $conf->global->LDAP_FIELD_ADDRESS) $info[$conf->global->LDAP_FIELD_ADDRESS] = $this->address;
if ($this->cp && $conf->global->LDAP_FIELD_ZIP) $info[$conf->global->LDAP_FIELD_ZIP] = $this->cp;
if ($this->ville && $conf->global->LDAP_FIELD_TOWN) $info[$conf->global->LDAP_FIELD_TOWN] = $this->ville;
if ($this->pays && $conf->global->LDAP_FIELD_COUNTRY) $info[$conf->global->LDAP_FIELD_COUNTRY] = $this->pays;
if ($this->pays && $conf->global->LDAP_FIELD_COUNTRY) $info[$conf->global->LDAP_FIELD_COUNTRY] = $this->pays_code;
if ($this->phone_pro && $conf->global->LDAP_FIELD_PHONE) $info[$conf->global->LDAP_FIELD_PHONE] = $this->phone_pro;
if ($this->phone_perso && $conf->global->LDAP_FIELD_HOMEPHONE) $info[$conf->global->LDAP_FIELD_HOMEPHONE] = $this->phone_perso;
if ($this->phone_mobile && $conf->global->LDAP_FIELD_MOBILE) $info[$conf->global->LDAP_FIELD_MOBILE] = $this->phone_mobile;

View File

@ -635,7 +635,7 @@ LDAPFieldZipExample=Example : postalcode
LDAPFieldTown=Town
LDAPFieldTownExample=Example : l
LDAPFieldCountry=Country
LDAPFieldCountryExample=Example : co
LDAPFieldCountryExample=Example : c
LDAPFieldDescription=Description
LDAPFieldDescriptionExample=Example : description
LDAPFieldBirthdate=Birthdate

View File

@ -642,7 +642,7 @@ LDAPFieldZipExample=Exemple : postalcode
LDAPFieldTown=Ville
LDAPFieldTownExample=Exemple : l
LDAPFieldCountry=Pays
LDAPFieldCountryExample=Exemple : co
LDAPFieldCountryExample=Exemple : c
LDAPFieldDescription=Description
LDAPFieldDescriptionExample=Exemple : description
LDAPFieldBirthdate=Date de naissance