/[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 42 - (show annotations)
Mon May 10 22:04:01 2004 UTC (19 years, 11 months ago) by dpavlin
File MIME type: text/html
File size: 1420 byte(s)
minor improvements and beginning of (non functional in this revision!) support
for folders

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

  ViewVC Help
Powered by ViewVC 1.1.26