/[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 93 by dpavlin, Tue Nov 22 12:57:15 2005 UTC revision 129 by dpavlin, Thu Nov 24 12:17:55 2005 UTC
# Line 1  Line 1 
1  <h1>Results should be here</h1>  <!-- results -->
   
 <em>they are none, move on...</em>  
2    
3    <!--
4  <pre>[%  <pre>[%
5          USE dumper;          USE dumper;
6          dumper.dump(results)          dumper.dump( params )
7  %]</pre>  %]</pre>
8    -->
9    
10  [% FOREACH r IN results %]  [% 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    </span>
37    
38    <span style="float: right; font-size: 80%; color: #808080;">
39      <a href="#" onclick="load_template('html_ffzg_results_nonstd.tt'); return false;">full</a>
40      <img src="img/star-red.gif"/>
41      <a href="#" onclick="load_template('html_ffzg_results_apa.tt'); return false;">APA</a>
42      <img src="img/star-red.gif"/>
43      <a href="#" onclick="load_template('html_ffzg_results_isbd.tt'); return false;">ISBD</a>
44    </span>
45    
46  <small>[% r %]</small>  <br/>
47    
48    [% FOREACH r IN html_results %]
49    [% r %]
50  [% END %]  [% END %]
51    
52  <br/><tt>_EOF_</tt>  </form>
53    
54    <br/>
55    <tt>End of results.</tt>
56    
57    <!-- end of results -->

Legend:
Removed from v.93  
changed lines
  Added in v.129

  ViewVC Help
Powered by ViewVC 1.1.26