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

Legend:
Removed from v.101  
changed lines
  Added in v.133

  ViewVC Help
Powered by ViewVC 1.1.26