/[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

Contents of /trunk/template_html/results.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 675 - (show annotations)
Mon Feb 21 22:21:53 2005 UTC (15 years, 11 months 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 <TMPL_VAR NAME="PAGER_JAVASCRIPT">
2
3 <form method=post>
4 <input type=submit value="Natrag na pretra¾ivanje" class="navigacijaDISABLED">
5 <TMPL_VAR NAME="SEARCH_HIDDEN">
6
7 <!--
8 <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
12 -->
13
14 </form>
15
16
17 <h2>Rezultati pretra¾ivanja</h2>
18
19 <form>
20
21 <TMPL_IF NAME="hits">
22 <p>Na upit <TMPL_VAR search> pronaðeno je <TMPL_VAR hits> rezultata ...
23 </p>
24
25 <p>Sortiraj prema:
26 <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 </p>
31
32 <TABLE BORDER=1 WIDTH="100%">
33 <TR><TD class="results" colspan=2>
34
35 <!-- FIXME
36 <pre>
37 last_PAGER_offset: <TMPL_VAR last_PAGER_offset>
38 PAGER_offset: <TMPL_VAR PAGER_offset>
39 </pre>
40 -->
41
42 <TMPL_IF NAME="full">
43
44 <input type=submit value="Natrag na listu rezultata">
45 <input type="hidden" name="PAGER_offset" value="<TMPL_VAR last_PAGER_offset>" />
46
47 </td></tr>
48
49 <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
67 <TMPL_ELSE>
68
69 <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 <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 <input type="hidden" name="last_PAGER_offset" value="<TMPL_VAR PAGER_offset>" />
74
75 </td></tr>
76
77 <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
90 </TMPL_IF>
91
92 <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 <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 </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 <TMPL_ELSE>
112 <!-- no results -->
113 <p>Na upit <TMPL_VAR search> nema rezultata ...</p>
114 </TMPL_IF>

Properties

Name Value
cvs2svn:cvs-rev 1.15

  ViewVC Help
Powered by ViewVC 1.1.26