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

Diff of /trunk/templates/results.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4 by dpavlin, Tue May 4 15:47:14 2004 UTC revision 6 by dpavlin, Wed May 5 13:42:27 2004 UTC
# Line 1  Line 1 
1  Search results for [% query %] produced [% results.size %] results...  Search results for <tt>[% query %]</tt>
2    produced [% results.size %] results...
3    
4  <hr>  [% MACRO message(subject, from, body) BLOCK; %]
5  [% FOR result = results %]  <h1 style="color: #808080">[% subject %]</h1>
6  <big style="color: #808080">[% result.subject %]</big>  <h2>
7  <br>   [% FOREACH f IN from %]
8   [% FOR f = result.from %]    [% search('from_phrase',f) %][% IF !loop.last %],[% END %]
   <em>[% f %]</em>,  
9   [% END %]   [% 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    
 <br><pre>  
 [% result.body %]  
 </pre>  
19    
20    [% FOR result = results %]
21     <hr>
22     [% message(result.subject, result.from, result.body) %]
23  [% END %]  [% END %]

Legend:
Removed from v.4  
changed lines
  Added in v.6

  ViewVC Help
Powered by ViewVC 1.1.26