/[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 132 - (show annotations)
Thu Nov 24 16:30:06 2005 UTC (18 years, 5 months ago) by dpavlin
File size: 1566 byte(s)
 r9102@llin:  dpavlin | 2005-11-24 14:45:57 +0100
 fade-(in|out) results

1 <!-- results -->
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 => 'show_searching();',
14 loaded => 'hide_searching();',
15 html_options => {
16 id => 'results_form',
17 }
18 ) %]
19
20 <!-- persistant fileds for search -->
21
22 <input name="all" type="hidden" size="60"/>
23 <input name="TitleProper" type="hidden" size="60"/>
24 <input name="PersonalName" type="hidden" size="60"/>
25
26 <input name="_template" type="hidden" id="template_name" />
27
28 <span style="float: left; font-size: 90%; color: #404040;">
29
30 [% hits = html_results.size %]
31
32 Found
33 [%- IF html_results.size == 100 ; -%]
34 more than
35 [%- END %]
36 [% hits %]
37 result
38 [%- IF hits > 1 ; 's' ; END %]
39 for '[% phrase %]'.
40
41 [% IF attr && attr.size %]
42 <span style="font-size: 80%; color: #a0a0a0;">
43 [
44 [% attr.join(", ") %]
45 ]
46 </span>
47 [% END %]
48
49 </span>
50
51
52
53 <span style="float: right; font-size: 80%; color: #808080;">
54 <a href="#" onclick="load_template('html_ffzg_results_nonstd.tt'); return false;">full</a>
55 <img src="img/star-red.gif"/>
56 <a href="#" onclick="load_template('html_ffzg_results_apa.tt'); return false;">APA</a>
57 <img src="img/star-red.gif"/>
58 <a href="#" onclick="load_template('html_ffzg_results_isbd.tt'); return false;">ISBD</a>
59 </span>
60
61 <br/>
62
63 <div style="clear: left; float; left;">
64
65 [% FOREACH r IN html_results %]
66 [% r %]
67 [% END %]
68
69 </div>
70
71 </form>
72
73 <div style="font-size: 80%; color: #a0a0a0;">
74 End of results.
75 </div>
76
77 <!-- end of results -->
78
79 <script type="text/javascript">
80 hide_searching();
81 </script>
82

  ViewVC Help
Powered by ViewVC 1.1.26