/[webpac]/branches/fsb/template_html/results.html
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /branches/fsb/template_html/results.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 156 - (hide annotations)
Mon Nov 17 20:46:18 2003 UTC (18 years, 6 months ago) by dpavlin
Original Path: trunk/template_html/results.html
File MIME type: text/html
File size: 2767 byte(s)
added template example (which include do_checkbox JavaScript)
added select all/none/toggle at results page (usage of do_checkbox.js)

1 dpavlin 7 <TMPL_VAR NAME="PAGER_JAVASCRIPT">
2    
3 dpavlin 85 <form method=post>
4     <input type=submit value="Natrag na pretra¾ivanje" class="navigacijaDISABLED">
5 dpavlin 51
6 dpavlin 85 <!--
7 dpavlin 7 <input type=submit value="Prija¹nja pretra¾ivanja" class="navigacija">
8     <input type=submit value="Korisnièke mape" class="navigacija" >
9     <input type=submit value="Korisnièke postavke" class="navigacija">
10 dpavlin 85
11     -->
12    
13 dpavlin 7 </form>
14    
15 dpavlin 85
16 dpavlin 7 <h2>Rezultati pretra¾ivanja</h2>
17    
18 dpavlin 47 <form>
19 dpavlin 7
20 dpavlin 47 <p>Your query <TMPL_VAR search> returned <TMPL_VAR hits> results...
21     </p>
22    
23 dpavlin 114 <TABLE BORDER=1 WIDTH="100%">
24     <TR><TD class="results" colspan=2>
25 dpavlin 47
26 dpavlin 51 <!-- FIXME
27     <pre>
28     last_PAGER_offset: <TMPL_VAR last_PAGER_offset>
29     PAGER_offset: <TMPL_VAR PAGER_offset>
30     </pre>
31     -->
32    
33 dpavlin 47 <TMPL_IF NAME="full">
34    
35 dpavlin 155 <input type=submit value="Natrag na listu rezultata">
36 dpavlin 51 <input type="hidden" name="PAGER_offset" value="<TMPL_VAR last_PAGER_offset>" />
37 dpavlin 47
38 dpavlin 114 </td></tr>
39    
40 dpavlin 7 <TMPL_LOOP NAME="PAGER_DATA_LIST">
41     <TR>
42 dpavlin 113 <td class="results"><TMPL_VAR NAME="nr"></td>
43     <td class="results">
44 dpavlin 68 <!--
45     <TMPL_VAR NAME="headline">
46 dpavlin 47 <i><TMPL_VAR NAME="path"></i>
47     <b><TMPL_VAR NAME="rank"></b>
48 dpavlin 68 -->
49 dpavlin 47 </td>
50     </tr>
51 dpavlin 85 <tr>
52 dpavlin 68 <td colspan="2">
53 dpavlin 113 <table class="results" border=0> <TMPL_VAR NAME="html"> </table>
54 dpavlin 114 </td>
55 dpavlin 47 </TR>
56     </TMPL_LOOP>
57    
58     <TMPL_ELSE>
59    
60 dpavlin 156 <input nowrap type=button value="+" onClick="do_checkbox('path',1)">
61     <input nowrap type=button value="-" onClick="do_checkbox('path',0)">
62     <input nowrap type=button value="&#177;" onClick="do_checkbox('path',-1)">
63 dpavlin 155 <input nowrap type=submit name="show_full" value="Poka¾i detalje o odabranim jedinicama" onClick="PAGER_set_offset_and_submit(0);">
64 dpavlin 51 <input type="hidden" name="last_PAGER_offset" value="<TMPL_VAR PAGER_offset>" />
65    
66 dpavlin 114 </td></tr>
67    
68 dpavlin 47 <TMPL_LOOP NAME="PAGER_DATA_LIST">
69     <TR>
70 dpavlin 114 <td class="results" nowrap width="1%"><input type=checkbox name="path" value="<TMPL_VAR NAME="path">"><TMPL_VAR NAME="nr"></td>
71     <td class="results" width="99%">
72 dpavlin 126 <a href="<TMPL_VAR NAME="url_params">&path=<TMPL_VAR NAME="path" escape="URL">" class="headline"><TMPL_VAR NAME="headline"></a>
73 dpavlin 68 <!--
74 dpavlin 7 <i><TMPL_VAR NAME="path"></i>
75     <b><TMPL_VAR NAME="rank"></b>
76 dpavlin 68 -->
77 dpavlin 7 </td>
78     </TR>
79     </TMPL_LOOP>
80 dpavlin 47
81     </TMPL_IF>
82    
83 dpavlin 115 <tr><td colspan=2>
84     <TMPL_IF NAME="full">
85 dpavlin 155 <input type=submit value="Natrag na listu rezultata">
86 dpavlin 115 <TMPL_ELSE>
87 dpavlin 156 <input nowrap type=button value="+" onClick="do_checkbox('path',1)">
88     <input nowrap type=button value="-" onClick="do_checkbox('path',0)">
89     <input nowrap type=button value="&#177;" onClick="do_checkbox('path',-1)">
90 dpavlin 155 <input type=submit name="show_full" value="Poka¾i detalje o odabranim jedinicama" onClick="PAGER_set_offset_and_submit(0);">
91 dpavlin 115 </TMPL_IF>
92     </td></tr>
93 dpavlin 114 <TR><TD COLSPAN=2 ALIGN=CENTER class="navigacija">
94 dpavlin 7 <TMPL_VAR NAME="PAGER_PREV">
95     <TMPL_VAR NAME="PAGER_JUMP">
96     <TMPL_VAR NAME="PAGER_NEXT">
97     </TD></TR>
98     </TABLE>
99     <TMPL_VAR NAME="PAGER_HIDDEN">
100     </FORM>

Properties

Name Value
cvs2svn:cvs-rev 1.14

  ViewVC Help
Powered by ViewVC 1.1.26