/[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 24 - (hide annotations)
Sat May 8 14:27:54 2004 UTC (20 years ago) by dpavlin
File MIME type: text/html
File size: 645 byte(s)
another major update:
- sort is implemented
- search_filter from httpd.pl and all macros moved to macros.tt2
- URL parametars are now correctly escaped

1 dpavlin 24 Found [% total_hits %] messages, showing first <b>[% results.size %]</b>,
2     query <tt>[% param.search %]</tt>
3 dpavlin 21 [% IF date_limit %]
4     , date limit <tt>[% date_limit %]</tt>
5     <a href="/[% url_search %]">off</a>
6     [% END %]
7 dpavlin 24 , sort by [% sort_bar(param,"[&nbsp;","&nbsp;|&nbsp;","&nbsp;]") %]
8 dpavlin 4
9 dpavlin 7 [% FOR msg = results %]
10     <hr>
11 dpavlin 24 <span class="subject"><a href="[% url_show_id(msg.id) %]">[% msg.subject %]</a></span>
12 dpavlin 13 <br>
13     [% from(msg) %]
14     [% date(msg) %]
15     <br>[% to(msg) %]
16 dpavlin 14 <pre>[% FILTER html %][% FILTER body5 ; msg.body ; END %][% END %]</pre>
17 dpavlin 6 [% END %]
18 dpavlin 19
19     [% IF total_hits - results.size > 0 %]
20     <hr>
21     There are [% total_hits - results.size %] more hits.
22     [% END %]

  ViewVC Help
Powered by ViewVC 1.1.26