reset emsil

This commit is contained in:
CHIEFSOFT\ameye
2023-08-05 11:43:07 -04:00
parent c05572b658
commit 4b1efca26d
2 changed files with 36 additions and 23 deletions
@@ -9,18 +9,25 @@ Subject: {{site_name}} - Reset Password
<style type="text/css"> <style type="text/css">
body {margin: 0; padding: 0; min-width: 100%!important;} body {margin: 0; padding: 0; min-width: 100%!important;}
img {height: auto;} img {height: auto;}
hr{
height: 1px;
background-color: #f1fcff;
border: none;
}
.content {width: 100%; max-width: 600px;} .content {width: 100%; max-width: 600px;}
.header {padding: 10px 10px 10px 10px;} .header {padding: 10px 10px 10px 10px;}
.innerpadding {padding: 10px 10px 10px 10px;} .innerpadding {padding: 10px 10px 10px 10px;}
.cent{ text-align:center; }
.borderbottom {border-bottom: 1px solid #f2eeed;} .borderbottom {border-bottom: 1px solid #f2eeed;}
.subhead {font-size: 12px; color: #ffffff; font-family: sans-serif; letter-spacing: 3px;} .ls1{ border-color: aliceblue; color: aliceblue;}
.h1, .h2, .bodycopy {color: #153643; font-family: sans-serif;} .subhead {font-size: 12px; color: #ffffff; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; letter-spacing: 3px;}
.h1, .h2, .bodycopy {color: #153643; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif;}
.h1 {font-size: 33px; line-height: 38px; font-weight: bold;} .h1 {font-size: 33px; line-height: 38px; font-weight: bold;}
.bodycopy {font-size: 14px; line-height: 20px;} .bodycopy {font-size: 14px; line-height: 20px;}
.button {text-align: center; font-size: 16px; font-family: sans-serif; font-weight: bold; padding: 0 30px 0 30px;} .button {text-align: center; font-size: 16px; font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; font-weight: bold; padding: 0 30px 0 30px;}
.button a {color: #ffffff; text-decoration: none;} .button a {color: #ffffff; text-decoration: none;}
.footer {padding: 20px 30px 15px 30px; bgcolor:#007bff; background-color:#007bff;} .footer {padding: 20px 30px 15px 30px; bgcolor:#252f3e; background-color:#252f3e;}
.footercopy {font-family: sans-serif; font-size: 14px; color: #ffffff;} .footercopy { font-family: Circular, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif; font-size: 14px; font-weight:bolder; color: #ffffff;}
.footercopy a {color: #ffffff; text-decoration: underline;} .footercopy a {color: #ffffff; text-decoration: underline;}
</style> </style>
</head> </head>
@@ -103,15 +110,19 @@ img {height: auto;}
</td> </td>
</tr> </tr>
<tr> <tr>
<td style="padding: 20px 0 0 0;"> <td style="padding: 20px 0 0 0;">
<table class="buttonwrapper" bgcolor="#e05443" border="0" cellspacing="0" cellpadding="0"> <table class="buttonwrapper" bgcolor="#e05443" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<td class="button" height="45" style="text-align:center;" > <td class="button" height="45" style="text-align:center;" >
<a href="{{server_name}}/complereset?passlink={{pass_link}}">Click to Reset Password</a> <a href="{{server_name}}/complereset?passlink={{pass_link}}">Click to Reset Password</a>
</td> </td>
</tr>
</table> </tr>
</td> </table>
</td>
<td style="padding: 20px 0 0 0;">
On mobile use code {{reset_pin}}
</td>
</tr> </tr>
</table> </table>
</td> </td>
@@ -137,13 +148,14 @@ img {height: auto;}
{{server_name}} {{server_name}}
</td> </td>
</tr> </tr>
<tr>
<tr>
<td class="footer"> <td class="footer">
<table width="100%" border="0" cellspacing="0" cellpadding="0"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<td align="center" class="footercopy"> <td align="center" class="footercopy">
&reg; {{site_name}} 2022<br/> &reg; {{site_name}} {{YYYY}}<br/>
You received this email because you subscribe to {{site_name}}. If you get this email in error, please <a href="https://{{server_name}}/contact" class="unsubscribe"><font color="#ffffff">contact</font></a> us. You received this email because you subscribe to {{site_name}}. If you get this email in error, please <a href="{{main_site_url}}contact" class="unsubscribe"><font color="#ffffff">contact</font></a> us.
</td> </td>
</tr> </tr>
<tr> <tr>
@@ -152,12 +164,12 @@ You received this email because you subscribe to {{site_name}}. If you get this
<tr> <tr>
<td width="37" style="text-align: center; padding: 0 10px 0 10px;"> <td width="37" style="text-align: center; padding: 0 10px 0 10px;">
<a href="https://www.facebook.com/wrenchboard/"> <a href="https://www.facebook.com/wrenchboard/">
<img src="https://{{server_name}}/assets/images/brands/facebook.png" width="37" height="37" alt="Facebook" border="0" /> <img src="{{server_name}}/assets/images/brands/facebook.png" width="37" height="37" alt="Facebook" border="0" />
</a> </a>
</td> </td>
<td width="37" style="text-align: center; padding: 0 10px 0 10px;"> <td width="37" style="text-align: center; padding: 0 10px 0 10px;">
<a href="http://www.twitter.com/"> <a href="http://www.twitter.com/">
<img src="https://{{server_name}}/assets/images/brands/twitter.png" width="37" height="37" alt="Twitter" border="0" /> <img src="{{server_name}}/assets/images/brands/twitter.png" width="37" height="37" alt="Twitter" border="0" />
</a> </a>
</td> </td>
</tr> </tr>
@@ -179,6 +191,3 @@ You received this email because you subscribe to {{site_name}}. If you get this
</body> </body>
</html> </html>
+4
View File
@@ -301,6 +301,10 @@ long account_email(long mailtype, CVars in, CVars &out) {
form.LetStr("site_name", "WrenchBoard"); form.LetStr("site_name", "WrenchBoard");
form.LetStr("site_trade_name", "Connecting Opportunities"); form.LetStr("site_trade_name", "Connecting Opportunities");
CVars yr;
load_db_record(yr, "SELECT to_char(now(), 'yyyy') AS YYYY");
vars2form(yr, form);
try { try {