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

« back to all changes in this revision

Viewing changes to web_tt2/arcsearch.tt2

  • Committer: Bazaar Package Importer
  • Author(s): Christian Perrier
  • Date: 2007-01-20 18:09:28 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070120180928-0e42mbwg87mlo44y
Tags: 5.2.3-1.2
* Non-maintainer upload to re-fix l10n issues
* As debconf-updatepo was not run in previous versions, the French
  translation was outdated. Hence fix it.
* Remove several duplicate spaces in the debconf templates

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!-- $Id: arcsearch.tt2,v 1.4 2005/08/09 09:52:42 sympa-authors Exp $ -->
 
2
 
 
3
<h2>[%|loc%]Result of your search in the archive[%END%] 
 
4
<a href="[% path_cgi %]/arc/[% list %]/[% archive_name %]"><span style="color: [% dark_color %];">[% list %]</span></a> : </h2>
 
5
 
 
6
<p>[%|loc%]Search field :[%END%] 
 
7
[% FOREACH u = directories %]
 
8
 <a href="[% path_cgi %]/arc/[% list %]/[% u %]"><span style="color: [% dark_color %];">[% u %]</font></a> - 
 
9
[% END %]
 
10
</p>
 
11
<p>
 
12
[%|loc(key_word)%]Parameters of these search make on <strong> &quot;%1&quot;</strong>[%END%] 
 
13
<em>
 
14
 
 
15
[% IF how == 'phrase' %]
 
16
        [%|loc%](This sentence,[%END%] 
 
17
[% ELSIF how == 'any' %]
 
18
        [%|loc%](All of this words,[%END%] 
 
19
[% ELSE %]
 
20
        [%|loc%](Each of this words,[%END%] 
 
21
[% END %]
 
22
 
 
23
[% IF case %]
 
24
        [%|loc%]case insensitive[%END%] 
 
25
[% ELSE %]
 
26
        [%|loc%]case sensitive[%END%] 
 
27
[% END %]
 
28
 
 
29
[% IF match %]
 
30
        [%|loc%]and checking on part of word)[%END%]
 
31
[% ELSE %]
 
32
        [%|loc%]and checking on entire word)[%END%]
 
33
[% END %]
 
34
</em>
 
35
</p>
 
36
 
 
37
<hr />
 
38
 
 
39
[% IF age == new %]
 
40
        <p><strong>[%|loc%]Newest messages first[%END%]</strong></p>
 
41
[% ELSE %]
 
42
        <p><strong>[%|loc%]Oldest messages first[%END%]</strong></p>
 
43
[% END %]
 
44
 
 
45
<dl>
 
46
[% FOREACH u = res %]
 
47
        <dt><a href=[% u.file %]>[% u.subj %]</a> -- <em>[% u.date %]</em><dd>[% u.from %]<pre>[% u.body_string %]</pre></dd>
 
48
[% END %]
 
49
</dl>
 
50
 
 
51
<dl>
 
52
<strong>[%|loc%]Result[%END%]</strong>
 
53
<dt><strong>[%|loc(searched,num)%]%1 messages selected out of %2[%END%]...</strong><br />
 
54
 
 
55
[% IF body %]
 
56
        <dd>[%|loc(body_count)%]%1 hits on message's Body[%END%]<br /></dd>
 
57
[% END %]
 
58
 
 
59
[% IF subj %]
 
60
        <dd>[%|loc(subj_count)%]%1 hits on message's Subject field[%END%]<br /></dd>
 
61
[% END %]
 
62
 
 
63
[% IF from %]
 
64
        <dd>[%|loc(from_count)%] %1 hits on message's From field[%END%]<br /></dd>
 
65
[% END %]
 
66
 
 
67
[% IF date %]
 
68
        <dd>[%|loc(date_count)%]%1 hits on message's Date field[%END%]<br /></dd>
 
69
[% END %]
 
70
 
 
71
</dl>
 
72
 
 
73
<form method="post" action="[% path_cgi %]">
 
74
<input type="hidden" name="list" value="[% list %]" />
 
75
<input type="hidden" name="archive_name" value="[% archive_name %]" />
 
76
<input type="hidden" name="key_word" value="[% key_word %]" />
 
77
<input type="hidden" name="how" value="[% how %]" />
 
78
<input type="hidden" name="age" value="[% age %]" />
 
79
<input type="hidden" name="case" value="[% case %]" />
 
80
<input type="hidden" name="match" value="[% match %]" />
 
81
<input type="hidden" name="limit" value="[% limit %]" />
 
82
<input type="hidden" name="body_count" value="[% body_count %]" />
 
83
<input type="hidden" name="date_count" value="[% date_count %]" />
 
84
<input type="hidden" name="from_count" value="[% from_count %]" />
 
85
<input type="hidden" name="subj_count" value="[% subj_count %]" />
 
86
<input type="hidden" name="previous" value="[% searched %]" />
 
87
 
 
88
[% IF body %]
 
89
        <input type="hidden" name="body" value="[% body %]" />
 
90
[% END %]
 
91
 
 
92
[% IF subj %]
 
93
        <input type="hidden" name="subj" value="[% subj %]" />
 
94
[% END %]
 
95
 
 
96
[% IF from %]
 
97
        <input type="hidden" name="from" value="[% from %]" />
 
98
[% END %]
 
99
 
 
100
[% IF date %]
 
101
        <input type="hidden" name="date" value="[% date %]" />
 
102
[% END %]
 
103
 
 
104
[% FOREACH u = directories %]
 
105
        <input type="hidden" name="directories" value="[% u %]" />
 
106
[% END %]
 
107
 
 
108
[% IF continue %]
 
109
        <input class="MainMenuLinks" name="action_arcsearch" type="submit" value="[%|loc%]Continue search[%END%]" />
 
110
[% END %]
 
111
 
 
112
<input class="MainMenuLinks" name="action_arcsearch_form" type="submit" value="[%|loc%]New search[%END%]" />
 
113
</form>
 
114
<hr />
 
115
<p>[%|loc%]Based on <em><a href="http://www.mhonarc.org/contrib/marc-search/">Marc-Search</a></em>, search engine of MHonArc archives[%END%]</p>
 
116
 
 
117
 
 
118
<a href="[% path_cgi %]/arc/[% list %]/[% archive_name %]"><strong>[%|loc(archive_name)%]Return to archive %1[%END%] 
 
119
</strong></a><br />