Dbut gestion lien "mot de passe oubli"
This commit is contained in:
parent
313b30361c
commit
338853771c
@ -33,6 +33,7 @@ ErrorSomeErrorWereFoundRollbackIsDone=Des erreurs ont
|
||||
ErrorConfigParameterNotDefined=Le parametre <b>%s</b> n'est pas défini dans le fichier de configuration Dolibarr <b>conf.php</b>.
|
||||
ErrorCantLoadUserFromDolibarrDatabase=Impossible de trouver l'utilisateur <b>%s</b> dans la base Dolibarr.
|
||||
DolibarrInHttpAuthenticationSoPasswordUseless=Dolibarr est configuré en mode authentification <b>%s</b> dans son fichier de configuration <b>conf.php</b>.<br>Cela signifie que la base des mots de passe est externe à Dolibarr, aussi toute modification de ce champ peut s'avérer sans effet.
|
||||
PasswordForgotten=Mot de passe oublié ?
|
||||
SeeAbove=Voir ci-dessus
|
||||
HomeArea=Espace accueil
|
||||
LastConnexion=Dernière connexion
|
||||
|
||||
@ -1127,7 +1127,7 @@ function dol_loginfunction($notused,$pearstatus)
|
||||
print "<html>\n";
|
||||
print "<head>\n";
|
||||
print '<meta name="robots" content="noindex,nofollow">'."\n"; // Evite indexation par robots
|
||||
print "<title>Dolibarr Authentification</title>\n";
|
||||
print "<title>Dolibarr Authentification</title>\n";
|
||||
|
||||
print '<link rel="stylesheet" type="text/css" href="'.DOL_URL_ROOT.'/'.$conf->css.'">'."\n";
|
||||
|
||||
@ -1169,7 +1169,7 @@ function dol_loginfunction($notused,$pearstatus)
|
||||
print $_SERVER["QUERY_STRING"]?'?'.$_SERVER["QUERY_STRING"]:'';
|
||||
print '">';
|
||||
|
||||
print '<table cellpadding="0" cellspacing="0" border="0" align="center" width="350">';
|
||||
print '<table cellpadding="0" cellspacing="0" border="0" align="center" width="400">';
|
||||
|
||||
|
||||
if (file_exists(DOL_DOCUMENT_ROOT.'/logo.png'))
|
||||
@ -1182,15 +1182,15 @@ function dol_loginfunction($notused,$pearstatus)
|
||||
print '<tr class="vmenu"><td align="center">Dolibarr '.DOL_VERSION.'</td></tr>';
|
||||
}
|
||||
|
||||
print'</table>
|
||||
print '</table>
|
||||
|
||||
<br>
|
||||
|
||||
<table cellpadding="2" align="center" width="350">
|
||||
<table cellpadding="2" align="center" width="400">
|
||||
|
||||
<tr><td colspan="3"> </td></tr>
|
||||
|
||||
<tr><td align="left"> <b>'.$langs->trans("Login").'</b> </td>
|
||||
<tr><td align="left"><br> <b>'.$langs->trans("Login").'</b> </td>
|
||||
<td><input name="username" class="flat" size="15" maxlength="25" value="" tabindex="1" /></td>
|
||||
';
|
||||
|
||||
@ -1207,14 +1207,20 @@ function dol_loginfunction($notused,$pearstatus)
|
||||
print '
|
||||
</tr>
|
||||
|
||||
<tr><td align="left"> <b>'.$langs->trans("Password").'</b> </td>
|
||||
<td><input name="password" class="flat" type="password" size="15" maxlength="30" tabindex="2" />
|
||||
</td></tr>
|
||||
<tr><td align="left" valign="top"> <b>'.$langs->trans("Password").'</b> </td>
|
||||
<td valign="top" nowrap="nowrap"><input name="password" class="flat" type="password" size="15" maxlength="30" tabindex="2">';
|
||||
print '</td></tr>
|
||||
|
||||
<tr><td colspan="3" style="text-align:center;"><br>
|
||||
<input type="submit" class="button" value=" '.$langs->trans("Connection").' " tabindex="4" />
|
||||
</td></tr>
|
||||
|
||||
';
|
||||
if ($conf->global->MAIN_SECURITY_ALLOWFORGETPASSWORD)
|
||||
{
|
||||
print '<tr><td colspan="3" align="right"><a style="color: #888888; font-size: 10px" href="'.DOL_URL_ROOT.'/user/passwordforgotten.php">('.$langs->trans("PasswordForgotten").')</a></td></tr>';
|
||||
}
|
||||
|
||||
print '
|
||||
</table>
|
||||
<input type="hidden" name="loginfunction" value="loginfunction" />
|
||||
|
||||
@ -65,7 +65,6 @@ insert into llx_const (name, value, type, note, visible) values ('MAIN_MAIL_SMTP
|
||||
insert into llx_const (name, value, type, note, visible) values ('MAIN_UPLOAD_DOC','2048','chaine','Max size for file upload (0 means no upload allowed)',0);
|
||||
|
||||
insert into llx_const(name,value,type,visible,note) values('MAIN_ENABLE_DEVELOPMENT','0','yesno',1,'Make development modules visible');
|
||||
insert into llx_const(name,value,type,visible,note) values('PRODUCT_SHOW_WHEN_CREATE','0','yesno',1,'Add products list in first step of proposal, invoice, order creation');
|
||||
|
||||
insert into llx_const(name,value,type,visible,note) values('MAIN_FASTSEARCH_COMPANY','1','yesno',0,'Show form for quick company search');
|
||||
insert into llx_const(name,value,type,visible,note) values('MAIN_FASTSEARCH_CONTACT','1','yesno',0,'Show form for quick contact search');
|
||||
@ -198,6 +197,12 @@ insert into llx_const (name, value, type, visible, note) VALUES ('MAIN_FORCE_SET
|
||||
insert into llx_const (name, value, type, visible, note) VALUES ('PROPALE_VALIDITY_DURATION', '15', 'chaine', 0, 'Durée de validitée des propales');
|
||||
|
||||
|
||||
--
|
||||
-- Product
|
||||
--
|
||||
insert into llx_const(name,value,type,visible,note) values('PRODUCT_SHOW_WHEN_CREATE','0','yesno',1,'Add products list in first step of proposal, invoice, order creation');
|
||||
|
||||
|
||||
--
|
||||
-- Descriptif des plans comptables FR PCG99-ABREGE
|
||||
--
|
||||
|
||||
Loading…
Reference in New Issue
Block a user