diff --git a/htdocs/langs/en_US/other.lang b/htdocs/langs/en_US/other.lang index fd26edc05cb..2b77a892574 100644 --- a/htdocs/langs/en_US/other.lang +++ b/htdocs/langs/en_US/other.lang @@ -8,6 +8,8 @@ ErrorRecordAlreadyExists=Record already exists ErrorCantReadFile=Failed to read file '%s' ErrorCantReadDir=Failed to read directory '%s' ErrorFailedToFindEntity=Failed to read entity '%s' +ErrorBadLoginPassword=Bad value for login or password +ErrorLoginDisabled=Your account has been disabled Calendar=Calendar AddTrip=Add trip Tools=Tools diff --git a/htdocs/langs/fr_FR/other.lang b/htdocs/langs/fr_FR/other.lang index b6761bd459a..7c02100cf98 100644 --- a/htdocs/langs/fr_FR/other.lang +++ b/htdocs/langs/fr_FR/other.lang @@ -8,6 +8,8 @@ ErrorRecordAlreadyExists=Enregistrement d ErrorCantReadFile=Echec de lecture du fichier '%s' ErrorCantReadDir=Echec de lecture du répertoire '%s' ErrorFailedToFindEntity=Echec de lecture de l'entité '%s' +ErrorBadLoginPassword=Identifiants login ou mot de passe incorrects +ErrorLoginDisabled=Votre compte est désactivé Calendar=Calendrier AddTrip=Créer déplacement Tools=Outils diff --git a/htdocs/lib/functions.inc.php b/htdocs/lib/functions.inc.php index 61ab229647a..87070da78c1 100644 --- a/htdocs/lib/functions.inc.php +++ b/htdocs/lib/functions.inc.php @@ -986,13 +986,14 @@ function info_admin($texte) /** - \brief Affiche formulaire de login - \remarks il faut changer le code html dans cette fonction pour changer le design + \brief Affiche formulaire de login PEAR + \remarks Il faut changer le code html dans cette fonction pour changer le design */ -function loginfunction() +function dol_loginfunction($notused,$pearstatus) { global $langs,$conf; $langs->load("main"); + $langs->load("other"); $conf->css = "theme/".$conf->theme."/".$conf->theme.".css"; // Si feuille de style en php existe @@ -1013,7 +1014,7 @@ function loginfunction() print '