/[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

Diff of /Webpacus/root/results.tt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 95 by dpavlin, Tue Nov 22 12:57:25 2005 UTC revision 130 by dpavlin, Thu Nov 24 12:18:00 2005 UTC
# Line 1  Line 1 
1    <!-- results -->
2    
3    <!--
4  <pre>[%  <pre>[%
5          USE dumper;          USE dumper;
6          # dumper.dump(results)          dumper.dump( params )
7  %]</pre>  %]</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    Found
31    [%- IF html_results.size == 100 ; -%]
32    more than
33    [%- END %]
34    [% html_results.size %] results for '[% phrase %]'.
35    
36    [% IF attr %]
37    <span style="font-size: 80%; color: #a0a0a0;">
38    [
39    [% attr.join(", ") %]
40    ]
41    </span>
42    [% END %]
43    
44  [% FOREACH r IN results %]  </span>
45  [% r.html %]  
46  <hr/>  
47    
48    <span style="float: right; font-size: 80%; color: #808080;">
49      <a href="#" onclick="load_template('html_ffzg_results_nonstd.tt'); return false;">full</a>
50      <img src="img/star-red.gif"/>
51      <a href="#" onclick="load_template('html_ffzg_results_apa.tt'); return false;">APA</a>
52      <img src="img/star-red.gif"/>
53      <a href="#" onclick="load_template('html_ffzg_results_isbd.tt'); return false;">ISBD</a>
54    </span>
55    
56    <br/>
57    
58    <div style="clear: left; float; left;">
59    
60    [% FOREACH r IN html_results %]
61    [% r %]
62  [% END %]  [% END %]
63    
64  <br/><tt>_EOF_</tt>  </div>
65    
66    </form>
67    
68    <br/>
69    <tt>End of results.</tt>
70    
71    <!-- end of results -->

Legend:
Removed from v.95  
changed lines
  Added in v.130

  ViewVC Help
Powered by ViewVC 1.1.26