/[webpac2]/Webpacus/root/results.tt
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 /Webpacus/root/results.tt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 101 - (show annotations)
Tue Nov 22 15:29:06 2005 UTC (18 years, 5 months ago) by dpavlin
File size: 586 byte(s)
 r9042@llin:  dpavlin | 2005-11-22 16:30:41 +0100
 added template switching in search results using _template variable

1
2
3 <!--
4 <pre>[%
5 USE dumper;
6 dumper.dump( params )
7 %]</pre>
8 -->
9
10 [% c.prototype.form_remote_tag(
11 url => base _ 'results',
12 update => 'results',
13 loading => " Effect.Appear('searching'); ",
14 loaded => " Effect.Fade('searching'); ",
15 html_options => {
16 id => 'results_form',
17 }
18 ) %]
19
20 <!-- persistant fileds for search -->
21
22 <input name="TitleProper" type="hidden" size="60"/>
23 <input name="PersonalName" type="hidden" size="60"/>
24
25 <input name="_template" type="hidden" id="template_name" />
26
27 [% FOREACH r IN html_results %]
28 [% r %]
29 <hr/>
30 [% END %]
31
32 </form>
33
34 <br/><tt>End of results.</tt>

  ViewVC Help
Powered by ViewVC 1.1.26