/[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 7 by dpavlin, Wed May 5 15:38:35 2004 UTC revision 24 by dpavlin, Sat May 8 14:27:54 2004 UTC
# Line 1  Line 1 
1  Search results for <tt>[% query %]</tt>  Found [% total_hits %] messages, showing first <b>[% results.size %]</b>,
2  produced [% results.size %] results...  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 %]  [% FOR msg = results %]
10   <hr>   <hr>
11  <h1 style="color: #808080"><a href="?show_id=[% msg.id %]">[% msg.subject %]</a></h1>  <span class="subject"><a href="[% url_show_id(msg.id) %]">[% msg.subject %]</a></span>
12  <h2>  <br>
13   [% FOREACH f IN msg.from %]  [% from(msg) %]
14    [% search('from_phrase',f) %][% IF !loop.last %],[% END %]  [% date(msg) %]
15   [% END %]  <br>[% to(msg) %]
16  </h2>  <pre>[% FILTER html %][% FILTER body5 ; msg.body ; END %][% END %]</pre>
17  <pre>[% FILTER body5 %][% msg.body %][% END %]</pre>  [% END %]
18    
19    [% IF total_hits - results.size > 0 %]
20    <hr>
21    There are [% total_hits - results.size %] more hits.
22  [% END %]  [% END %]

Legend:
Removed from v.7  
changed lines
  Added in v.24

  ViewVC Help
Powered by ViewVC 1.1.26