Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
email templates: Added a common header and footer for email templates.
  • Loading branch information
tchalvak committed Oct 7, 2010
1 parent 243b9fa commit f271ba1
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
5 changes: 5 additions & 0 deletions deploy/templates/lostconfirm_email_body.tpl
@@ -1,3 +1,5 @@
{include file="email.header.tpl" title='Your Ninjawars Confirmation' subtitle=''}

You have requested your confirmation code for the account: {$lost_uname}<br>\n<br>\n

Use this link to activate your account<br>\n<br>\n
Expand All @@ -9,3 +11,6 @@ Or, paste this URL into your browser.<br>\n<br>\n

{$templatelite.const.WEB_ROOT}confirm.php?username={$lost_uname|escape:'url'}&amp;confirm={$lost_confirm}<br>\n<br>\n
If you require any further help, email: {$templatelite.const.SUPPORT_EMAIL}


{include file="email.footer.tpl"}
12 changes: 8 additions & 4 deletions deploy/templates/lostpass_email_body.tpl
@@ -1,8 +1,10 @@
You have requested your password for the account: {$lost_uname}.<br>\n<br>\n
{include file="email.header.tpl" title='Ninjawars Account Password Request' subtitle=''}

You have requested your password for the account: {$lost_uname}.<br><br>

<b>Account Info</b><br>\n
Username: {$lost_uname}<br>\n
Password: {$lost_pname}<br>\n<br>\n
<b>Account Info</b><br>
Username: {$lost_uname}<br>
Password: {$lost_pname}<br><br>
{if !$confirmed}

Your account has not yet been confirmed, request a reconfirmation email at:
Expand All @@ -14,3 +16,5 @@ You have requested your password for the account: {$lost_uname}.<br>\n<br>\n


If you did not request this reminder email, please contact us at {$templatelite.const.SUPPORT_EMAIL} .

{include file="email.footer.tpl"}
13 changes: 4 additions & 9 deletions deploy/templates/signup_email_body.tpl
@@ -1,9 +1,6 @@
<html><body>


<h1>Thank you for creating a ninja in Ninja Wars.</h1>

<h2>This is your automated email for the account you created at Ninjawars.net. </h2>
{include file="email.header.tpl" title='Thanks for creating a ninja on Ninja Wars' subtitle='This is your automated email for the account you created at Ninjawars.net.'}

<p>
Any automated emails you ask to receive from the game will come from this address.
Expand All @@ -29,11 +26,9 @@
Password: ***yourpassword***<br>
Class: {$send_class} Ninja
</p>

<div style='background-color:black'>
<img alt='NinjaWars' src='http://www.ninjawars.net/images/ninjawars_title.png'>
</div>



{include file="email.footer.tpl"}

</html>
</body>

0 comments on commit f271ba1

Please sign in to comment.