1<!-- request_topic.tt2 -->
2
3<form action="[% path_cgi %]" method="post" name="select_topic_msg">
4    <fieldset>
5        [%|loc%]This list is configured to require topic(s) for each message.[%END%]
6        <br />
7        <label>
8            [%|loc%]Please select one or more topic(s) that corresponds to your message below:[%END%]
9        </label>
10        <br /><br />
11        [% FOREACH t = available_topics %]
12            <input id="topic_[%t.name%]" type="checkbox" name="topic_[%t.name%]" value="1" />
13            <label for="topic_[%t.name%]">[% t.title %] </label>
14            <br/>
15        [% END %]
16        <br />
17        [%- IF topic_required -%]
18            <input class="MainMenuLinks" type="submit" name="action_tag_topic_by_sender" value="[%|loc%]Tag this mail[%END%]"
19                   onclick="return checkbox_check_topic(select_topic_msg)" />
20        [%- ELSE -%]
21            <input class="MainMenuLinks" type="submit" name="action_tag_topic_by_sender" value="[%|loc%]Tag this mail[%END%]" />
22        [%- END -%]
23        <input type="hidden" name="message_id" value="[% message_id %]" />
24        <input type="hidden" name="authkey" value="[% authkey %]" />
25        <input type="hidden" name="list" VALUE="[% list %]" />
26    </fieldset>
27</form>
28<br />
29<br />
30
31[%|loc(from)%]From: %1[%END%]<br />
32[% mailto = BLOCK ~%]
33    [% to | mailto(to) | obfuscate(listconf.spam_protection) %]
34[%~ END ~%]
35[%|loc(mailto)%]To: %1[%END%]<br />
36[%|loc(date)%]Date: %1[%END%]<br />
37
38[%|loc(subject)%]Subject: %1[%END%]<br /><br />
39
40<pre>[%body%]</pre><br />
41
42<!-- end request_topic.tt2 -->
43