/[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 137 by dpavlin, Thu Nov 24 22:29:39 2005 UTC revision 138 by dpavlin, Thu Nov 24 22:29:44 2005 UTC
# Line 1  Line 1 
1  <!-- results -->  <!-- results -->
2    
 <!--  
 <pre>[%  
         USE dumper;  
         dumper.dump( params )  
 %]</pre>  
 -->  
   
3  [% hits = html_results.size %]  [% hits = html_results.size %]
4    
5  [% IF hits < 1 %]  [% IF hits < 1 %]
# Line 15  Line 8 
8  </div>  </div>
9    
10   [% IF attr && attr.size %]   [% IF attr && attr.size %]
11   <span style="font-size: 80%; color: #a0a0a0;">   <span class="attr">[ [% attr.join(", ") %] ]</span>
   [ [% attr.join(", ") %] ]  
  </span>  
12   [% END %]   [% END %]
13   [% STOP %]   [% STOP %]
14  [% END %]  [% END %]
15    
16  <div>  <div>
17    
 [% c.prototype.form_remote_tag(  
         url => base _ 'results',  
         update => 'results',  
         loading => 'show_searching();',  
         loaded => 'hide_searching();',  
         html_options => {  
                 id => 'results_form',  
                 name => 'results_form',  
         }  
 ) %]  
   
 <!-- persistant fileds for search -->  
   
 <input name="all" type="hidden" />  
 <input name="_all" type="hidden" />  
 <input name="TitleProper" type="hidden" />  
 <input name="PersonalName" type="hidden" />  
   
 <input name="_template" type="hidden" id="template_name" />  
   
 <span style="float: left; font-size: 90%; color: #404040;">  
18    
19    <span class="results">
20    
21  Found  Found
22  [%- IF hits == 100 ; -%]  [%- IF hits == 100 ; -%]
# Line 57  result Line 28  result
28  for '[% phrase %]'.  for '[% phrase %]'.
29    
30  [% IF attr && attr.size %]  [% IF attr && attr.size %]
31  <span style="font-size: 80%; color: #a0a0a0;">  <span class="attr">[ [% attr.join(", ") %] ]</span>
 [  
 [% attr.join(", ") %]  
 ]  
 </span>  
32  [% END %]  [% END %]
33    
34  </span>  </span>
35    
36    
37    
38  <span style="float: right; font-size: 80%; color: #808080;">  <span class="switch_template">
39    <a href="#" onclick="load_template('html_ffzg_results_nonstd.tt'); return false;">full</a>    <a href="#" onclick="load_template('html_ffzg_results_nonstd.tt'); return false;">full</a>
40    <img src="img/star-red.gif"/>    <img src="img/star-red.gif"/>
41    <a href="#" onclick="load_template('html_ffzg_results_apa.tt'); return false;">APA</a>    <a href="#" onclick="load_template('html_ffzg_results_apa.tt'); return false;">APA</a>
# Line 78  for '[% phrase %]'. Line 45  for '[% phrase %]'.
45    
46  <br/>  <br/>
47    
48  <div style="clear: left; float; left;">  <div class="html_results">
49    
50  [% FOREACH r IN html_results %]  [% FOREACH r IN html_results %]
51  [% r %]  [% r %]
# Line 86  for '[% phrase %]'. Line 53  for '[% phrase %]'.
53    
54  </div>  </div>
55    
56  </form>  </div>
   
 <div>  
57    
58  <div style="font-size: 80%; color: #a0a0a0;">  <div class="notice">
59  End of results.  End of results.
60  </div>  </div>
61    
 <!-- end of results -->  
   
62  <script type="text/javascript">  <script type="text/javascript">
63  hide_searching();  hide_searching();
64  </script>  </script>
65    
66    <!-- /results -->
67    

Legend:
Removed from v.137  
changed lines
  Added in v.138

  ViewVC Help
Powered by ViewVC 1.1.26