/[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 6 - (show annotations)
Wed May 5 13:42:27 2004 UTC (20 years ago) by dpavlin
File MIME type: text/html
File size: 545 byte(s)
Implemented httpd server based on HTTP::Daemon and CGI::Lite.


1 Search results for <tt>[% query %]</tt>
2 produced [% results.size %] results...
3
4 [% MACRO message(subject, from, body) BLOCK; %]
5 <h1 style="color: #808080">[% subject %]</h1>
6 <h2>
7 [% FOREACH f IN from %]
8 [% search('from_phrase',f) %][% IF !loop.last %],[% END %]
9 [% END %]
10 </h2>
11 <pre>[% FILTER body5 %][% body %][% END %]</pre>
12 [% END %]
13
14
15 [% MACRO search(fld,text) BLOCK; %]
16 <a href="?search=[% fld %]:[% text %]">[% text %]</a>
17 [% END %]
18
19
20 [% FOR result = results %]
21 <hr>
22 [% message(result.subject, result.from, result.body) %]
23 [% END %]

  ViewVC Help
Powered by ViewVC 1.1.26