/[mws]/trunk/templates/results.html
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/templates/results.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32 - (show annotations)
Sun May 9 09:48:38 2004 UTC (19 years, 11 months ago) by dpavlin
File MIME type: text/html
File size: 1011 byte(s)
fixed url_search, spelling corrections

1 <span class="results">
2 [% IF results.size < total_hits %]<abbr title="showing">[% results.size %]</abbr>/[% END %][% total_hits %]
3 [% IF total_hits > 1 %]messages[% ELSE %]message[% END %]
4 [% IF param.search %]
5 for
6 <span class="search_query">
7 [% param.search %]
8 </span>
9 [% END %]
10 </span>
11
12 [% IF date_limit %]
13 <span class="date_limit">
14 Date limit:
15 <a href="/[% url_search(param.search) %]">[% date_limit %]</a>
16 </span>
17 [% END %]
18
19 <span class="sort">
20 Sort by: [% sort_bar(param,"","&nbsp;|&nbsp;","") %]
21 </span>
22
23 [% FOR msg = results %]
24 <div class="headers">
25 <span class="search">[% search('subject',msg.subject,param.sort_by,'[?]') %]</span>
26 <span class="subject"><a href="[% url_show_id(msg.id) %]">[% msg.subject %]</a></span>
27 <br>
28 [% from(msg) %]
29 [% date(msg) %]
30 <br>[% to(msg) %]
31 </div>
32 <div class="message"><pre>[% FILTER body5 ; msg.body ; END %]</pre>
33 </div>
34 [% END %]
35
36 [% IF total_hits - results.size > 0 %]
37 <span class="notice">
38 There are [% total_hits - results.size %] more hits.
39 </span>
40 [% END %]

  ViewVC Help
Powered by ViewVC 1.1.26