* Use HTML templates to send fancy reset password mail, with translations * Send the new password by mail instead of diplaying it n the web page * Remove the need to configure : the value is now set with help of {DOCUMENT_ROOT}environments/ppa-mbqj77/deployments/1
parent
f6c250207c
commit
3222021897
@ -0,0 +1,11 @@ |
||||
<TMPL_INCLUDE NAME="mail_header.tpl"> |
||||
|
||||
<p> |
||||
<lang en="Hello" fr="Bonjour" />,<br /> |
||||
<br /> |
||||
<a href="$url" style="text-decoration:none;color:orange;"> |
||||
<lang en="Click here to reset your password" fr="Cliquez ici pour réinitialiser votre mot de passe" /> |
||||
</a> |
||||
</p> |
||||
|
||||
<TMPL_INCLUDE NAME="mail_footer.tpl"> |
@ -0,0 +1,11 @@ |
||||
</div> |
||||
|
||||
<div id="footer" style="font-size:9pt;"> |
||||
<p> |
||||
<lang en="This mail was sent automatically" fr="Ceci est un message automatique" /><br /> |
||||
<lang en="The reset password request was issued from IP" fr="La demande de changement de mot de passe provient de l'IP" /> |
||||
$ipAddr |
||||
</p> |
||||
</div> |
||||
|
||||
</div> |
@ -0,0 +1,17 @@ |
||||
<div id="page" style="background:#000;font-family:sans-serif;font-size:12pt;color:#fff;padding:5px 20px;"> |
||||
|
||||
<div id="header"> |
||||
<table> |
||||
<tr> |
||||
<td style="width:30px;height:30px;background:orange;"> </td> |
||||
<td> </td> |
||||
<td rowspan=2 style="font-size:20pt;padding:5px 20px;color:#fff">LemonLDAP::NG</td> |
||||
</tr> |
||||
</tr> |
||||
<td> </td> |
||||
<td style="width:30px;height:30px;background:orange;"> </td> |
||||
</tr> |
||||
</table> |
||||
</div> |
||||
|
||||
<div id="content" style="color:#000;background:#eee;padding:5px 10px;margin:10px 0;"> |
@ -0,0 +1,9 @@ |
||||
<TMPL_INCLUDE NAME="mail_header.tpl"> |
||||
|
||||
<p> |
||||
<lang en="Hello" fr="Bonjour" />,<br /> |
||||
<br /> |
||||
<lang en="Your new password is" fr="Votre nouveau mot de passe est" /> $password |
||||
</p> |
||||
|
||||
<TMPL_INCLUDE NAME="mail_footer.tpl"> |
Loading…
Reference in new issue