~ubuntu-branches/debian/squeeze/sympa/squeeze

« back to all changes in this revision

Viewing changes to web_tt2/arcsearch_form.tt2

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Hornburg (Racke)
  • Date: 2008-10-05 12:36:30 UTC
  • mfrom: (1.1.5 upstream) (6.1.3 gutsy)
  • Revision ID: james.westby@ubuntu.com-20081005123630-8ga1kt0ogrkqaizf
Tags: 5.3.4-6
* fix usage of $* Perl variable deprecated in Perl 5.10 
  (Closes: #501154, thanks to Micah Anderson <micah@debian.org> and
  David Moreno <david@dev.axiombox.com> for the report and patches)
* add the sympa.pl --upgrade procedure to the debian/postinst 
  to migrate existing installs (Closes: #498144, thanks to Micah
  Anderson <micah@debian.org> for the patch)
* additional patch for insecure use of /tmp (Closes: #496520)
* missing debian/compat file added

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!-- $Id: arcsearch_form.tt2,v 1.6 2006/03/24 09:41:11 olivier.salaun Exp $ -->
2
 
 
3
 
<form method="post" action="[% path_cgi %]">
4
 
 
 
1
<!-- $Id: arcsearch_form.tt2 3907 2006-09-25 14:50:16Z serge.aumont $ -->
 
2
 
 
3
<form id="bold_label" method="post" action="[% path_cgi %]">
 
4
<fieldset>
5
5
<input name="list" type="hidden" value="[% list %]" />
6
6
<input name="archive_name" type="hidden" value="[% archive_name %]" />
7
7
 
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;">
 
8
 
 
9
<span class="larger">[%|loc%]Search field :[%END%]  </span><a href="[% path_cgi %]/arc/[% list %]/[% archive_name %]"><strong>[% archive_name %]</strong></a>
 
10
 
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%]" />
16
 
</td></tr></table>
17
 
</div>
18
 
 
19
 
<table cellspacing="0" cellpadding="0">
20
 
 
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>
26
 
</tr>
27
 
 
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>
32
 
</tr>
33
 
 
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>
38
 
</tr>
39
 
 
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>
44
 
</tr>
45
 
 
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>
51
 
</tr>
52
 
 
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>
56
 
 
57
 
<td><label><input type="checkbox" name="subj" value="True" checked="checked" /> <strong>[%|loc%]Subject[%END%]</strong></label></td>
58
 
</tr>
59
 
 
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>
62
 
 
63
 
<td><label><input type="checkbox" name="body" value="True" checked="checked" /> <strong>[%|loc%]Body[%END%]</strong></label></td>
64
 
</tr>
65
 
 
66
 
</table>
67
 
 
68
 
<dl>
69
 
<dt><strong>[%|loc%]Extend search field[%END%]</strong>
70
 
<dd>
 
14
<br />
 
15
 
 
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>
 
20
<br />
 
21
 
 
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>
 
25
<br />
 
26
 
 
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>
 
30
<br />
 
31
 
 
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>
 
35
<br />
 
36
 
 
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%]
 
41
<br />
 
42
 
 
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>
 
48
<br />
 
49
<br />
 
50
 
 
51
<label for="directories">[%|loc%]Extend search field[%END%] :  </label>
 
52
<br />
71
53
<select name="directories" multiple="multiple" size="4">    
72
54
 
73
55
[% FOREACH u = yyyymm %]
74
 
    [% SET tmp = u.key u = u.value u.NAME = tmp IF u.key.defined %]
75
 
 
76
 
<option value="[% u %]">[% u %]</option>
77
 
 
 
56
  [% SET tmp = u.key u = u.value u.NAME = tmp IF u.key.defined %]
 
57
  <option value="[% u %]">[% u %]</option>
78
58
[% END %] 
79
 
 
80
 
</select></dd></dl>
81
 
 
 
59
</select>
 
60
</fieldset>
82
61
</form>