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