aboutsummaryrefslogtreecommitdiffstats
path: root/templates/email/default/contact.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/email/default/contact.html')
-rw-r--r--templates/email/default/contact.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/templates/email/default/contact.html b/templates/email/default/contact.html
new file mode 100644
index 000000000..81f9cb080
--- /dev/null
+++ b/templates/email/default/contact.html
@@ -0,0 +1,45 @@
+[%
+
+subject_html = subject | html;
+name = form_name | html;
+email_summary = "“" _ subject_html _ "” – Message from " _ name _ " on " _ host;
+email_columns = 1;
+
+PROCESS '_email_settings.html';
+
+INCLUDE '_email_top.html';
+
+%]
+
+<th style="[% td_style %][% contact_meta_style %]">
+ <table [% table_reset %]>
+ <tr>
+ <th style="[% contact_th_style %]">From</th>
+ <td style="[% contact_td_style %]">[% name %] &lt;<a href="mailto:[% em | html %]">[% em | html %]</a>&gt;</td>
+ </tr>
+ <tr>
+ <th style="[% contact_th_style %]">IP address</th>
+ <td style="[% contact_td_style %]">[% ip %]</td>
+ </tr>
+ <tr>
+ <th style="[% contact_th_style %]">To</th>
+ <td style="[% contact_td_style %]">[% host %] administrators</td>
+ </tr>
+ </table>
+</th>
+</tr>
+
+<tr>
+<th style="[% td_style %][% only_column_style %]">
+ <h1 style="[% h1_style %]">[% subject | html %]</h1>
+ <p style="[% p_style %]">[% message | html %]</p>
+ [% IF complaint %]
+ <p style="[% secondary_p_style %]">
+ [% complaint | html %]
+ - <a href="[% problem_url %]">Report</a>
+ - <a href="[% admin_url %]">Admin</a>
+ </p>
+ [% END %]
+</th>
+
+[% INCLUDE '_email_bottom.html' %]