/[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 129 by dpavlin, Thu Nov 24 12:17:55 2005 UTC revision 136 by dpavlin, Thu Nov 24 22:29:34 2005 UTC
# Line 7  Line 7 
7  %]</pre>  %]</pre>
8  -->  -->
9    
10    [% hits = html_results.size %]
11    
12    [% IF hits < 1 %]
13    <div class="no_results">
14     No results
15    </div>
16     [% STOP %]
17    [% END %]
18    
19  [% c.prototype.form_remote_tag(  [% c.prototype.form_remote_tag(
20          url => base _ 'results',          url => base _ 'results',
21          update => 'results',          update => 'results',
# Line 19  Line 28 
28    
29  <!-- persistant fileds for search -->  <!-- persistant fileds for search -->
30    
31  <input name="all" type="hidden" size="60"/>  <input name="all" type="hidden" />
32  <input name="TitleProper" type="hidden" size="60"/>  <input name="_all" type="hidden" />
33  <input name="PersonalName" type="hidden" size="60"/>  <input name="TitleProper" type="hidden" />
34    <input name="PersonalName" type="hidden" />
35    
36  <input name="_template" type="hidden" id="template_name" />  <input name="_template" type="hidden" id="template_name" />
37    
38  <span style="float: left; font-size: 90%; color: #404040;">  <span style="float: left; font-size: 90%; color: #404040;">
39    
40    
41  Found  Found
42  [%- IF html_results.size == 100 ; -%]  [%- IF html_results.size == 100 ; -%]
43  more than  more than
44  [%- END %]  [%- END %]
45  [% html_results.size %] results for '[% phrase %]'.  [% hits %]
46    result
47    [%- IF hits > 1 ; 's' ; END %]
48    for '[% phrase %]'.
49    
50    [% IF attr && attr.size %]
51    <span style="font-size: 80%; color: #a0a0a0;">
52    [
53    [% attr.join(", ") %]
54    ]
55    </span>
56    [% END %]
57    
58  </span>  </span>
59    
60    
61    
62  <span style="float: right; font-size: 80%; color: #808080;">  <span style="float: right; font-size: 80%; color: #808080;">
63    <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>
64    <img src="img/star-red.gif"/>    <img src="img/star-red.gif"/>
# Line 45  more than Line 69  more than
69    
70  <br/>  <br/>
71    
72    <div style="clear: left; float; left;">
73    
74  [% FOREACH r IN html_results %]  [% FOREACH r IN html_results %]
75  [% r %]  [% r %]
76  [% END %]  [% END %]
77    
78    </div>
79    
80  </form>  </form>
81    
82  <br/>  <div style="font-size: 80%; color: #a0a0a0;">
83  <tt>End of results.</tt>  End of results.
84    </div>
85    
86  <!-- end of results -->  <!-- end of results -->
87    
88    <script type="text/javascript">
89    hide_searching();
90    </script>
91    

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

  ViewVC Help
Powered by ViewVC 1.1.26