aboutsummaryrefslogtreecommitdiffstats
path: root/templates/email/default/contact.html
blob: 81f9cb080755bda9753ddf2f59aec2e92405886c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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' %]