1
<!-- $Id: arcsearch_form.tt2,v 1.6 2006/03/24 09:41:11 olivier.salaun Exp $ -->
3
<form method="post" action="[% path_cgi %]">
1
<!-- $Id: arcsearch_form.tt2 3907 2006-09-25 14:50:16Z serge.aumont $ -->
3
<form id="bold_label" method="post" action="[% path_cgi %]">
5
5
<input name="list" type="hidden" value="[% list %]" />
6
6
<input name="archive_name" type="hidden" value="[% archive_name %]" />
8
<div style="text-align: center; margin-left: auto; margin-right: auto;">
9
<table style="width: auto;">
10
<tr><td style="text-align: center;">
11
<span style="font-size: larger;">[%|loc%]Search field :[%END%] </span><a href="[% path_cgi %]/arc/[% list %]/[% archive_name %]"><strong>[% archive_name %]</strong></a>
12
</td><td style="text-align: center;">
9
<span class="larger">[%|loc%]Search field :[%END%] </span><a href="[% path_cgi %]/arc/[% list %]/[% archive_name %]"><strong>[% archive_name %]</strong></a>
13
11
<input name="key_word" type="text" size="30" value="[% key_word %]" />
14
12
<input name="action" type="hidden" value="arcsearch" />
15
13
<input class="MainMenuLinks" name="action_arcsearch" type="submit" value="[%|loc%]Search[%END%]" />
19
<table cellspacing="0" cellpadding="0">
21
<tr style="white-space: nowrap;" valign="top">
22
<th><strong>[%|loc%]Search[%END%]</strong></th>
23
<td><label><input type="radio" name="how" value="phrase" checked="checked" /> <strong>[%|loc%]this sentence[%END%]</strong></label></td>
24
<td><label><input type="radio" name="how" value="all" /> <strong>[%|loc%]all of these words[%END%]</strong></label></td>
25
<td><label><input type="radio" name="how" value="any" /> <strong>[%|loc%]one of these words[%END%]</strong></label></td>
28
<tr style="white-space: nowrap;" valign="top">
29
<th><strong>[%|loc%]Prefer[%END%]</strong></th>
30
<td><label><input type="radio" name="age" value="new" checked="checked" /> <strong>[%|loc%]newest messages[%END%]</strong></label></td>
31
<td><label><input type="radio" name="age" value="old" /> <strong>[%|loc%]oldest messages[%END%]</strong></label></td>
34
<tr style="white-space: nowrap;" valign="top">
35
<th><strong>[%|loc%]Case[%END%] </strong></th>
36
<td><label><input type="radio" name="case" value="off" checked="checked" /> <strong>[%|loc%]insensitive[%END%]</strong></label></td>
37
<td><label><input type="radio" name="case" value="on" /> <strong>[%|loc%]sensitive[%END%]</strong></label></td>
40
<tr style="white-space: nowrap;" valign="top">
41
<th><strong>[%|loc%]Check[%END%]</strong></th>
42
<td><label><input type="radio" name="match" value="partial" checked="checked" /> <strong>[%|loc%]part of word[%END%]</strong></label></td>
43
<td><label><input type="radio" name="match" value="exact" /> <strong>[%|loc%]entire word[%END%]</strong></label></td>
46
<tr style="white-space: nowrap;" valign="top">
47
<th><strong>[%|loc%]Layout[%END%]</strong></th>
48
<td><label><input type="radio" name="limit" value="10" checked="checked" /> <strong>10</strong> [%|loc%]results by page[%END%]</label></td>
49
<td><label><input type="radio" name="limit" value="25" /> <strong>25</strong> [%|loc%]results by page[%END%]</label></td>
50
<td><label><input type="radio" name="limit" value="50" /> <strong>50</strong> [%|loc%]results by page[%END%]</label></td>
53
<tr style="white-space: nowrap;" valign="top">
54
<th rowspan="2"><strong>[%|loc%]Search area[%END%]</strong></th>
55
<td><label><input type="checkbox" name="from" value="True" /> <strong>[%|loc%]Sender[%END%]</strong></label></td>
57
<td><label><input type="checkbox" name="subj" value="True" checked="checked" /> <strong>[%|loc%]Subject[%END%]</strong></label></td>
60
<tr style="white-space: nowrap;" valign="top">
61
<td><label><input type="checkbox" name="date" value="True" /> <strong>[%|loc%]Date[%END%]</strong></label></td>
63
<td><label><input type="checkbox" name="body" value="True" checked="checked" /> <strong>[%|loc%]Body[%END%]</strong></label></td>
69
<dt><strong>[%|loc%]Extend search field[%END%]</strong>
16
<label for="how">[%|loc%]Search[%END%] : </label>
17
<input id="how" type="radio" name="how" value="phrase" checked="checked" /> <em>[%|loc%]this sentence[%END%]</em>
18
<input id="how" type="radio" name="how" value="all" /> <em>[%|loc%]all of these words[%END%]</em>
19
<input id="how" type="radio" name="how" value="any" /> <em>[%|loc%]one of these words[%END%]</em>
22
<label for="age">[%|loc%]Prefer[%END%] : </label>
23
<input id="age" type="radio" name="age" value="new" checked="checked" /> <em>[%|loc%]newest messages[%END%]</em>
24
<input id="age" type="radio" name="age" value="old" /> <em>[%|loc%]oldest messages[%END%]</em>
27
<label for="case">[%|loc%]Case[%END%] : </label>
28
<input id="case" type="radio" name="case" value="off" checked="checked" /> <em>[%|loc%]insensitive[%END%]</em>
29
<input id="case" type="radio" name="case" value="on" /> <em>[%|loc%]sensitive[%END%]</em>
32
<label for="match">[%|loc%]Check[%END%] : </label>
33
<input id="match" type="radio" name="match" value="partial" checked="checked" /> <em>[%|loc%]part of word[%END%]</em>
34
<input id="match" type="radio" name="match" value="exact" /> <em>[%|loc%]entire word[%END%]</em>
37
<label for="limit">[%|loc%]Layout[%END%] : </label>
38
<input id="limit" type="radio" name="limit" value="10" checked="checked" /> <em>10</em> [%|loc%]results by page[%END%]
39
<input id="limit" type="radio" name="limit" value="25" /> <em>25</em> [%|loc%]results by page[%END%]
40
<input id="limit" type="radio" name="limit" value="50" /> <em>50</em> [%|loc%]results by page[%END%]
43
<label for="from" rowspan="2">[%|loc%]Search area[%END%] : </label>
44
<input id="from" type="checkbox" name="from" value="True" /> <em>[%|loc%]Sender[%END%] </em>
45
<input id="from" type="checkbox" name="subj" value="True" checked="checked" /> <em>[%|loc%]Subject[%END%] </em>
46
<input type="checkbox" name="date" value="True" /> <em>[%|loc%]Date[%END%] </em>
47
<input type="checkbox" name="body" value="True" checked="checked" /> <em>[%|loc%]Body[%END%] </em>
51
<label for="directories">[%|loc%]Extend search field[%END%] : </label>
71
53
<select name="directories" multiple="multiple" size="4">
73
55
[% FOREACH u = yyyymm %]
74
[% SET tmp = u.key u = u.value u.NAME = tmp IF u.key.defined %]
76
<option value="[% u %]">[% u %]</option>
56
[% SET tmp = u.key u = u.value u.NAME = tmp IF u.key.defined %]
57
<option value="[% u %]">[% u %]</option>