1<!-- arcsearch.tt2 -->
2<div class="block">
3    <h2>
4        [%|loc%]Result of your search in the archive[%END%]
5        <a href="[% 'arc' | url_rel([list,archive_name]) %]">
6            <span class="color_dark">[% list %]:</span>
7        </a>
8    </h2>
9
10    <p>
11        [%|loc%]Search field:[%END%]
12        [% FOREACH u = directories %]
13            <a href="[% 'arc' | url_rel([list,u]) %]"><span class="color_dark">[% u %]</font></a> -
14        [% END %]
15    </p>
16    <p>
17        [%|loc(key_word)%]Parameters of these search make on <strong> &quot;%1&quot;</strong>[%END%]
18        <br/>
19        <em>
20            [% IF how == 'phrase' %]
21                [%|loc%](This sentence,[%END%]
22            [% ELSIF how == 'any' %]
23                [%|loc%](All of these words,[%END%]
24            [% ELSE %]
25                [%|loc%](Each of these words,[%END%]
26            [% END %]
27
28            [% IF case == 'off' %]
29                [%|loc%]case insensitive[%END%]
30            [% ELSE %]
31                [%|loc%]case sensitive[%END%]
32            [% END %]
33
34            [% IF match == 'partial' %]
35                [%|loc%]and checking on part of word)[%END%]
36            [% ELSE %]
37                [%|loc%]and checking on entire word)[%END%]
38            [% END %]
39        </em>
40    </p>
41
42    <hr />
43
44    [% IF age == 'new' %]
45        <p><strong>[%|loc%]Newest messages first[%END%]</strong></p>
46    [% ELSE %]
47        <p><strong>[%|loc%]Oldest messages first[%END%]</strong></p>
48    [% END %]
49
50    <dl>
51        [% FOREACH u = res %]
52            <dt>
53                <a href="[% u.file %]">
54                    [%~ FOREACH r = u.rich.subj ~%]
55                        [% IF r.format == 'b' %]<b>[% r.text %]</b>
56                        [%~ ELSIF r.format == 'br' %]<br />
57                        [%~ ELSE%][% r.text %][%END ~%]
58                    [%END ~%]
59                </a>
60                --
61                <em>
62                    [%~ FOREACH r = u.rich.date ~%]
63                        [% IF r.format == 'b' %]<b>[% r.text %]</b>
64                        [%~ ELSIF r.format == 'br' %]<br />
65                        [%~ ELSE%][% r.text %][%END ~%]
66                    [%END ~%]
67                </em>
68            </dt>
69            <dd>
70                [%~ FOREACH r = u.rich.from ~%]
71                    [% IF r.format == 'b' %]<b>[% r.text %]</b>
72                    [%~ ELSIF r.format == 'br' %]<br />
73                    [%~ ELSE%][% r.text %][%END ~%]
74                [%END ~%]
75                <pre>
76                    [%~ FOREACH r = u.rich.body_string ~%]
77                        [% IF r.format == 'b' %]<b>[% r.text %]</b>
78                        [%~ ELSIF r.format == 'br' %]<br />
79                        [%~ ELSE%][% r.text %][%END ~%]
80                    [%END ~%]
81                </pre>
82            </dd>
83        [% END %]
84    </dl>
85    <p>
86        <dl>
87            [% IF body %]
88                <dd>[%|loc(body_count)%]%1 hits on message Body[%END%]<br /></dd>
89            [% END %]
90
91            [% IF subj %]
92                <dd>[%|loc(subj_count)%]%1 hits on message Subject field[%END%]<br /></dd>
93            [% END %]
94
95            [% IF from %]
96                <dd>[%|loc(from_count)%] %1 hits on message From field[%END%]<br /></dd>
97            [% END %]
98
99            [% IF date %]
100                <dd>[%|loc(date_count)%]%1 hits on message Date field[%END%]<br /></dd>
101            [% END %]
102        </dl>
103
104        <form method="post" action="[% path_cgi %]" class="noborder">
105            <fieldset>
106                <input type="hidden" name="list" value="[% list %]" />
107                <input type="hidden" name="archive_name" value="[% archive_name %]" />
108                <input type="hidden" name="key_word" value="[% key_word %]" />
109                <input type="hidden" name="how" value="[% how %]" />
110                <input type="hidden" name="age" value="[% age %]" />
111                <input type="hidden" name="case" value="[% case %]" />
112                <input type="hidden" name="match" value="[% match %]" />
113                <input type="hidden" name="limit" value="[% limit %]" />
114                <input type="hidden" name="body_count" value="[% body_count %]" />
115                <input type="hidden" name="date_count" value="[% date_count %]" />
116                <input type="hidden" name="from_count" value="[% from_count %]" />
117                <input type="hidden" name="subj_count" value="[% subj_count %]" />
118                <input type="hidden" name="previous" value="[% searched %]" />
119
120            [% IF body %]
121                <input type="hidden" name="body" value="[% body %]" />
122            [% END %]
123
124            [% IF subj %]
125                <input type="hidden" name="subj" value="[% subj %]" />
126            [% END %]
127
128            [% IF from %]
129                <input type="hidden" name="from" value="[% from %]" />
130            [% END %]
131
132            [% IF date %]
133                <input type="hidden" name="date" value="[% date %]" />
134            [% END %]
135
136            [% FOREACH u = directories %]
137                <input type="hidden" name="directories" value="[% u %]" />
138            [% END %]
139
140            [% IF continue %]
141                <input class="MainMenuLinks" name="action_arcsearch" type="submit" value="[%|loc%]Continue search[%END%]" />
142            [% END %]
143            <p class="text_center" >
144                <input style="padding:0.1em 5em!important;" class="MainMenuLinks" name="action_arcsearch_form" type="submit" value="[%|loc%]New search[%END%]" />
145            </p>
146        </fieldset>
147    </form>
148    <hr />
149
150    <a class="actionMenuLinks" href="[% 'arc' | url_rel([list,archive_name]) %]">
151        [%|loc(archive_name)%]Return to archive %1[%END%]
152    </a>
153    <br />
154</div>
155<!-- end arcsearch.tt2 -->
156