/[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 38 - (show annotations)
Mon May 10 14:07:04 2004 UTC (20 years ago) by dpavlin
File MIME type: text/html
File size: 1283 byte(s)
show brief (just first 5 lines of body, without quotes) or full message body

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 <br>[% to(msg) %]
32 </div>
33 <div class="message">
34 [% IF param.full_body %]
35 <pre>[% FILTER body ; msg.body ; END %]</pre>
36 [% ELSE %]
37 <pre>[% FILTER body5 ; msg.body ; END %]</pre>
38 [% END %]
39 </div>
40 [% END %]
41
42 [% IF total_hits - results.size > 0 %]
43 <span class="notice">
44 There are [% total_hits - results.size %] more hits.
45 </span>
46 [% END %]

  ViewVC Help
Powered by ViewVC 1.1.26