Include images in password reset HTML mails

This commit is contained in:
Clément Oudot 2011-05-30 13:03:40 +00:00
parent 24c27eba9f
commit ba55e25844
4 changed files with 14 additions and 17 deletions

View File

@ -1,10 +1,11 @@
<TMPL_INCLUDE NAME="mail_header.tpl">
<p>
<lang en="Hello" fr="Bonjour" />,<br />
<lang en="Hello" fr="Bonjour" /> $cn,<br />
<br />
<span><img src="cid:arrow:skins/common/bullet_go.png" /></span>
<a href="$url" style="text-decoration:none;color:orange;">
<lang en="Click here to reset your password" fr="Cliquez ici pour r&eacute;initialiser votre mot de passe" />
<lang en="Click here to reset your password" fr="Cliquez ici pour réinitialiser votre mot de passe" />
</a>
</p>

View File

@ -9,3 +9,6 @@ $ipAddr
</div>
</div>
</body>
</html>

View File

@ -1,17 +1,8 @@
<html>
<body>
<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;">&nbsp;</td>
<td>&nbsp;</td>
<td rowspan=2 style="font-size:20pt;padding:5px 20px;color:#fff">LemonLDAP::NG</td>
</tr>
</tr>
<td>&nbsp;</td>
<td style="width:30px;height:30px;background:orange;">&nbsp;</td>
</tr>
</table>
</div>
<div id="header" style="text-align:right;"><h1>LemonLDAP::NG</h1></div>
<div id="content" style="color:#000;background:#eee;padding:5px 10px;margin:10px 0;">

View File

@ -1,9 +1,11 @@
<TMPL_INCLUDE NAME="mail_header.tpl">
<p>
<lang en="Hello" fr="Bonjour" />,<br />
<lang en="Hello" fr="Bonjour" /> $cn,<br />
<br />
<lang en="Your new password is" fr="Votre nouveau mot de passe est" /> $password
<lang en="Your new password is" fr="Votre nouveau mot de passe est" />
<span><img src="cid:key:skins/common/key.png" /></span>
<b>$password</b>
</p>
<TMPL_INCLUDE NAME="mail_footer.tpl">