/[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 48 - (show annotations)
Wed May 12 00:29:01 2004 UTC (20 years ago) by dpavlin
File MIME type: text/html
File size: 1643 byte(s)
another user-interface rework: titles for hrefs now show explanation of
(more clearly marked) links which work as buttons.

1 <table border=0 style="float:right">
2 <tr><td class="button">
3 [% sort_bar(param,"","","") %]
4 </td><td class="button">
5 [% IF date_limit %]
6 <a href="/[% url_search(param.search) %]" title="limit by date">[% date_limit %]</a>
7 </td><td class="button">
8 [% END %]
9 [% IF param.full_body %]
10 <a href="[% url_search(param.search) %]&full_body=0" title="show 5-lines body">brief</a>
11 [% ELSE %]
12 <a href="[% url_search(param.search) %]&full_body=1" title="show full messages">full</a>
13 [% END %]
14 </td></tr>
15 </table>
16
17 <div class="results_message">
18 [% IF results.size < total_hits %]<abbr title="showing">[% results.size %]</abbr>/[% END %][% total_hits %]
19 [% IF total_hits > 1 %]messages[% ELSE %]message[% END %]
20 [% IF param.search %]
21 for <span class="search_query">[% param.search %]</span>
22 [% END %]
23 </div>
24
25 <div>
26 [% FOR msg = results %]
27 <div class="headers">
28 <span class="button">[% search('subject',msg.subject,param.sort_by,'?','search by subject') %]</span>
29 <span class="subject"><a href="[% url_show_id(msg.id) %]">[% msg.subject %]</a></span>
30 <br>
31 [% from(msg) %]
32 [% date(msg) %]
33 <span class="folder">
34 <!--
35 [% IF param.search_fld != "folder" %]
36 <span class="button"><a href="">+</a></span>
37 [% END %]
38 -->
39 [% folder(msg.id) %]
40 <!--
41 <span class="button"><a href="">-</a></span>
42 -->
43 </span>
44 <br>[% to(msg) %]
45 </div>
46
47 <div class="message">
48 [% IF param.full_body %]
49 <pre>[% FILTER body ; msg.body ; END %]</pre>
50 [% ELSE %]
51 <pre>[% FILTER body5 ; msg.body ; END %]</pre>
52 [% END %]
53 </div>
54 [% END %]
55
56 [% IF total_hits - results.size > 0 %]
57 <span class="notice">
58 There are [% total_hits - results.size %] more hits.
59 </span>
60 [% END %]
61 </div>

  ViewVC Help
Powered by ViewVC 1.1.26