Feature: L'cran changement de mot de passe requiert un code graphique.

This commit is contained in:
Laurent Destailleur 2007-09-11 17:52:38 +00:00
parent 7093eb4f80
commit 1bce72c53d
6 changed files with 8 additions and 4 deletions

View File

@ -14,6 +14,7 @@ ErrorFailedToRunExternalCommand=Failed to run external command. Check it is avai
ErrorFailedToChangePassword=Failed to change password
ErrorLoginDoesNotExists=User with login <b>%s</b> could not be found.
ErrorLoginHasNoEmail=This user has no email address. Process aborted.
ErrorBadValueForCode=Bad value types for code. Try again with a new value...
SecurityCode=Security code
Calendar=Calendar
AddTrip=Add trip

View File

@ -53,7 +53,8 @@ ListOfGroups=List of groups
NewGroup=New group
CreateGroup=Create group
RemoveFromGroup=Remove from group
PasswordChangedAndSentTo=Password changed and sent to %s
PasswordChangedAndSentTo=Password changed and sent to <b>%s</b>.
PasswordChangeRequestSent=Request to change password for <b>%s</b> sent to <b>%s</b>.
MenuUsersAndGroups=Users & Groups
LastGroupsCreated=Last %s created groups
LastUsersCreated=Last %s users created

View File

@ -14,6 +14,7 @@ ErrorFailedToRunExternalCommand=Echec de l'ex
ErrorFailedToChangePassword=Echec de modification du mot de passe
ErrorLoginDoesNotExists=Le compte utilisateur de login <b>%s</b> n'a pu être trouvé.
ErrorLoginHasNoEmail=Cet utilisateur n'a pas d'email. Impossible de continuer.
ErrorBadValueForCode=Mauvaise valeur saisie pour le code. Réessayer avec une nouvelle valeur...
SecurityCode=Code sécurité
Calendar=Calendrier
AddTrip=Créer déplacement

View File

@ -53,7 +53,8 @@ ListOfGroups=Liste des groupes
NewGroup=Nouveau groupe
CreateGroup=Créer le groupe
RemoveFromGroup=Supprimer du groupe
PasswordChangedAndSentTo=Mot de passe changé et envoyé à %s
PasswordChangedAndSentTo=Mot de passe changé et envoyé à <b>%s</b>.
PasswordChangeRequestSent=Demande de changement de mot de passe pour <b>%s</b> envoyée à <b>%s</b>.
MenuUsersAndGroups=Utilisateurs & Groupes
LastGroupsCreated=Les %s derniers groupes créés
LastUsersCreated=Les %s derniers utilisateurs créés

View File

@ -1357,7 +1357,7 @@ function dol_loginfunction($notused,$pearstatus)
print '<tr>';
print '<td align="left"><br> &nbsp; <b>'.$langs->trans("Login").'</b> &nbsp;</td>';
print '<td><input name="username" class="flat" size="15" maxlength="25" value="" tabindex="1" /></td>';
print '<td><input name="username" class="flat" size="15" maxlength="25" value="'.(isset($_POST["username"])?$_POST["username"]:'').'" tabindex="1" /></td>';
if ($conf->main_authentication) $title.=$langs->trans("AuthenticationMode").': '.$conf->main_authentication;

View File

@ -248,7 +248,7 @@ print '<center>'."\n";
print '<table width="90%"><tr><td>';
if (! $mode == 'dolibarr' || $conf->global->MAIN_SECURITY_FORCEFORGETPASSLINK)
{
print '<font class="warning" style="font-size: 14px;">'.$langs->trans("SendNewPasswordDesc").'</font>'."\n";
print '<font style="font-size: 14px;">'.$langs->trans("SendNewPasswordDesc").'</font>'."\n";
}
else
{