/[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 32 by dpavlin, Sun May 9 09:48:38 2004 UTC revision 42 by dpavlin, Mon May 10 22:04:01 2004 UTC
# Line 1  Line 1 
1  <span class="results">  <span class="results">
2  [% IF results.size < total_hits %]<abbr title="showing">[% results.size %]</abbr>/[% END %][% total_hits %]  [% IF results.size < total_hits %]<abbr title="showing">[% results.size %]</abbr>/[% END %][% total_hits %]
3  [% IF total_hits > 1 %]messages[% ELSE %]message[% END %]  [% IF total_hits > 1 %]messages[% ELSE %]message[% END %]
4    ([% IF param.full_body %]<a href="[% url_search(param.search) %]&full_body=0">show brief</a>[% ELSE %]<a href="[% url_search(param.search) %]&full_body=1">show full</a>[% END %])
5  [% IF param.search %]  [% IF param.search %]
6  for  for
7   <span class="search_query">   <span class="search_query">
# Line 22  Sort by: [% sort_bar(param,"","&nbsp;|&n Line 23  Sort by: [% sort_bar(param,"","&nbsp;|&n
23    
24  [% FOR msg = results %]  [% FOR msg = results %]
25  <div class="headers">  <div class="headers">
26  <span class="search">[% search('subject',msg.subject,param.sort_by,'[?]') %]</span>  <span class="search">[% search('subject',msg.subject,param.sort_by,'?') %]</span>
27  <span class="subject"><a href="[% url_show_id(msg.id) %]">[% msg.subject %]</a></span>  <span class="subject"><a href="[% url_show_id(msg.id) %]">[% msg.subject %]</a></span>
28  <br>  <br>
29  [% from(msg) %]  [% from(msg) %]
30  [% date(msg) %]  [% date(msg) %]
31    <span class="search"><a href="">+</a></span>
32    <span class="folder">[% folder(msg.id) %]</span>
33    <span class="search"><a href="">-</a></span>
34  <br>[% to(msg) %]  <br>[% to(msg) %]
35  </div>  </div>
36  <div class="message"><pre>[% FILTER body5 ; msg.body ; END %]</pre>  <div class="message">
37    [% IF param.full_body %]
38    <pre>[% FILTER body ; msg.body ; END %]</pre>
39    [% ELSE %]
40    <pre>[% FILTER body5 ; msg.body ; END %]</pre>
41    [% END %]
42  </div>  </div>
43  [% END %]  [% END %]
44    

Legend:
Removed from v.32  
changed lines
  Added in v.42

  ViewVC Help
Powered by ViewVC 1.1.26