5 <meta charset="utf-8" />
6 <title><!--~$title show {~-->Email templates<!--~}~--></title>
13 <h2>Edit email template "~title html~"</h2>
15 <p>~description htmlbrtab~</p>
17 <form action="admin_email_templates" method="post">
18 <div class="caption">Notes</div>
19 <div class="field_notes">This is here just for admins to save any kind of notes (for example clarifications on when/how this email template is used, or notes on what the template was like previously.)</div>
20 <div class="field"><textarea rows="6" cols="22" name="notes">~notes html~</textarea></div>
22 <div class="caption">"From:" email address (required)</div>
23 <div class="field_notes">When this email template is used, the email generated will be sent <strong>from</strong> this address.</div>
24 <div class="field_notes">To supply a name also, use this <em>exact</em> format: <code>John Smith <john@example.com></code></div>
25 <div class="field"><input type="text" name="from_addr" value="~from_addr attr~"></div>
27 <!--~want_to_addr {~-->
28 <div class="caption">"To:" email address (required)</div>
29 <div class="field_notes">When this email template is used, the email generated will sent <strong>to</strong> this address.</div>
30 <div class="field_notes">To supply a name also, use this <em>exact</em> format: <code>John Smith <john@example.com></code></div>
31 <div class="field"><input type="text" name="to_addr" value="~to_addr attr~"></div>
34 <div class="caption">"Cc:" email address (optional)</div>
35 <div class="field_notes">If you enter an email address here, it will be added to the "Cc:" header, that is, it will get a copy of every email that uses this template. Note that the "Cc:" header is visible to all recipients, so this feature should probably only be used for testing.</div>
36 <div class="field_notes">To supply a name also, use this <em>exact</em> format: <code>John Smith <john@example.com></code></div>
37 <div class="field"><input type="text" name="cc_addr" value="~cc_addr attr~"></div>
39 <div class="caption">"Bcc:" email address (optional)</div>
40 <div class="field_notes">If you enter an email address here, it will be added to the "Bcc:" header, that is, it will get a copy of every email that uses this template. This email address will <em>not</em> be visible to recipients, and will not be included in replies.</div>
41 <div class="field_notes">To supply a name also, use this <em>exact</em> format: <code>John Smith <john@example.com></code></div>
42 <div class="field"><input type="text" name="bcc_addr" value="~bcc_addr attr~"></div>
44 <div class="caption">Template Variables</div>
45 <div class="field">You can place variables into the Subject and Message Body fields. This can be used, for example, to insert the recipients username into the message. Below is a table showing the variables that are available for this particular email template:
46 <table cellspacing="0" cellpadding="4" border="0" summary="" class="evenodd" style="margin-top: 5px">
53 <td>Puts a single ~~ in the email. You <em>must</em> do this if you want a ~~ in your email.</td>
64 <div class="caption">Subject</div>
65 <div class="field_notes">This field uses template variables, see above.</div>
66 <div class="field"><input type="text" name="subject" value="~subject attr~"></div>
68 <div class="caption">Message Body</div>
69 <div class="field_notes">This field uses template variables, see above.</div>
70 <div class="field"><textarea rows="9" cols="22" name="content">~content html~</textarea></div>
72 <div class="caption"></div>
74 <input type="hidden" name="slug" value="~slug attr~">
75 <input type="submit" name="save" value="Save">
80 <div class="caption"> </div>
81 <div class="field"><a href="admin_email_templates~id {~?id=~id~~}~">Cancel</a></div>
85 <h2>Email Templates</h2>
87 <p>Click one to edit:</p>
89 <!--~rows once_if {~-->
90 <table cellspacing="0" cellpadding="4" border="0" summary="" class="evenodd">
92 <th><a href="?sort=~sorting-by-title~title">Template Title</a></th>
93 <th><a href="?sort=~sorting-by-subject~subject">Email Subject</a></th>
96 <td class="listing"><a href="admin_email_templates?slug=~slug~">~title html~<!--~title empty {~--><em>(blank)</em><!--~}~--></a></td>
97 <td class="listing"><a href="admin_email_templates?slug=~slug~">~subject html~<!--~subject empty {~--><em>(blank)</em><!--~}~--></a></td>