/[webpac]/trunk/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 /trunk/template_html/results.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 675 - (hide annotations)
Mon Feb 21 22:21:53 2005 UTC (16 years, 1 month ago) by dpavlin
File MIME type: text/html
File size: 3573 byte(s)
bugfix: re-enable HTML::FillInForm to create persistent search using
<TMPL_VAR NAME="SEARCH_HIDDEN"> in form which has just "back to search"
button. You can use this variable to dump persistant search variables
without rm (runmode of CGI::Application)

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 675 <TMPL_VAR NAME="SEARCH_HIDDEN">
6 dpavlin 51
7 dpavlin 85 <!--
8 dpavlin 7 <input type=submit value="Prija¹nja pretra¾ivanja" class="navigacija">
9     <input type=submit value="Korisnièke mape" class="navigacija" >
10     <input type=submit value="Korisnièke postavke" class="navigacija">
11 dpavlin 85
12     -->
13    
14 dpavlin 7 </form>
15    
16 dpavlin 85
17 dpavlin 7 <h2>Rezultati pretra¾ivanja</h2>
18    
19 dpavlin 47 <form>
20 dpavlin 7
21 dpavlin 161 <TMPL_IF NAME="hits">
22 dpavlin 617 <p>Na upit <TMPL_VAR search> pronaðeno je <TMPL_VAR hits> rezultata ...
23 dpavlin 161 </p>
24 dpavlin 47
25 dpavlin 659 <p>Sortiraj prema:
26 dpavlin 660 <a href="<TMPL_VAR NAME="url_params_paths">&sortby=personalname_swish">autoru</a>,
27     <a href="<TMPL_VAR NAME="url_params_paths">&sortby=titleandresponsibility_swish">naslovu</a>,
28     <a href="<TMPL_VAR NAME="url_params_paths">&sortby=personalname_swish titleandresponsibility_swish">autoru i naslovu</a>,
29     <a href="<TMPL_VAR NAME="url_params_paths">&sortby=titleandresponsibility_swish personalname_swish">naslovu i autoru</a>
30 dpavlin 659 </p>
31    
32 dpavlin 161 <TABLE BORDER=1 WIDTH="100%">
33     <TR><TD class="results" colspan=2>
34 dpavlin 47
35 dpavlin 161 <!-- FIXME
36     <pre>
37     last_PAGER_offset: <TMPL_VAR last_PAGER_offset>
38     PAGER_offset: <TMPL_VAR PAGER_offset>
39     </pre>
40     -->
41 dpavlin 51
42 dpavlin 161 <TMPL_IF NAME="full">
43 dpavlin 47
44 dpavlin 161 <input type=submit value="Natrag na listu rezultata">
45     <input type="hidden" name="PAGER_offset" value="<TMPL_VAR last_PAGER_offset>" />
46 dpavlin 47
47 dpavlin 161 </td></tr>
48 dpavlin 114
49 dpavlin 161 <TMPL_LOOP NAME="PAGER_DATA_LIST">
50     <TR>
51     <td class="results"><TMPL_VAR NAME="nr"></td>
52     <td class="results">
53     <!--
54     <TMPL_VAR NAME="headline">
55     <i><TMPL_VAR NAME="path"></i>
56     <b><TMPL_VAR NAME="rank"></b>
57     -->
58     </td>
59     </tr>
60     <tr>
61     <td colspan="2">
62     <table class="results" border=0> <TMPL_VAR NAME="html"> </table>
63     </td>
64     </TR>
65     </TMPL_LOOP>
66 dpavlin 47
67 dpavlin 161 <TMPL_ELSE>
68 dpavlin 47
69 dpavlin 161 <input nowrap type=button value="+" onClick="do_checkbox('path',1)">
70     <input nowrap type=button value="-" onClick="do_checkbox('path',0)">
71     <input nowrap type=button value="&#177;" onClick="do_checkbox('path',-1)">
72 dpavlin 271 <input nowrap type=submit name="show_full" value="Poka¾i detalje o odabranim jedinicama" onClick="PAGER_set_offset_and_submit(<TMPL_VAR PAGER_offset>);">
73 dpavlin 161 <input type="hidden" name="last_PAGER_offset" value="<TMPL_VAR PAGER_offset>" />
74 dpavlin 51
75 dpavlin 161 </td></tr>
76 dpavlin 114
77 dpavlin 161 <TMPL_LOOP NAME="PAGER_DATA_LIST">
78     <TR>
79     <td class="results" nowrap width="1%"><input type=checkbox name="path" value="<TMPL_VAR NAME="path">"><TMPL_VAR NAME="nr"></td>
80     <td class="results" width="99%">
81     <a href="<TMPL_VAR NAME="url_params">&path=<TMPL_VAR NAME="path" escape="URL">" class="headline"><TMPL_VAR NAME="headline"></a>
82     <!--
83     <i><TMPL_VAR NAME="path"></i>
84     <b><TMPL_VAR NAME="rank"></b>
85     -->
86     </td>
87     </TR>
88     </TMPL_LOOP>
89 dpavlin 47
90 dpavlin 161 </TMPL_IF>
91 dpavlin 47
92 dpavlin 161 <tr><td colspan=2>
93     <TMPL_IF NAME="full">
94     <input type=submit value="Natrag na listu rezultata">
95     <TMPL_ELSE>
96     <input nowrap type=button value="+" onClick="do_checkbox('path',1)">
97     <input nowrap type=button value="-" onClick="do_checkbox('path',0)">
98     <input nowrap type=button value="&#177;" onClick="do_checkbox('path',-1)">
99 dpavlin 271 <input type=submit name="show_full" value="Poka¾i detalje o odabranim jedinicama" onClick="PAGER_set_offset_and_submit(<TMPL_VAR last_PAGER_offset>);">
100 dpavlin 161 </TMPL_IF>
101     </td></tr>
102     <TR><TD COLSPAN=2 ALIGN=CENTER class="navigacija">
103     <TMPL_VAR NAME="PAGER_PREV">
104     <TMPL_VAR NAME="PAGER_JUMP">
105     <TMPL_VAR NAME="PAGER_NEXT">
106     </TD></TR>
107     </TABLE>
108     <TMPL_VAR NAME="PAGER_HIDDEN">
109     </FORM>
110    
111 dpavlin 115 <TMPL_ELSE>
112 dpavlin 161 <!-- no results -->
113 dpavlin 617 <p>Na upit <TMPL_VAR search> nema rezultata ...</p>
114 dpavlin 115 </TMPL_IF>

Properties

Name Value
cvs2svn:cvs-rev 1.15

  ViewVC Help
Powered by ViewVC 1.1.26