Trad: Traduction fiche LDAP

This commit is contained in:
Laurent Destailleur 2006-11-19 05:05:11 +00:00
parent f58cabb566
commit 65c9b0e076
3 changed files with 22 additions and 9 deletions

View File

@ -0,0 +1,10 @@
# Dolibarr language file - en_US - ldap
DomainPassword=Password for domain
UserMustChangePassNextLogon=User must change its password to next connexion
LdapUacf_NORMAL_ACCOUNT=User account
LdapUacf_DONT_EXPIRE_PASSWORD=Password never expires
LdapUacf_ACCOUNTDISABLE=Account is disabled on this domain
LDAPInformationsForThisContact=Informations in LDAP database for this contact
LDAPInformationsForThisUser=Informations in LDAP database for this user
LDAPAttribute=Attribute
LDAPCard=LDAP card

View File

@ -7,3 +7,4 @@ LdapUacf_ACCOUNTDISABLE=Le compte est d
LDAPInformationsForThisContact=Informations en base LDAP pour ce contact
LDAPInformationsForThisUser=Informations en base LDAP pour cet utilisateur
LDAPAttribute=Attribut
LDAPCard=Fiche LDAP

View File

@ -36,10 +36,20 @@ function contact_prepare_head($contrat)
$head = array();
$head[$h][0] = DOL_URL_ROOT.'/contact/fiche.php?id='.$_GET["id"];
$head[$h][1] = $langs->trans("General");
$head[$h][1] = $langs->trans("Card");
$head[$h][2] = 'general';
$h++;
if ($conf->ldap->enabled && $conf->global->LDAP_CONTACT_ACTIVE)
{
$langs->load("ldap");
$head[$h][0] = DOL_URL_ROOT.'/contact/ldap.php?id='.$_GET["id"];
$head[$h][1] = $langs->trans("LDAPCard");
$head[$h][2] = 'ldap';
$h++;
}
$head[$h][0] = DOL_URL_ROOT.'/contact/perso.php?id='.$_GET["id"];
$head[$h][1] = $langs->trans("PersonalInformations");
$head[$h][2] = 'perso';
@ -50,14 +60,6 @@ function contact_prepare_head($contrat)
$head[$h][2] = 'exportimport';
$h++;
if ($conf->ldap->enabled && $conf->global->LDAP_CONTACT_ACTIVE)
{
$head[$h][0] = DOL_URL_ROOT.'/contact/ldap.php?id='.$_GET["id"];
$head[$h][1] = $langs->trans("LDAP");
$head[$h][2] = 'ldap';
$h++;
}
$head[$h][0] = DOL_URL_ROOT.'/contact/info.php?id='.$_GET["id"];
$head[$h][1] = $langs->trans("Info");
$head[$h][2] = 'info';