/[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 27 - (show annotations)
Sat May 8 20:34:26 2004 UTC (20 years ago) by dpavlin
File MIME type: text/html
File size: 992 byte(s)
this is 0.9-rc1:
- scripts now accept configuration file as parametar, if none is specified,
  they will use global.conf in current directory
- more css design
- how to install using PAR
- mbox2index can now call swish-e by itself, swish-e configuration
  moved to MWS_swish.pm
- httpd server now shows 30 newest messages in this year when accessed
  through root URL

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

  ViewVC Help
Powered by ViewVC 1.1.26