/[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 28 - (show annotations)
Sat May 8 22:18:38 2004 UTC (20 years ago) by dpavlin
File MIME type: text/html
File size: 1024 byte(s)
v0.9-rc2: bugfixes and small improvements
- added quote and signature styles
- better detection of quotes/signagures (and removal)
- back to home link (#) to get you out of search
- on root url (/) messages are sorted descending by date, as they should

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 %]">[% 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">
33 <pre>[% FILTER html %][% FILTER body5 ; msg.body ; END %][% END %]</pre>
34 </div>
35 [% END %]
36
37 [% IF total_hits - results.size > 0 %]
38 <span class="notice">
39 There are [% total_hits - results.size %] more hits.
40 </span>
41 [% END %]

  ViewVC Help
Powered by ViewVC 1.1.26