Node.js based forum software built for the modern web
more email templates updated
Julian Lam51349bb71f0f
diff --git a/public/images/emails/invitation.png b/public/images/emails/invitation.pngnew file mode 100644index 0000000000..283372c9faBinary files /dev/null and b/public/images/emails/invitation.png differdiff --git a/src/views/emails/registration_accepted.tpl b/src/views/emails/registration_accepted.tplindex c025be0330..879104f473 100644--- a/src/views/emails/registration_accepted.tpl+++ b/src/views/emails/registration_accepted.tpl@@ -1,9 +1,39 @@-<p>[[email:greeting_with_name, {username}]],</p>+<!-- IMPORT emails/partials/header.tpl -->-<p>- <strong>[[email:welcome.text1, {site_title}]]</strong>-</p>+<!-- Email Body : BEGIN -->+<table role="presentation" cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 600px;">-<p>[[email:welcome.text3]]</p>+ <!-- Hero Image, Flush : BEGIN -->+ <tr>+ <td bgcolor="#efeff0" style="text-align: center; background-image: url({url}/assets/images/emails/triangularbackground.png); background-size: cover; background-repeat: no-repeat;">+ <img src="{url}/assets/images/emails/invitation.png" width="300" height="300" border="0" align="center" style="width: 300px; height: 300px; max-width: 300px; height: auto; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #555555;" class="g-img">+ </td>+ </tr>+ <!-- Hero Image, Flush : END -->-<!-- IMPORT emails/partials/footer.tpl -->\ No newline at end of file+ <!-- 1 Column Text + Button : BEGIN -->+ <tr>+ <td bgcolor="#efeff0">+ <table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%">+ <tr>+ <td style="padding: 40px; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #555555;">+ <h1 style="margin: 0 0 10px 0; font-family: sans-serif; font-size: 24px; line-height: 27px; color: #333333; font-weight: normal;">[[email:greeting_with_name, {username}]],</h1>+ <p style="margin: 0;">[[email:welcome.text1, {site_title}]]</p>+ <p style="margin: 0;">[[email:welcome.text3]]</p>+ </td>+ </tr>+ <tr>+ <td style="padding: 40px; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #555555;">+ <h2 style="margin: 0 0 10px 0; font-family: sans-serif; font-size: 18px; line-height: 21px; color: #333333; font-weight: bold;">[[email:closing]]</h2>+ <p style="margin: 0;">{site_title}</p>+ </td>+ </tr>+ </table>+ </td>+ </tr>+ <!-- 1 Column Text + Button : END -->++</table>+<!-- Email Body : END -->++<!-- IMPORT emails/partials/footer.tpl -->diff --git a/src/views/emails/reset.tpl b/src/views/emails/reset.tplindex 7e71d067a5..fd981c3b1e 100644--- a/src/views/emails/reset.tpl+++ b/src/views/emails/reset.tpl@@ -1,11 +1,54 @@-<p>[[email:greeting_no_name]],</p>+<!-- IMPORT emails/partials/header.tpl -->-<p>[[email:reset.text1]]</p>+<!-- Email Body : BEGIN -->+<table role="presentation" cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 600px;">-<p>[[email:reset.text2]]</p>+ <!-- Hero Image, Flush : BEGIN -->+ <tr>+ <td bgcolor="#efeff0" style="text-align: center; background-image: url({url}/assets/images/emails/triangularbackground.png); background-size: cover; background-repeat: no-repeat;">+ <img src="{url}/assets/images/emails/emailconfirm.png" width="300" height="300" border="0" align="center" style="width: 300px; height: 300px; max-width: 300px; height: auto; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #555555;" class="g-img">+ </td>+ </tr>+ <!-- Hero Image, Flush : END -->-<blockquote>- <a href="{reset_link}">[[email:reset.cta]]</a>-</blockquote>+ <!-- 1 Column Text + Button : BEGIN -->+ <tr>+ <td bgcolor="#efeff0">+ <table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%">+ <tr>+ <td style="padding: 40px; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #555555;">+ <h1 style="margin: 0 0 10px 0; font-family: sans-serif; font-size: 24px; line-height: 27px; color: #333333; font-weight: normal;">[[email:greeting_no_name]],</h1>+ <p style="margin: 0;">[[email:reset.text1]]</p>+ <p style="margin: 0;">[[email:reset.text2]]</p>+ </td>+ </tr>+ <tr>+ <td style="padding: 0 40px; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #555555;">+ <!-- Button : BEGIN -->+ <table role="presentation" cellspacing="0" cellpadding="0" border="0" align="center" style="margin: auto;">+ <tr>+ <td style="border-radius: 3px; background: #222222; text-align: center;" class="button-td">+ <a href="{reset_link}" style="background: #222222; border: 15px solid #222222; font-family: sans-serif; font-size: 13px; line-height: 1.1; text-align: center; text-decoration: none; display: block; border-radius: 3px; font-weight: bold;" class="button-a">+ <span style="color:#ffffff;" class="button-link"> [[email:reset.cta]] </span>+ </a>+ </td>+ </tr>+ </table>+ <!-- Button : END -->+ </td>+ </tr>+ <tr>+ <td style="padding: 40px; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #555555;">+ <h2 style="margin: 0 0 10px 0; font-family: sans-serif; font-size: 18px; line-height: 21px; color: #333333; font-weight: bold;">[[email:closing]]</h2>+ <p style="margin: 0;">{site_title}</p>+ </td>+ </tr>+ </table>+ </td>+ </tr>+ <!-- 1 Column Text + Button : END -->-<!-- IMPORT emails/partials/footer.tpl -->\ No newline at end of file+</table>+<!-- Email Body : END -->++<!-- IMPORT emails/partials/footer.tpl -->diff --git a/src/views/emails/reset_notify.tpl b/src/views/emails/reset_notify.tplindex 0a825d3c31..1758035729 100644--- a/src/views/emails/reset_notify.tpl+++ b/src/views/emails/reset_notify.tpl@@ -1,7 +1,39 @@-<p>[[email:greeting_with_name, {username}]],</p>+<!-- IMPORT emails/partials/header.tpl -->-<p>[[email:reset.notify.text1, {date}]]</p>+<!-- Email Body : BEGIN -->+<table role="presentation" cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 600px;">-<p>[[email:reset.notify.text2]]</p>+ <!-- Hero Image, Flush : BEGIN -->+ <tr>+ <td bgcolor="#efeff0" style="text-align: center; background-image: url({url}/assets/images/emails/triangularbackground.png); background-size: cover; background-repeat: no-repeat;">+ <img src="{url}/assets/images/emails/emailconfirm.png" width="300" height="300" border="0" align="center" style="width: 300px; height: 300px; max-width: 300px; height: auto; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #555555;" class="g-img">+ </td>+ </tr>+ <!-- Hero Image, Flush : END -->-<!-- IMPORT emails/partials/footer.tpl -->\ No newline at end of file+ <!-- 1 Column Text : BEGIN -->+ <tr>+ <td bgcolor="#efeff0">+ <table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%">+ <tr>+ <td style="padding: 40px; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #555555;">+ <h1 style="margin: 0 0 10px 0; font-family: sans-serif; font-size: 24px; line-height: 27px; color: #333333; font-weight: normal;">[[email:greeting_with_name, {username}]],</h1>+ <p style="margin: 0;">[[email:reset.notify.text1, {date}]]</p>+ <p style="margin: 0;">[[email:reset.notify.text2]]</p>+ </td>+ </tr>+ <tr>+ <td style="padding: 40px; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #555555;">+ <h2 style="margin: 0 0 10px 0; font-family: sans-serif; font-size: 18px; line-height: 21px; color: #333333; font-weight: bold;">[[email:closing]]</h2>+ <p style="margin: 0;">{site_title}</p>+ </td>+ </tr>+ </table>+ </td>+ </tr>+ <!-- 1 Column Text : END -->++</table>+<!-- Email Body : END -->++<!-- IMPORT emails/partials/footer.tpl -->diff --git a/src/views/emails/test.tpl b/src/views/emails/test.tplindex 6d778144fa..d777eafc10 100644--- a/src/views/emails/test.tpl+++ b/src/views/emails/test.tpl@@ -13,7 +13,7 @@<!-- 1 Column Text : BEGIN --><tr>- <td bgcolor="#ffffff">+ <td bgcolor="#efeff0"><table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td style="padding: 40px; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #555555;">@@ -21,6 +21,12 @@<p style="margin: 0;">[[email:test.text1]]</p></td></tr>+ <tr>+ <td style="padding: 40px; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #555555;">+ <h2 style="margin: 0 0 10px 0; font-family: sans-serif; font-size: 18px; line-height: 21px; color: #333333; font-weight: bold;">[[email:closing]]</h2>+ <p style="margin: 0;">{site_title}</p>+ </td>+ </tr></table></td></tr>