/[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

Annotation of /trunk/templates/results.html

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.26