Skip to content

Node.js based forum software built for the modern web

using variable for urls again, welcome.tpl done I think

Julian Lam6c768030cc6a
diff --git a/src/views/emails/welcome.tpl b/src/views/emails/welcome.tpl
index ab406f0d9b..74eacbd13c 100644
--- a/src/views/emails/welcome.tpl
+++ b/src/views/emails/welcome.tpl
@@ -176,8 +176,8 @@
<!-- Email Header : BEGIN -->
<table role="presentation" cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 600px;">
<tr>
- <td style="padding: 20px 0; text-align: left">
- <img src="http://juliantest.nodebb.com/assets/images/emails/nodebb.png?cache-buster=1" height="49" width="192" alt="{site_title}" border="0" style="height: 49px; width: 192px; background: #222222; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #555555;">
+ <td style="padding: 20px 0; text-align: center">
+ <img src="{url}/assets/images/emails/nodebb.png?cache-buster=1" height="49" width="192" alt="{site_title}" border="0" style="height: 49px; width: 192px; background: #222222; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #555555;">
</td>
</tr>
</table>
@@ -188,8 +188,8 @@
<!-- Hero Image, Flush : BEGIN -->
<tr>
- <td bgcolor="#efeff0" style="text-align: center; background-image: url(http://juliantest.nodebb.com/assets/images/emails/triangularbackground.png); background-size: cover; background-repeat: no-repeat;">
- <img src="http://juliantest.nodebb.com/assets/images/emails/emailconfirm.png" width="300" height="300" alt="alt_text" 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 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 -->
@@ -233,6 +233,18 @@
</table>
<!-- Email Body : END -->
+ <!-- Email Footer : BEGIN -->
+ <table role="presentation" cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 680px;">
+ <tr>
+ <td style="padding: 40px 10px;width: 100%;font-size: 12px; font-family: sans-serif; line-height:18px; text-align: center; color: #888888;" class="x-gmail-data-detectors">
+ <br><br>
+ &nbsp;
+ <br><br>
+ </td>
+ </tr>
+ </table>
+ <!-- Email Footer : END -->
+
<!--[if mso]>
</td>
</tr>