7da0443a2cd7845fa6ad11df55fd1b30ed49a59a
[koha-ffzg.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-results.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <!-- TMPL_VAR NAME="LibraryNameTitle" -->
3
4 <!-- TMPL_IF NAME="searchdesc" -->
5     Results of Search for '<!-- TMPL_VAR NAME="searchdesc" -->'
6 <!-- TMPL_ELSE -->
7     You did not specify any search criteria
8 <!-- /TMPL_IF -->
9
10 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
11
12 <!--TMPL_INCLUDE NAME="masthead.inc" -->
13 <!--TMPL_INCLUDE NAME="navigation.inc" -->
14
15 <!-- TMPL_IF NAME="koha_spsuggest" -->
16 <div style="font-size: 12px;">Did you mean:
17     <ul style="list-style: none;">
18         <!-- TMPL_LOOP NAME="SPELL_SUGGEST" -->
19         <li>
20             <a href="/cgi-bin/koha/opac-search.pl?q=<!-- TMPL_VAR NAME="spsuggestion" -->"><!-- TMPL_VAR NAME="spsuggestion" --></a>
21         </li>
22         <!-- /TMPL_LOOP -->
23     </ul>
24 </div>
25 <!-- /TMPL_IF -->
26
27 <!-- TMPL_IF NAME="total" -->
28 <h3><!-- TMPL_VAR NAME="total" --> results found for '<!-- TMPL_VAR NAME="searchdesc" -->'. <a href="/cgi-bin/koha/opac-search.pl">[ Perform a new search ]</a></h3>
29 <!-- TMPL_ELSE -->
30 <!-- TMPL_IF NAME="searchdesc" -->
31 <h3> No Result found !</h3>
32 <p>
33     No results match your search for <span style="font-weight: bold;">&ldquo;<!-- TMPL_VAR NAME="searchdesc" -->&rdquo;</span> in <!-- TMPL_VAR NAME="LibraryName" --> Catalog.
34 </p>
35 <a href="/cgi-bin/koha/opac-search.pl" title="New search">Perform a new search</a>
36 <!-- TMPL_ELSE -->
37 <h3> No result found !</h3>
38 <p>
39     You did not specify any search criteria.
40 </p>
41 <a href="/cgi-bin/koha/opac-search.pl" title="New search">Perform a new search</a>
42 <!-- /TMPL_IF -->
43 <!-- /TMPL_IF -->
44
45 <!-- TMPL_IF NAME="query_error" -->
46 <br /><br />
47 Error :
48 <span  class="problem">
49     <!-- TMPL_VAR NAME="query_error" -->
50 </span>
51 <!-- /TMPL_IF -->
52
53 <!-- Search Results Table -->
54 <!-- TMPL_IF NAME="total" -->
55 <!-- TMPL_IF NAME="scan" -->
56     <h1>Scan Index:</h1>
57     <form action="/cgi-bin/koha/opac-search.pl" method="post">
58         <table>
59             <tr>
60                 <td>
61                     Scan Index for: <input type="text" name="qf" id="scan-index" size="35" value="" />
62                 </td>
63             </tr>
64             <tr>
65                 <td>
66                     <label for="scan-index">Indexed in:</label>
67                     <select name="idx" id="scan-index">
68                         <option value="">Any Word</option>
69                         <option value="any/phr:">Any Phrase</option>
70                         <option value="ti:">Title</option>
71                         <option value="ti,phr:">Title Phrase</option>
72                         <option value="au,phr:">Author</option>
73                         <option value="su:">Subject</option>
74                         <option value="su,phr:">Subject Phrase</option>
75                         <option value="se:">Series</option>
76                         <option value="pb:">Publisher</option>
77                         <option value="nt:">Notes</option>
78                         <option value="se:">Series Title</option>
79                         <option value="sn:">ISBN</option>
80                         <option value="ss:">ISSN</option>
81                     </select>
82                     <input type="hidden" name="scan" value="1" />
83                 </td>
84             </tr>
85         </table>
86     </form>
87     
88     <form action="/cgi-bin/koha/opac-search.pl" method="post">
89         <table>
90             <tr>
91                 <th>Term/Phrase</th>
92                 <th>Count</th>
93             </tr>
94             <!-- TMPL_LOOP NAME="SEARCH_RESULTS" -->
95             <tr<!-- TMPL_IF name="even" --> class="highlight"<!-- /TMPL_IF -->>
96                 <td>
97                     <a href="/cgi-bin/koha/opac-search.pl?q=<!-- TMPL_VAR NAME="scan_use" escape="url" -->&quot;<!-- TMPL_VAR NAME="title" -->&quot;"><!-- TMPL_VAR NAME="title" --></a>
98                 </td>
99                 <td>
100                     <!-- TMPL_VAR NAME="subtitle" -->
101                 </td>
102             </tr>
103             <!-- /TMPL_LOOP -->
104         </table>
105     </form>
106 <!-- TMPL_ELSE -->
107
108 <form action="/cgi-bin/koha/opac-search.pl" method="post" name="myform" id="mainform">
109     
110     <!-- TMPL_IF NAME="searchdesc" -->
111     <input type="hidden" name="q" value="<!-- TMPL_VAR NAME="searchdesc" escape="html" -->" />
112     <!-- /TMPL_IF -->
113     
114     <div class="searchresults">
115         
116         <!-- RE-SORT START -->
117         <p>
118             Re-sort results
119             <select id="sort_by" name="sort_by" onChange="javascript:document.myform.submit();">
120                 <option value="">Field-weighted, Relevance Ranked</option>
121         <!--TMPL_IF Name="9523a"-->
122           <option value="1=9523 &gt;i" selected>Popularity (Most to Least)</option>
123         <!--TMPL_ELSE -->
124           <option value="1=9523 &gt;i">Popularity (Most to Least)</option>
125         <!--/TMPL_IF-->
126         <!--TMPL_IF Name="9523d"-->
127           <option value="1=9523 &lt;i" selected>Popularity (Least to Most)</option>
128         <!--TMPL_ELSE -->
129           <option value="1=9523 &lt;i">Popularity (Least to Most)</option>
130         <!--/TMPL_IF-->
131         <!--TMPL_IF Name="1003d"-->
132           <option value="1=1003 &lt;i" selected>Author (A-Z)</option>
133         <!--TMPL_ELSE -->
134           <option value="1=1003 &lt;i">Author (A-Z)</option>
135         <!--/TMPL_IF-->
136         <!--TMPL_IF Name="1003a"-->
137          <option value="1=1003 &gt;i" selected>Author (Z-A)</option>
138         <!--TMPL_ELSE -->
139          <option value="1=1003 &gt;i">Author (Z-A)</option>
140         <!--/TMPL_IF-->
141         <!--TMPL_IF Name="20d"-->
142           <option value="1=20 &lt;i" selected>Call Number (Non-fiction 0-9 to Fiction A-Z)</option>
143         <!--TMPL_ELSE -->
144           <option value="1=20 &lt;i">Call Number (Non-fiction 0-9 to Fiction A-Z)</option>
145         <!--/TMPL_IF-->
146         <!--TMPL_IF Name="20a"-->
147           <option value="1=20 &gt;i" selected>Call Number (Fiction Z-A to Non-fiction 9-0)</option>
148         <!--TMPL_ELSE -->
149           <option value="1=20 &gt;i">Call Number (Fiction Z-A to Non-fiction 9-0)</option>
150         <!--/TMPL_IF-->
151         <!--TMPL_IF Name="31a"-->
152           <option value="1=31 &gt;i" selected>Dates</option>
153         <!--TMPL_ELSE -->
154           <option value="1=31 &gt;i">Dates</option>
155         <!--/TMPL_IF-->
156         <!--TMPL_IF Name="31a"-->
157           <option value="1=31 &gt;i" selected>&nbsp;&nbsp;&nbsp;Publication/Copyright Date: Newest to Oldest</option>
158         <!--TMPL_ELSE -->
159           <option value="1=31 &gt;i">&nbsp;&nbsp;&nbsp;Publication/Copyright Date: Newest to Oldest</option>
160         <!--/TMPL_IF-->
161         <!--TMPL_IF Name="31d"-->
162           <option value="1=31 &lt;i">&nbsp;&nbsp;&nbsp;Publication/Copyright Date: Oldest to Newest</option>
163         <!--TMPL_ELSE -->
164           <option value="1=31 &lt;i">&nbsp;&nbsp;&nbsp;Publication/Copyright Date: Oldest to Newest</option>
165         <!--/TMPL_IF-->
166         <!--TMPL_IF Name="32a"-->
167           <option value="1=32 &gt;i" selected>&nbsp;&nbsp;&nbsp;Acquisition Date: Newest to Oldest</option>
168         <!--TMPL_ELSE -->
169           <option value="1=32 &gt;i">&nbsp;&nbsp;&nbsp;Acquisition Date: Newest to Oldest</option>
170         <!--/TMPL_IF-->
171         <!--TMPL_IF Name="32d"-->
172           <option value="1=32 &lt;i" selected>&nbsp;&nbsp;&nbsp;Acquisition Date: Oldest to Newest</option>
173         <!--TMPL_ELSE -->
174           <option value="1=32 &lt;i">&nbsp;&nbsp;&nbsp;Acquisition Date: Oldest to Newest</option>
175         <!--/TMPL_IF-->
176         <!--TMPL_IF Name="4d"-->
177           <option value="1=4 &lt;i" selected>Title (A-Z)</option>
178         <!--TMPL_ELSE -->
179           <option value="1=4 &lt;i">Title (A-Z)</option>
180         <!--/TMPL_IF-->
181         <!--TMPL_IF Name="4a"-->
182           <option value="1=4 &gt;i" selected>Title (Z-A)</option>
183         <!--TMPL_ELSE -->
184           <option value="1=4 &gt;i">Title (Z-A)</option>
185         <!--/TMPL_IF-->
186             </select>
187         </p>
188         <!-- RESORT END -->
189 </form>
190         <!-- ######### -->
191         <!-- FACETS START -->
192         <!-- TMPL_IF NAME="opacfacets" -->
193             <!-- TMPL_IF NAME="facets_loop" -->
194                 <div id="facets" >
195                     <dl>
196                     <dt onclick="var Elt=document.getElementById('facets_list');if (Elt.style.display!='block'){Elt.style.display='block';} else {Elt.style.display='none';}">Refine Your Search</dt>
197                     <dd id="facets_list" style="display:none">
198                         <!-- TMPL_LOOP NAME="facets_loop" -->
199                         <li id="<!-- TMPL_VAR NAME="type_id" -->"><!-- TMPL_VAR NAME="type_label" -->
200                             <ul>
201                                 <!-- TMPL_LOOP NAME="facets" -->
202                                 <li>
203                                     <a href="/cgi-bin/koha/opac-search.pl?q=<!-- TMPL_VAR NAME="searchdesc" --> and <!-- TMPL_VAR NAME="type_link_value" -->:<!-- TMPL_VAR NAME="facet_link_value" -->" title="<!-- TMPL_VAR NAME="facet_title_value" -->">
204                                         <!-- TMPL_VAR NAME="facet_label_value" -->
205                                     </a> (<!-- TMPL_VAR NAME="facet_count" -->)
206                                 </li>
207                                 <!-- /TMPL_LOOP -->
208                                 <!-- TMPL_IF NAME="expandable" -->
209                                 <li class="showmore">
210                                     <a href="/cgi-bin/koha/opac-search.pl?q=<!-- TMPL_VAR NAME="searchdesc" -->&amp;expand=<!-- TMPL_VAR NAME="expand" -->#<!-- TMPL_VAR NAME="type_id" -->">
211                                         Show More
212                                     </a>
213                                 </li>
214                                 <!-- /TMPL_IF -->
215                             </ul>
216                         </li>
217                         <!-- /TMPL_LOOP -->
218                     </ul>
219                     </dd>
220                 </div>
221             <!-- /TMPL_IF -->
222         <!-- /TMPL_IF -->
223         <!-- FACETS END -->
224         
225         <!-- ######### -->
226         
227         <!-- TABLE RESULTS START -->
228         <!-- TMPL_IF name="opacbookbag" -->
229             <form action="opac-searchresults.pl" method="get" name="bookbag_form">
230             <input type="submit" class="button" value="Add checked items to book bag" onclick="addMultiple(); return false;" /> 
231             <input type="reset" value="Clear All" class="button" />
232         <!-- /TMPL_IF -->
233         <table>
234             <tr>
235                 <th><input type="checkbox" name="select_all" onClick="SelectAll()" /></th>
236                 <th>Title</th>
237                 <th>Item count</th>
238                 <th>Location</th>
239                 <!-- TMPL_IF NAME="RequestOnOpac" -->
240                 <th>Reservation</th>
241                 <!-- /TMPL_IF -->
242             </tr>
243             <!-- Actual Search Results -->
244             <!-- TMPL_LOOP NAME="SEARCH_RESULTS" -->
245             <!-- TMPL_IF name="even" -->
246                 <tr class="highlight">
247             <!-- TMPL_ELSE -->
248                 <tr>
249             <!-- /TMPL_IF -->
250                     <td>
251                         <!-- TMPL_IF name="opacbookbag" -->
252                             <input type="checkbox" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" title="Click to add to book bag" />
253                         <!-- /TMPL_IF -->
254                         <!-- TMPL_IF NAME="AmazonContent" -->
255                         <a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
256                             <img src="<!-- TMPL_IF NAME="isbn" -->http://images.amazon.com/images/P/<!-- TMPL_VAR name="isbn" -->.01.TZZZZZZZ.jpg<!-- TMPL_ELSE -->http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif<!-- /TMPL_IF -->" alt="image" class="thumbnail" />
257                         </a>
258                         <!-- TMPL_ELSE -->
259                         <!-- TMPL_IF name="imageurl" -->
260                         <img src="<!-- TMPL_VAR name="imageurl" -->" title="<!-- TMPL_VAR name="description" -->"/>
261                         <!-- TMPL_ELSE -->
262                         <!-- TMPL_VAR name="description" -->
263                         <!-- /TMPL_IF -->
264                         <!-- /TMPL_IF -->
265                     </td>
266                     <td>
267                         <p>
268                             <!-- TMPL_IF name="BiblioDefaultViewmarc" -->
269                             <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
270                                 <b><!-- TMPL_VAR NAME="title" --></b>
271                             </a> <!-- TMPL_VAR NAME="subtitle" -->
272                             <!-- TMPL_ELSE -->
273                             <!-- TMPL_IF name="BiblioDefaultViewisbd" -->
274                             <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
275                                 <b><!-- TMPL_VAR NAME="title" --></b>
276                             </a> <!-- TMPL_VAR NAME="subtitle" -->
277                             <!-- TMPL_ELSE -->
278                             <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
279                                 <b><!-- TMPL_VAR NAME="title" --></b>
280                             </a> <!-- TMPL_VAR NAME="subtitle" --><!-- TMPL_IF name="volume" -->,<!-- TMPL_VAR name="volume" --><!-- /TMPL_IF --> <!-- TMPL_IF name="volumeddesc" -->, <!-- TMPL_VAR name="volumeddesc" --><!-- /TMPL_IF -->
281                             <!-- /TMPL_IF -->
282                             <!-- /TMPL_IF -->
283                         </p>
284                         <!-- TMPL_IF name="summary" -->
285                         <p><!-- TMPL_VAR name="summary" --></p>
286                         <!-- TMPL_ELSE -->
287                         <p>
288                             <!-- TMPL_IF NAME="author" -->
289                             <a href="/cgi-bin/koha/opac-search.pl?q=au:<!-- TMPL_VAR NAME="author" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="author" --></a>
290                             <!-- TMPL_ELSE -->
291                             &nbsp;
292                             <!-- /TMPL_IF -->
293                             <!-- TMPL_IF name="publishercode" -->- <!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
294                             <!-- TMPL_IF name="publicationyear" --> - <!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF -->
295                             <!-- TMPL_IF name="place" --> ; <!-- TMPL_VAR name="place" --><!-- /TMPL_IF -->
296                             <!-- TMPL_IF name="pages" --> - <!-- TMPL_VAR name="pages" --><!-- /TMPL_IF -->
297                             <!-- TMPL_IF name="size" --> ; <!-- TMPL_VAR name="size" --><!-- /TMPL_IF -->
298                             <!-- TMPL_IF name="timestamp" --> <i>(modified on <!-- TMPL_VAR name="timestamp" -->)</i><!-- /TMPL_IF -->
299                         </p>
300                         <!-- /TMPL_IF -->
301                     </td>
302                     <td >
303                         <!-- TMPL_IF NAME="items_count" -->
304                         <!-- TMPL_VAR NAME="items_count" -->
305                         <!-- /TMPL_IF-->
306                     </td>          
307                     <td width="20%">
308                         <!-- TMPL_IF NAME="items_loop" -->
309                         <span class="available">
310                             <!-- TMPL_LOOP NAME="items_loop" -->
311                                 <!-- TMPL_VAR NAME="count" --> <!-- TMPL_VAR NAME="branchcode" -->
312                                 <i>
313                                 <!-- TMPL_IF name="location" --> <!-- TMPL_VAR name="location" --><!-- /TMPL_IF -->
314                                 <!-- TMPL_IF name="itemcallnumber" --> <!-- TMPL_VAR name="itemcallnumber" --><!-- /TMPL_IF -->
315                                 <!-- TMPL_IF name="classification" -->
316                                     <a href="/cgi-bin/koha/opac-search.pl?q=callnum:<!-- TMPL_VAR NAME="classification" ESCAPE="URL" -->">
317                                         <!-- TMPL_VAR NAME="classification" -->
318                                     </a>
319                                 <!-- /TMPL_IF -->
320                                 </i>
321                                 <br />
322                                 <span class="unavailable">
323                                     <!-- TMPL_IF NAME="onloancount" --> On loan (due date <!-- TMPL_VAR name="due_date" -->)<br /> <!-- /TMPL_IF -->
324                                     <!-- TMPL_IF NAME="wthdrawncount" --> Withdrawn (<!-- TMPL_VAR NAME="wthdrawncount" -->),<br /> <!-- /TMPL_IF -->
325                                     <!-- TMPL_IF NAME="itemlostcount" --> Lost (<!-- TMPL_VAR NAME="itemlostcount" -->)<br /><!-- /TMPL_IF -->
326                                     <!-- TMPL_IF NAME="orderedcount" --> On order (<!-- TMPL_VAR NAME="orderedcount" -->)<!-- /TMPL_IF -->
327                                 </span>
328                             <!-- /TMPL_LOOP -->
329                         </span>
330                         <!-- /TMPL_IF -->
331                     </td>
332                     <!-- TMPL_IF NAME="RequestOnOpac" -->
333                     <td>
334                         <!-- TMPL_IF NAME="norequests" -->
335                         Not Reserveable
336                         <!-- TMPL_ELSE -->
337                         <a class="reserve" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
338                             Reserves
339                         </a>
340                         <!-- /TMPL_IF -->
341                     </td>
342                     <!-- /TMPL_IF -->
343                 </tr>
344                 <!-- /TMPL_LOOP -->
345             </table>
346         </div>
347     </form>
348     <!-- /TMPL_IF -->
349     
350     <!-- TMPL_IF NAME="PAGE_NUMBERS" -->
351     <div class="pages">
352         <!-- Row of numbers corresponding to search result pages -->
353         <!-- TMPL_IF NAME="previous_page_offset" -->
354         <a class="nav" href="/cgi-bin/koha/opac-search.pl?q=<!-- TMPL_VAR NAME="searchdesc" -->&amp;offset=<!-- TMPL_VAR NAME="previous_page_offset" -->">
355             &lt;&lt; Previous
356         </a>
357         <!-- /TMPL_IF -->
358         <!-- TMPL_LOOP NAME="PAGE_NUMBERS" -->
359         <!-- TMPL_IF NAME="highlight" -->
360         <span class="current"><!-- TMPL_VAR NAME="pg" --></span>
361         <!-- TMPL_ELSE -->
362         <a class="nav" href="/cgi-bin/koha/opac-search.pl?q=<!-- TMPL_VAR NAME="searchdesc" -->&amp;offset=<!-- TMPL_VAR NAME="offset" --><!-- TMPL_IF NAME="sort_by" -->&amp;sort_by=<!-- TMPL_VAR NAME="sort_by" --><!-- /TMPL_IF -->">
363             <!-- TMPL_VAR NAME="pg" -->
364         </a>
365         <!-- /TMPL_IF -->
366         <!-- /TMPL_LOOP -->
367         <!-- TMPL_IF NAME="next_page_offset" -->
368         <a class="nav" href="/cgi-bin/koha/opac-search.pl?q=<!-- TMPL_VAR NAME="searchdesc" -->&amp;offset=<!-- TMPL_VAR NAME="next_page_offset" -->">
369             Next &gt;&gt;
370         </a>
371         <!-- /TMPL_IF -->
372     </div>
373     <!-- /TMPL_IF -->
374     
375     <!-- TMPL_IF NAME="outer_sup_results_loop" -->
376     <h3><!-- TMPL_LOOP NAME="outer_sup_results_loop" --></h3>
377     <!-- TMPL_IF NAME="inner_sup_results_loop" -->
378     <!-- TMPL_VAR NAME="servername" -->
379     <!-- TMPL_LOOP NAME="inner_sup_results_loop" -->
380     <div><a href="<!-- TMPL_VAR NAME="link" -->"><!-- TMPL_VAR NAME="title" --></a></div>
381     <!-- /TMPL_LOOP -->
382     <!-- /TMPL_IF -->
383     <!-- /TMPL_LOOP -->
384     <!-- /TMPL_IF -->
385     
386     <!-- TMPL_ELSE -->
387     
388     
389     <!-- /TMPL_IF -->
390     
391 </div>
392 </div>
393 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->