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


1 dpavlin 6 Search results for <tt>[% query %]</tt>
2     produced [% results.size %] results...
3 dpavlin 4
4 dpavlin 6 [% 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 dpavlin 4 [% END %]
10 dpavlin 6 </h2>
11     <pre>[% FILTER body5 %][% body %][% END %]</pre>
12     [% END %]
13 dpavlin 4
14    
15 dpavlin 6 [% MACRO search(fld,text) BLOCK; %]
16     <a href="?search=[% fld %]:[% text %]">[% text %]</a>
17 dpavlin 4 [% END %]
18 dpavlin 6
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