给瑞虎中国更新了邮件通知模板,直接扒了阿里云的邮件通知模板,只是将图片去除了,因为有些邮箱带图片的话会提示不安全。
修改方法:
打开:
1 | source/language/lang_email.php |
然后自己研究
样式:
代码如下:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | <style type="text/css"> body{ margin:0 auto; padding:0; font-family:Microsoft Yahei,Tahoma,Arial; color:#333333;background-color:#fff; font-size:12px;} a{color:#00a2ca; line-height:22px; text-decoration:none;} a:hover{text-decoration:underline;color:#00a2ca;} </style> <table width="800" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#ffffff" > <tr> <td> <table width="800" border="0" align="center" cellpadding="0" cellspacing="0" height="40"></table> </td> </tr> <tr> <td> <table width="800" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#373d41" height="48"> <tr> <td width="180" height="48" border="0" align="center" valign="middle" style="padding-left:20px;"> <font color="#ffffff"><strong> {bbname} - {siteurl}</strong></font> </td> <td width="703" height="48" colspan="2" align="right" valign="middle" style="color:#ffffff; padding-right:20px;"> </td> </tr> </table> </td> </tr> <tr> <td> <table width="800" border="0" align="left" cellpadding="0" cellspacing="0" style=" border:1px solid #edecec; border-top:none; border-bottom:none; padding:0 20px;font-size:14px;color:#333333;"> <tr> <td width="760" height="30" border="0" align="left" colspan="2">&nbsp;</td> </tr> <tr> <td width="720" height="32" border="0" align="left" valign="middle" style=" width:720px; text-align:left;vertical-align:middle;line-height:32px;"><table border="0"> <tr> <td> <p> 尊敬的用户{username}: </p> <p style="text-indent:24.0pt;"> 这封信是由<b> {bbname} </b>发送的。 </p> <p>您收到这封邮件,是由于这个邮箱地址在<b> {bbname} </b>被登记为用户邮箱,并已验证邮箱地址,您现在收到这封邮件是因为绑定到此邮箱的用户请求使用 Email 密码重置功能所致。</p> <p class="MsoNormal"> <font color="#ff0000"><strong>重要提示:</strong></font> </p> <p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:-18.0pt;"> 1.&nbsp;&nbsp;&nbsp;&nbsp; 如果您没有提交密码重置的请求或不是 {bbname} 的注册用户,请立即忽略并删除这封邮件。 </p> <p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:-18.0pt;"> 2.&nbsp;&nbsp;&nbsp;&nbsp; 只有在您确认需要重置密码的情况下,才需要继续阅读下面的内容。 </p> <p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:-18.0pt;"> 3.&nbsp;&nbsp;&nbsp;&nbsp; 此邮件只有收到用户重置密码时才会发出,如果您未在<b> {bbname} </b>注册过账号与绑定邮箱,请与我们联系解除此邮箱与{username}用户的关联,联系邮件地址: 。 </p> <p class="MsoNormal"> <font color="#ff0000"><strong>密码重置说明</strong></font> </p> <p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:-18.0pt;"> 您只需在提交请求后的三天内,通过点击下面的链接重置您的密码: </p> <p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:-18.0pt;"><a href="{siteurl}member.php?mod=getpasswd&amp;uid={uid}&amp;id={idstring}&amp;sign={sign}" target="_blank">{siteurl}member.php?mod=getpasswd&amp;uid={uid}&amp;id={idstring}&amp;sign={sign}</a> </p> <p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:-18.0pt;"> (如果上面不是链接形式,请将该地址手工粘贴到浏览器地址栏再访问)</p> <p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:-18.0pt;"> 在上面的链接所打开的页面中输入新的密码后提交,您即可使用新的密码登录网站了。您可以在用户控制面板中随时修改您的密码。</p> <p class="MsoNormal"> &nbsp; </p> <p> 本请求提交者的 IP 为 {clientip} </p> <p class="MsoNormal"> 此致 {bbname} 管理团队. </p> <p class="MsoNormal"> {siteurl} </p> </td> </tr> </table></td> </tr> <tr> <td width="720" height="14" colspan="2" style="padding-bottom:16px; border-bottom:1px dashed #e5e5e5;"></td> </tr> <tr> <td width="720" height="14" colspan="2" style="padding:8px 0 28px;color:#999999; font-size:12px;">此为系统邮件请勿回复 Design by: <a href="//blog.lsza.net" target="_blank">Super Mouse</a></td> </tr> </table> </td> </tr> </table> |