diff --git a/public_html/includes/class/class.LSformRule_differentPassword.php b/public_html/includes/class/class.LSformRule_differentPassword.php
index b5f65e23..bfc3b120 100644
--- a/public_html/includes/class/class.LSformRule_differentPassword.php
+++ b/public_html/includes/class/class.LSformRule_differentPassword.php
@@ -102,5 +102,5 @@ LSerror :: defineError('LSformRule_differentPassword_04',
_("LSformRule_differentPassword : The other password attribute could not be the same of the current one.")
);
LSerror :: defineError('LSformRule_differentPassword_05',
-_("LSformRule_differentPassword : The other password attributes does not used LSattr_ldap :: password. It's not the case of the attribure %{attr}.")
+_("LSformRule_differentPassword : The other password attributes must use LSattr_ldap :: password. It's not the case of the attribure %{attr}.")
);
diff --git a/public_html/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.mo b/public_html/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.mo
index 2bc9eb2d..e16c7f7b 100644
Binary files a/public_html/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.mo and b/public_html/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.mo differ
diff --git a/public_html/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.po b/public_html/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.po
index 6a6b0447..45856dea 100644
--- a/public_html/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.po
+++ b/public_html/lang/fr_FR.UTF8/LC_MESSAGES/ldapsaisie.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: LdapSaisie\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: \n"
-"PO-Revision-Date: 2019-06-17 13:35+0200\n"
+"PO-Revision-Date: 2019-06-20 20:21+0200\n"
"Last-Translator: Benjamin Renard \n"
"Language-Team: LdapSaisie \n"
@@ -77,7 +77,7 @@ msgid "Import"
msgstr "Importer"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/view.php:156
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1417
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1422
#: /home/brenard/dev/ldapsaisie_clean3/public_html/global_search.php:36
msgid "Refresh"
msgstr "Rafraîchir"
@@ -87,8 +87,8 @@ msgid "Reset"
msgstr "Réinitialiser"
#: /home/brenard/dev/ldapsaisie_clean3/public_html/select.php:70
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1214
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2298
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1219
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2303
msgid "Level"
msgstr "Niveau"
@@ -129,7 +129,7 @@ msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/custom_search_action.php:73
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSconfirmBox.php:37
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsmoothbox.php:39
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1254
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1259
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:68
#: /home/brenard/dev/ldapsaisie_clean3/public_html/custom_action.php:83
#: /home/brenard/dev/ldapsaisie_clean3/public_html/remove.php:51
@@ -719,6 +719,44 @@ msgstr ""
"LSattr_html_select_objet : plus d'un objet retourné en correspondance à la "
"valeur %{val} de l'attribut %{attr}."
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformRule_differentPassword.php:93
+msgid ""
+"LSformRule_differentPassword : Other password attribute is not configured."
+msgstr ""
+"LSformRule_differentPassword : L'autre attribut mot de passe n'est pas "
+"configuré."
+
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformRule_differentPassword.php:96
+msgid ""
+"LSformRule_differentPassword : Fail to load LSattr_ldap :: password class."
+msgstr ""
+"LSformRule_differentPassword : Impossible de charger la classe "
+"LSattr_ldap :: password."
+
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformRule_differentPassword.php:99
+msgid ""
+"LSformRule_differentPassword : The other password attribute %{attr} does not "
+"exist."
+msgstr ""
+"LSformRule_differentPassword : L'autre attribut mot de passe %{attr} "
+"n'existe pas."
+
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformRule_differentPassword.php:102
+msgid ""
+"LSformRule_differentPassword : The other password attribute could not be the "
+"same of the current one."
+msgstr ""
+"LSformRule_differentPassword : L'autre attribut mot de passe ne peut être le "
+"même que l'attribut courant."
+
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformRule_differentPassword.php:105
+msgid ""
+"LSformRule_differentPassword : The other password attributes must use "
+"LSattr_ldap :: password. It's not the case of the attribure %{attr}."
+msgstr ""
+"LSformRule_differentPassword : Les autres attributs mots de passe doivent "
+"utiliser LSattr_ldap :: password. Ce n'est pas le cas de l'attribut %{attr}."
+
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSattribute.php:259
msgid "The value of field %{label} is invalid."
msgstr "La valeur du champ %{label} est incorrecte."
@@ -814,69 +852,69 @@ msgstr ""
msgid "Clear"
msgstr "Nettoyer"
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1194
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1199
msgid "Connection"
msgstr "Connexion"
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1204
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1243
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1209
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1248
msgid "LDAP server"
msgstr "Serveur LDAP"
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1215
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1253
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1220
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1258
msgid "Identifier"
msgstr "Identifiant"
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1216
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1221
msgid "Password"
msgstr "Mot de passe"
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1217
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1222
msgid "Connect"
msgstr "Se connecter"
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1218
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1223
msgid "Forgot your password ?"
msgstr "Mot de passe perdu ?"
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1236
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1241
msgid "Recovery of your credentials"
msgstr "Récupération de votre mot de passe"
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1255
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1260
msgid "Back"
msgstr "Retour"
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1258
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1263
msgid "Please fill the identifier field to proceed recovery procedure"
msgstr ""
"Merci d'entrer votre identifiant pour poursuivre la procédure de récupération"
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1263
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1268
msgid ""
"An email has been sent to %{mail}. Please follow the instructions on it."
msgstr ""
"Un e-mail vient de vous être envoyé à l'adresse %{mail}. Merci de suivre les "
"indications qu'il contient."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1272
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1277
msgid "Your new password has been sent to %{mail}. "
msgstr "Votre nouveau mot de passe vous a été envoyé à l'adresse %{mail}."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1433
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1438
msgid "Language"
msgstr "Langue"
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1455
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1460
msgid "Connected as"
msgstr "Connecté en tant que"
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2445
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2450
msgid "LSsession : The constant %{const} is not defined."
msgstr "LSsession : La constante %{const} n'est pas définie."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2448
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2453
msgid ""
"LSsession : The %{addon} support is uncertain. Verify system compatibility "
"and the add-on configuration."
@@ -884,52 +922,52 @@ msgstr ""
"LSsession : Le support %{addon} est incertain. Vérifiez la compatibilité du "
"système et la configuration de l'add-on."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2451
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2456
msgid ""
"LSsession : LDAP server's configuration data are invalid. Can't connect."
msgstr ""
"LSsession : Les données de configuration du serveur LDAP sont invalide. "
"Impossible de s'y connecter."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2454
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2459
msgid "LSsession : Failed to load LSobject type %{type} : unknon type."
msgstr ""
"LSsession : Impossible de charger le type d'LSobject %{type} : type inconnu."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2457
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2462
msgid "LSsession : Failed to load LSclass %{class}."
msgstr "LSsession : Impossible de charger la LSclass %{class}."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2460
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2465
msgid "LSsession : Login or password incorrect."
msgstr "LSsession : Identifiant ou mot de passe incorrects."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2463
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2468
msgid "LSsession : Impossible to identify you : Duplication of identities."
msgstr "LSsession : Impossible de vous identifier : Duplication d'identité."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2466
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2471
msgid "LSsession : Can't load class of authentification (%{class})."
msgstr ""
"LSsession : Impossible de charger la classe d'authentification (%{class})."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2469
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2474
msgid "LSsession : Can't connect to LDAP server."
msgstr "LSsession : Impossible de se connecter au serveur LDAP."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2472
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2477
msgid "LSsession : Impossible to authenticate you."
msgstr "LSsession : Impossible de vous identifier."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2475
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2480
msgid "LSsession : Your are not authorized to do this action."
msgstr "LSsession : Vous n'êtes pas autorisé à faire cette action."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2478
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2483
msgid "LSsession : Some informations are missing to display this page."
msgstr "LSsession : Des informations sont manquant pour afficher cette page."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2481
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2486
msgid ""
"LSsession : The function of the custom action %{name} does not exists or is "
"not configured."
@@ -937,24 +975,24 @@ msgstr ""
"LSsearch : La fonction de l'action personnalisée %{name} n'existe pas ou "
"n'est pas configurée."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2484
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2489
msgid "LSsession : Fail to retreive user's LDAP credentials from LSauth."
msgstr ""
"LSsession : Erreur en récupérant les identifiants LDAP de l'utilisateur "
"depuis LSauth."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2487
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2492
msgid ""
"LSsession : Fail to reconnect to LDAP server with user's LDAP credentials."
msgstr ""
"LSsession : Impossible de se reconnecter au serveur LDAP avec les "
"identifiants de l'utilisateur."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2490
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2495
msgid "LSsession : No import/export format define for this object type."
msgstr "LSsession : Aucun format d'entrée/sortie définie pour ce type d'objet."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2493
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2498
msgid ""
"LSsession : Error during creation of list of levels. Contact administrators. "
"(Code : %{code})"
@@ -962,13 +1000,13 @@ msgstr ""
"LSsession : Erreur durant la création de la liste des niveaux. Contacter les "
"administrateurs. (Code : %{type})"
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2496
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2501
msgid "LSsession : The password recovery is disabled for this LDAP server."
msgstr ""
"LSsession : La récupération de mot de passe est désactivée pour ce serveur "
"LDAP."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2499
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2504
msgid ""
"LSsession : Some informations are missing to recover your password. Contact "
"administrators."
@@ -976,7 +1014,7 @@ msgstr ""
"LSsession : Des informations sont manques pour pouvoir récupérer votre mot "
"de passe. Contacter les administrateurs."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2502
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2507
msgid ""
"LSsession : Error during password recovery. Contact administrators.(Step : "
"%{step})"
@@ -984,22 +1022,22 @@ msgstr ""
"LSsession : Erreur durant la récupération de votre mot de passe. Contacter "
"les administrateurs. (Etape : %{step})"
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2505
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2510
msgid ""
"LSsession : call function %{func} do not provided from LSaddon %{addon}."
msgstr ""
"LSsession : la fonction %{func} n'est pas fournie par le LSaddon %{addon}."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2508
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2513
msgid "LSsession : problem during initialisation."
msgstr "LSsession : Problème durant l'initialisation."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2511
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2516
msgid "LSsession : view function %{func} for LSaddon %{addon} doet not exist."
msgstr ""
"LSsession : la fonction de vue %{func} du LSaddon %{addon} n'existe pas."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2514
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2519
msgid "LSsession : invalid related object's DN pass in parameter."
msgstr "LSsession : DN d'objet en relation incorrect dans les paramètres."
@@ -1419,31 +1457,31 @@ msgstr ""
msgid "Modify the mail sent to notice the user"
msgstr "Modifier mail de notification de l'utilisateur"
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_password.php:286
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_password.php:271
msgid "Notice mail sent."
msgstr "Le mail de notification a été envoyé."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_password.php:363
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_password.php:348
msgid "LSformElement_password : No contact mail available to send password."
msgstr ""
"LSformElement_password : Aucun mail de contact disponible pour envoyer le "
"mot de passe."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_password.php:366
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_password.php:351
msgid ""
"LSformElement_password : Contact mail invalid (%{mail}). Can't send password."
msgstr ""
"LSformElement_password : Mail de contact invalide (%{mail}). Impossible "
"d'envoyer le mot de passe."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_password.php:369
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_password.php:354
msgid ""
"LSformElement_password : Fail to exec pwgen. Check it's correctly installed."
msgstr ""
"LSformElement_password : Impossible d'exécuter pwgen. Vérifier qu'il est "
"bien installé."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_password.php:372
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_password.php:357
msgid ""
"LSformElement_password : Fail to determine witch e-mail attribute to use to "
"send new password : get_mail_attr_function parameter not refer to a valid "
@@ -1453,7 +1491,7 @@ msgstr ""
"être utilisé pour l'envoi du mot de passe : le paramètre "
"get_mail_attr_function ne fait pas référence à une fonction valide."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_password.php:375
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_password.php:360
msgid ""
"LSformElement_password : Fail to determine witch e-mail attribute to use to "
"send new password : get_mail_attr_function throwed an exception : %{msg}"
@@ -1608,11 +1646,11 @@ msgstr "Réinitialiser le choix."
msgid "Display RSS stack."
msgstr "Afficher la file RSS."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSattr_ldap_password.php:121
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSattr_ldap_password.php:123
msgid "undefined"
msgstr "non-définie"
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSattr_ldap_password.php:265
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSattr_ldap_password.php:373
msgid ""
"LSattr_ldap_password : Encoding type %{type} is not supported. This password "
"will be stored in clear text."
@@ -1620,7 +1658,7 @@ msgstr ""
"LSattr_ldap_password : Le type d'encodage %{type} n'est pas supporté. Le mot "
"de passe sera stocké en clair."
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSattr_ldap_password.php:268
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSattr_ldap_password.php:376
msgid ""
"LSattr_ldap_password : Encoding function %{function} is not callable. This "
"password will be stored in clear text."
diff --git a/public_html/lang/ldapsaisie.pot b/public_html/lang/ldapsaisie.pot
index e2750c7d..622a80b8 100644
--- a/public_html/lang/ldapsaisie.pot
+++ b/public_html/lang/ldapsaisie.pot
@@ -55,7 +55,7 @@ msgid "Import"
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/view.php:156
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1417
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1422
#: /home/brenard/dev/ldapsaisie_clean3/public_html/global_search.php:36
msgid "Refresh"
msgstr ""
@@ -65,8 +65,8 @@ msgid "Reset"
msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/select.php:70
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1214
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2298
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1219
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2303
msgid "Level"
msgstr ""
@@ -103,7 +103,7 @@ msgstr ""
#: /home/brenard/dev/ldapsaisie_clean3/public_html/custom_search_action.php:73
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSconfirmBox.php:37
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsmoothbox.php:39
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1254
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1259
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSform.php:68
#: /home/brenard/dev/ldapsaisie_clean3/public_html/custom_action.php:83
#: /home/brenard/dev/ldapsaisie_clean3/public_html/remove.php:51
@@ -616,6 +616,34 @@ msgid ""
"value %{val} of attribute %{attr}."
msgstr ""
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformRule_differentPassword.php:93
+msgid ""
+"LSformRule_differentPassword : Other password attribute is not configured."
+msgstr ""
+
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformRule_differentPassword.php:96
+msgid ""
+"LSformRule_differentPassword : Fail to load LSattr_ldap :: password class."
+msgstr ""
+
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformRule_differentPassword.php:99
+msgid ""
+"LSformRule_differentPassword : The other password attribute %{attr} does not "
+"exist."
+msgstr ""
+
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformRule_differentPassword.php:102
+msgid ""
+"LSformRule_differentPassword : The other password attribute could not be the "
+"same of the current one."
+msgstr ""
+
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformRule_differentPassword.php:105
+msgid ""
+"LSformRule_differentPassword : The other password attributes must use "
+"LSattr_ldap :: password. It's not the case of the attribure %{attr}."
+msgstr ""
+
#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSattribute.php:259
msgid "The value of field %{label} is invalid."
msgstr ""
@@ -693,167 +721,167 @@ msgstr ""
msgid "Clear"
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1194
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1199
msgid "Connection"
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1204
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1243
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1209
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1248
msgid "LDAP server"
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1215
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1253
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1220
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1258
msgid "Identifier"
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1216
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1221
msgid "Password"
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1217
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1222
msgid "Connect"
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1218
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1223
msgid "Forgot your password ?"
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1236
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1241
msgid "Recovery of your credentials"
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1255
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1260
msgid "Back"
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1258
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1263
msgid "Please fill the identifier field to proceed recovery procedure"
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1263
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1268
msgid ""
"An email has been sent to %{mail}. Please follow the instructions on it."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1272
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1277
msgid "Your new password has been sent to %{mail}. "
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1433
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1438
msgid "Language"
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1455
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:1460
msgid "Connected as"
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2445
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2450
msgid "LSsession : The constant %{const} is not defined."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2448
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2453
msgid ""
"LSsession : The %{addon} support is uncertain. Verify system compatibility "
"and the add-on configuration."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2451
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2456
msgid ""
"LSsession : LDAP server's configuration data are invalid. Can't connect."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2454
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2459
msgid "LSsession : Failed to load LSobject type %{type} : unknon type."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2457
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2462
msgid "LSsession : Failed to load LSclass %{class}."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2460
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2465
msgid "LSsession : Login or password incorrect."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2463
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2468
msgid "LSsession : Impossible to identify you : Duplication of identities."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2466
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2471
msgid "LSsession : Can't load class of authentification (%{class})."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2469
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2474
msgid "LSsession : Can't connect to LDAP server."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2472
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2477
msgid "LSsession : Impossible to authenticate you."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2475
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2480
msgid "LSsession : Your are not authorized to do this action."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2478
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2483
msgid "LSsession : Some informations are missing to display this page."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2481
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2486
msgid ""
"LSsession : The function of the custom action %{name} does not exists or is "
"not configured."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2484
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2489
msgid "LSsession : Fail to retreive user's LDAP credentials from LSauth."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2487
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2492
msgid ""
"LSsession : Fail to reconnect to LDAP server with user's LDAP credentials."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2490
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2495
msgid "LSsession : No import/export format define for this object type."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2493
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2498
msgid ""
"LSsession : Error during creation of list of levels. Contact administrators. "
"(Code : %{code})"
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2496
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2501
msgid "LSsession : The password recovery is disabled for this LDAP server."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2499
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2504
msgid ""
"LSsession : Some informations are missing to recover your password. Contact "
"administrators."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2502
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2507
msgid ""
"LSsession : Error during password recovery. Contact administrators.(Step : "
"%{step})"
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2505
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2510
msgid ""
"LSsession : call function %{func} do not provided from LSaddon %{addon}."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2508
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2513
msgid "LSsession : problem during initialisation."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2511
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2516
msgid "LSsession : view function %{func} for LSaddon %{addon} doet not exist."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2514
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSsession.php:2519
msgid "LSsession : invalid related object's DN pass in parameter."
msgstr ""
@@ -1199,32 +1227,32 @@ msgstr ""
msgid "Modify the mail sent to notice the user"
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_password.php:286
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_password.php:271
msgid "Notice mail sent."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_password.php:363
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_password.php:348
msgid "LSformElement_password : No contact mail available to send password."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_password.php:366
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_password.php:351
msgid ""
"LSformElement_password : Contact mail invalid (%{mail}). Can't send password."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_password.php:369
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_password.php:354
msgid ""
"LSformElement_password : Fail to exec pwgen. Check it's correctly installed."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_password.php:372
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_password.php:357
msgid ""
"LSformElement_password : Fail to determine witch e-mail attribute to use to "
"send new password : get_mail_attr_function parameter not refer to a valid "
"function."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_password.php:375
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSformElement_password.php:360
msgid ""
"LSformElement_password : Fail to determine witch e-mail attribute to use to "
"send new password : get_mail_attr_function throwed an exception : %{msg}"
@@ -1365,17 +1393,17 @@ msgstr ""
msgid "Display RSS stack."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSattr_ldap_password.php:121
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSattr_ldap_password.php:123
msgid "undefined"
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSattr_ldap_password.php:265
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSattr_ldap_password.php:373
msgid ""
"LSattr_ldap_password : Encoding type %{type} is not supported. This password "
"will be stored in clear text."
msgstr ""
-#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSattr_ldap_password.php:268
+#: /home/brenard/dev/ldapsaisie_clean3/public_html/includes/class/class.LSattr_ldap_password.php:376
msgid ""
"LSattr_ldap_password : Encoding function %{function} is not callable. This "
"password will be stored in clear text."