--- trunk/templates/results.html 2004/05/09 09:48:38 32 +++ trunk/templates/results.html 2004/05/10 22:04:01 42 @@ -1,6 +1,7 @@ [% IF results.size < total_hits %][% results.size %]/[% END %][% total_hits %] [% IF total_hits > 1 %]messages[% ELSE %]message[% END %] +([% IF param.full_body %]show brief[% ELSE %]show full[% END %]) [% IF param.search %] for @@ -22,14 +23,22 @@ [% FOR msg = results %]
-[% search('subject',msg.subject,param.sort_by,'[?]') %] +[% search('subject',msg.subject,param.sort_by,'?') %] [% msg.subject %]
[% from(msg) %] [% date(msg) %] ++ +[% folder(msg.id) %] +-
[% to(msg) %]
-
[% FILTER body5 ; msg.body ; END %]
+
+[% IF param.full_body %] +
[% FILTER body ; msg.body ; END %]
+[% ELSE %] +
[% FILTER body5 ; msg.body ; END %]
+[% END %]
[% END %]