Revert "new virtual shelves changes, keyed by biblionumber -- approved"
[koha.git] / koha-tmpl / opac-tmpl / prog / en / 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         <!-- TMPL_IF NAME="sort_by" -->
118         <p>
119             Re-sort results
120             <select id="sort_by" name="sort_by" onChange="javascript:document.myform.submit();">
121                 <option value="">Field-weighted, Relevance Ranked</option>
122         <!--TMPL_IF Name="9523a"-->
123           <option value="1=9523 &gt;i" selected>Popularity (Most to Least)</option>
124         <!--TMPL_ELSE -->
125           <option value="1=9523 &gt;i">Popularity (Most to Least)</option>
126         <!--/TMPL_IF-->
127         <!--TMPL_IF Name="9523d"-->
128           <option value="1=9523 &lt;i" selected>Popularity (Least to Most)</option>
129         <!--TMPL_ELSE -->
130           <option value="1=9523 &lt;i">Popularity (Least to Most)</option>
131         <!--/TMPL_IF-->
132         <!--TMPL_IF Name="1003d"-->
133           <option value="1=1003 &lt;i" selected>Author (A-Z)</option>
134         <!--TMPL_ELSE -->
135           <option value="1=1003 &lt;i">Author (A-Z)</option>
136         <!--/TMPL_IF-->
137         <!--TMPL_IF Name="1003a"-->
138          <option value="1=1003 &gt;i" selected>Author (Z-A)</option>
139         <!--TMPL_ELSE -->
140          <option value="1=1003 &gt;i">Author (Z-A)</option>
141         <!--/TMPL_IF-->
142         <!--TMPL_IF Name="20d"-->
143           <option value="1=20 &lt;i" selected>Call Number (Non-fiction 0-9 to Fiction A-Z)</option>
144         <!--TMPL_ELSE -->
145           <option value="1=20 &lt;i">Call Number (Non-fiction 0-9 to Fiction A-Z)</option>
146         <!--/TMPL_IF-->
147         <!--TMPL_IF Name="20a"-->
148           <option value="1=20 &gt;i" selected>Call Number (Fiction Z-A to Non-fiction 9-0)</option>
149         <!--TMPL_ELSE -->
150           <option value="1=20 &gt;i">Call Number (Fiction Z-A to Non-fiction 9-0)</option>
151         <!--/TMPL_IF-->
152         <!--TMPL_IF Name="31a"-->
153           <option value="1=31 &gt;i" selected>Dates</option>
154         <!--TMPL_ELSE -->
155           <option value="1=31 &gt;i">Dates</option>
156         <!--/TMPL_IF-->
157         <!--TMPL_IF Name="31a"-->
158           <option value="1=31 &gt;i" selected>&nbsp;&nbsp;&nbsp;Publication/Copyright Date: Newest to Oldest</option>
159         <!--TMPL_ELSE -->
160           <option value="1=31 &gt;i">&nbsp;&nbsp;&nbsp;Publication/Copyright Date: Newest to Oldest</option>
161         <!--/TMPL_IF-->
162         <!--TMPL_IF Name="31d"-->
163           <option value="1=31 &lt;i">&nbsp;&nbsp;&nbsp;Publication/Copyright Date: Oldest to Newest</option>
164         <!--TMPL_ELSE -->
165           <option value="1=31 &lt;i">&nbsp;&nbsp;&nbsp;Publication/Copyright Date: Oldest to Newest</option>
166         <!--/TMPL_IF-->
167         <!--TMPL_IF Name="32a"-->
168           <option value="1=32 &gt;i" selected>&nbsp;&nbsp;&nbsp;Acquisition Date: Newest to Oldest</option>
169         <!--TMPL_ELSE -->
170           <option value="1=32 &gt;i">&nbsp;&nbsp;&nbsp;Acquisition Date: Newest to Oldest</option>
171         <!--/TMPL_IF-->
172         <!--TMPL_IF Name="32d"-->
173           <option value="1=32 &lt;i" selected>&nbsp;&nbsp;&nbsp;Acquisition Date: Oldest to Newest</option>
174         <!--TMPL_ELSE -->
175           <option value="1=32 &lt;i">&nbsp;&nbsp;&nbsp;Acquisition Date: Oldest to Newest</option>
176         <!--/TMPL_IF-->
177         <!--TMPL_IF Name="4d"-->
178           <option value="1=4 &lt;i" selected>Title (A-Z)</option>
179         <!--TMPL_ELSE -->
180           <option value="1=4 &lt;i">Title (A-Z)</option>
181         <!--/TMPL_IF-->
182         <!--TMPL_IF Name="4a"-->
183           <option value="1=4 &gt;i" selected>Title (Z-A)</option>
184         <!--TMPL_ELSE -->
185           <option value="1=4 &gt;i">Title (Z-A)</option>
186         <!--/TMPL_IF-->
187             </select>
188         </p>
189         <!-- /TMPL_IF -->
190         <!-- RESORT END -->
191 </form>
192         <!-- ######### -->
193         <!-- FACETS START -->
194         <!-- TMPL_IF NAME="opacfacets" -->
195         <!-- TMPL_IF NAME="NoZebra" -->
196         <div id="facets" >
197             <dl>
198             <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>
199             <dd id="facets_list" style="display:none">
200                 <!-- TMPL_LOOP NAME="facets_loop" -->
201                 <li id="<!-- TMPL_VAR NAME="type_id" -->"><!-- TMPL_VAR NAME="type_label" -->
202                     <ul>
203                         <!-- TMPL_LOOP NAME="facets" -->
204                         <li>
205                             <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" -->">
206                                 <!-- TMPL_VAR NAME="facet_label_value" -->
207                             </a> (<!-- TMPL_VAR NAME="facet_count" -->)
208                         </li>
209                         <!-- /TMPL_LOOP -->
210                         <!-- TMPL_IF NAME="expandable" -->
211                         <li class="showmore">
212                             <a href="/cgi-bin/koha/opac-search.pl?q=<!-- TMPL_VAR NAME="searchdesc" -->&amp;expand=<!-- TMPL_VAR NAME="expand" -->#<!-- TMPL_VAR NAME="type_id" -->">
213                                 Show More
214                             </a>
215                         </li>
216                         <!-- /TMPL_IF -->
217                     </ul>
218                 </li>
219                 <!-- /TMPL_LOOP -->
220             </ul>
221             </dd>
222         </div>
223         <!-- /TMPL_IF -->
224         <!-- /TMPL_IF -->
225         <!-- FACETS END -->
226         
227         <!-- ######### -->
228         
229         <!-- TABLE RESULTS START -->
230         <!-- TMPL_IF name="opacbookbag" -->
231             <form action="opac-searchresults.pl" method="get" name="bookbag_form">
232             <input type="submit" class="button" value="Add checked items to book bag" onclick="addMultiple(); return false;" /> 
233             <input type="reset" value="Clear All" class="button" />
234         <!-- /TMPL_IF -->
235         <table>
236             <tr>
237                 <th><input type="checkbox" name="select_all" onClick="SelectAll()" /></th>
238                 <th>Title</th>
239                 <th>Location</th>
240                 <!-- TMPL_IF NAME="RequestOnOpac" -->
241                 <th>Reservation</th>
242                 <!-- /TMPL_IF -->
243             </tr>
244             <!-- Actual Search Results -->
245             <!-- TMPL_LOOP NAME="SEARCH_RESULTS" -->
246             <!-- TMPL_IF name="even" -->
247                 <tr class="highlight">
248             <!-- TMPL_ELSE -->
249                 <tr>
250             <!-- /TMPL_IF -->
251                     <td>
252                         <!-- TMPL_IF name="opacbookbag" -->
253                             <input type="checkbox" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" title="Click to add to book bag" />
254                         <!-- /TMPL_IF -->
255                         <!-- TMPL_IF NAME="AmazonContent" -->
256                         <a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
257                             <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" />
258                         </a>
259                         <!-- TMPL_ELSE -->
260                         <!-- TMPL_IF name="imageurl" -->
261                         <img src="<!-- TMPL_VAR name="imageurl" -->" title="<!-- TMPL_VAR name="description" -->"/>
262                         <!-- TMPL_ELSE -->
263                         <!-- TMPL_VAR name="description" -->
264                         <!-- /TMPL_IF -->
265                         <!-- /TMPL_IF -->
266                     </td>
267                     <td>
268                         <p>
269                             <!-- TMPL_IF name="BiblioDefaultViewmarc" -->
270                             <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
271                                 <b><!-- TMPL_VAR NAME="title" --></b>
272                             </a> <!-- TMPL_VAR NAME="subtitle" -->
273                             <!-- TMPL_ELSE -->
274                             <!-- TMPL_IF name="BiblioDefaultViewisbd" -->
275                             <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
276                                 <b><!-- TMPL_VAR NAME="title" --></b>
277                             </a> <!-- TMPL_VAR NAME="subtitle" -->
278                             <!-- TMPL_ELSE -->
279                             <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
280                                 <b><!-- TMPL_VAR NAME="title" --></b>
281                             </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 -->
282                             <!-- /TMPL_IF -->
283                             <!-- /TMPL_IF -->
284                         </p>
285                         <!-- TMPL_IF name="summary" -->
286                         <p><!-- TMPL_VAR name="summary" --></p>
287                         <!-- TMPL_ELSE -->
288                         <p>
289                             <!-- TMPL_IF NAME="author" -->
290                             <a href="/cgi-bin/koha/opac-search.pl?q=au:<!-- TMPL_VAR NAME="author" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="author" --></a>
291                             <!-- TMPL_ELSE -->
292                             &nbsp;
293                             <!-- /TMPL_IF -->
294                             <!-- TMPL_IF name="publishercode" -->- <!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
295                             <!-- TMPL_IF name="publicationyear" --> - <!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF -->
296                             <!-- TMPL_IF name="place" --> ; <!-- TMPL_VAR name="place" --><!-- /TMPL_IF -->
297                             <!-- TMPL_IF name="pages" --> - <!-- TMPL_VAR name="pages" --><!-- /TMPL_IF -->
298                             <!-- TMPL_IF name="size" --> ; <!-- TMPL_VAR name="size" --><!-- /TMPL_IF -->
299                             <!-- TMPL_IF name="timestamp" --> <i>(modified on <!-- TMPL_VAR name="timestamp" -->)</i><!-- /TMPL_IF -->
300                         </p>
301                         <!-- /TMPL_IF -->
302                     </td>
303                     <td width="20%">
304                         <!-- TMPL_IF NAME="items_loop" -->
305                         <span class="available">
306                             <!-- TMPL_LOOP NAME="items_loop" -->
307                                 <!-- TMPL_VAR NAME="count" --> <!-- TMPL_VAR NAME="branchcode" -->
308                                 <i>
309                                 <!-- TMPL_IF name="location" --> <!-- TMPL_VAR name="location" --><!-- /TMPL_IF -->
310                                 <!-- TMPL_IF name="itemcallnumber" --> <br /><!-- TMPL_VAR name="itemcallnumber" --><!-- /TMPL_IF -->
311                                 <!-- TMPL_IF name="classification" -->
312                                     <a href="/cgi-bin/koha/opac-search.pl?q=callnum:<!-- TMPL_VAR NAME="classification" ESCAPE="URL" -->">
313                                         <!-- TMPL_VAR NAME="classification" -->
314                                     </a>
315                                 <!-- /TMPL_IF -->
316                                 </i>
317                                 <br />
318                             <!-- /TMPL_LOOP -->
319                         </span>
320                         <!-- /TMPL_IF -->
321                         <span class="unavailable">
322                             <!-- TMPL_IF NAME="onloancount" --> On loan (<!-- TMPL_VAR NAME="onloancount" -->),<br /> <!-- /TMPL_IF -->
323                             <!-- TMPL_IF NAME="wthdrawncount" --> Withdrawn (<!-- TMPL_VAR NAME="wthdrawncount" -->),<br /> <!-- /TMPL_IF -->
324                             <!-- TMPL_IF NAME="itemlostcount" --> Lost (<!-- TMPL_VAR NAME="itemlostcount" -->)<br /><!-- /TMPL_IF -->
325                             <!-- TMPL_IF NAME="orderedcount" --> On order (<!-- TMPL_VAR NAME="orderedcount" -->)<!-- /TMPL_IF -->
326                         </span>
327                     </td>
328                     <!-- TMPL_IF NAME="RequestOnOpac" -->
329                     <td>
330                         <!-- TMPL_IF NAME="norequests" -->
331                         Not Reserveable
332                         <!-- TMPL_ELSE -->
333                         <a class="reserve" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
334                             Reserves
335                         </a>
336                         <!-- /TMPL_IF -->
337                     </td>
338                     <!-- /TMPL_IF -->
339                 </tr>
340                 <!-- /TMPL_LOOP -->
341             </table>
342         </div>
343     </form>
344     <!-- /TMPL_IF -->
345     
346     <!-- TMPL_IF NAME="PAGE_NUMBERS" -->
347     <div class="pages">
348         <!-- Row of numbers corresponding to search result pages -->
349         <!-- TMPL_IF NAME="previous_page_offset" -->
350         <a class="nav" href="/cgi-bin/koha/opac-search.pl?q=<!-- TMPL_VAR NAME="searchdesc" -->&amp;offset=<!-- TMPL_VAR NAME="previous_page_offset" -->">
351             &lt;&lt; Previous
352         </a>
353         <!-- /TMPL_IF -->
354         <!-- TMPL_LOOP NAME="PAGE_NUMBERS" -->
355         <!-- TMPL_IF NAME="highlight" -->
356         <span class="current"><!-- TMPL_VAR NAME="pg" --></span>
357         <!-- TMPL_ELSE -->
358         <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 -->">
359             <!-- TMPL_VAR NAME="pg" -->
360         </a>
361         <!-- /TMPL_IF -->
362         <!-- /TMPL_LOOP -->
363         <!-- TMPL_IF NAME="next_page_offset" -->
364         <a class="nav" href="/cgi-bin/koha/opac-search.pl?q=<!-- TMPL_VAR NAME="searchdesc" -->&amp;offset=<!-- TMPL_VAR NAME="next_page_offset" -->">
365             Next &gt;&gt;
366         </a>
367         <!-- /TMPL_IF -->
368     </div>
369     <!-- /TMPL_IF -->
370     
371     <!-- TMPL_IF NAME="outer_sup_results_loop" -->
372     <h3><!-- TMPL_LOOP NAME="outer_sup_results_loop" --></h3>
373     <!-- TMPL_IF NAME="inner_sup_results_loop" -->
374     <!-- TMPL_VAR NAME="servername" -->
375     <!-- TMPL_LOOP NAME="inner_sup_results_loop" -->
376     <div><a href="<!-- TMPL_VAR NAME="link" -->"><!-- TMPL_VAR NAME="title" --></a></div>
377     <!-- /TMPL_LOOP -->
378     <!-- /TMPL_IF -->
379     <!-- /TMPL_LOOP -->
380     <!-- /TMPL_IF -->
381     
382     <!-- TMPL_ELSE -->
383     
384     
385     <!-- /TMPL_IF -->
386     
387 </div>
388 </div>
389 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->