refine your search is not available on NoZebra.
[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_loop" -->
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_LOOP NAME="sort_by_loop" -->
123                 <option value="<!-- TMPL_VAR NAME="value" -->" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="label" --></option>
124                 <!-- /TMPL_LOOP -->
125             </select>
126         </p>
127         <!-- /TMPL_IF -->
128         <!-- RESORT END -->
129 </form>
130         <!-- ######### -->
131         <!-- FACETS START -->
132         <!-- TMPL_IF NAME="opacfacets" -->
133         <!-- TMPL_IF NAME="NoZebra" -->
134         <div id="facets" >
135             <dl>
136             <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>
137             <dd id="facets_list" style="display:none">
138                 <!-- TMPL_LOOP NAME="facets_loop" -->
139                 <li id="<!-- TMPL_VAR NAME="type_id" -->"><!-- TMPL_VAR NAME="type_label" -->
140                     <ul>
141                         <!-- TMPL_LOOP NAME="facets" -->
142                         <li>
143                             <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" -->">
144                                 <!-- TMPL_VAR NAME="facet_label_value" -->
145                             </a> (<!-- TMPL_VAR NAME="facet_count" -->)
146                         </li>
147                         <!-- /TMPL_LOOP -->
148                         <!-- TMPL_IF NAME="expandable" -->
149                         <li class="showmore">
150                             <a href="/cgi-bin/koha/opac-search.pl?q=<!-- TMPL_VAR NAME="searchdesc" -->&amp;expand=<!-- TMPL_VAR NAME="expand" -->#<!-- TMPL_VAR NAME="type_id" -->">
151                                 Show More
152                             </a>
153                         </li>
154                         <!-- /TMPL_IF -->
155                     </ul>
156                 </li>
157                 <!-- /TMPL_LOOP -->
158             </ul>
159             </dd>
160         </div>
161         <!-- /TMPL_UNLESS -->
162         <!-- /TMPL_IF -->
163         <!-- FACETS END -->
164         
165         <!-- ######### -->
166         
167         <!-- TABLE RESULTS START -->
168         <!-- TMPL_IF name="opacbookbag" -->
169             <form action="opac-searchresults.pl" method="get" name="bookbag_form">
170             <input type="submit" class="button" value="Add checked items to book bag" onclick="addMultiple(); return false;" /> 
171             <input type="reset" value="Clear All" class="button" />
172         <!-- /TMPL_IF -->
173         <table>
174             <tr>
175                 <th><input type="checkbox" name="select_all" onClick="SelectAll()" /></th>
176                 <th>Title</th>
177                 <th>Location</th>
178                 <!-- TMPL_IF NAME="RequestOnOpac" -->
179                 <th>Reservation</th>
180                 <!-- /TMPL_IF -->
181             </tr>
182             <!-- Actual Search Results -->
183             <!-- TMPL_LOOP NAME="SEARCH_RESULTS" -->
184             <!-- TMPL_IF name="even" -->
185                 <tr class="highlight">
186             <!-- TMPL_ELSE -->
187                 <tr>
188             <!-- /TMPL_IF -->
189                     <td>
190                         <!-- TMPL_IF name="opacbookbag" -->
191                             <input type="checkbox" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" title="Click to add to book bag" />
192                         <!-- /TMPL_IF -->
193                         <!-- TMPL_IF NAME="AmazonContent" -->
194                         <a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
195                             <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" />
196                         </a>
197                         <!-- TMPL_ELSE -->
198                         <!-- TMPL_IF name="imageurl" -->
199                         <img src="<!-- TMPL_VAR name="imageurl" -->" title="<!-- TMPL_VAR name="description" -->"/>
200                         <!-- TMPL_ELSE -->
201                         <!-- TMPL_VAR name="description" -->
202                         <!-- /TMPL_IF -->
203                         <!-- /TMPL_IF -->
204                     </td>
205                     <td>
206                         <p>
207                             <!-- TMPL_IF name="BiblioDefaultViewmarc" -->
208                             <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
209                                 <b><!-- TMPL_VAR NAME="title" --></b>
210                             </a> <!-- TMPL_VAR NAME="subtitle" -->
211                             <!-- TMPL_ELSE -->
212                             <!-- TMPL_IF name="BiblioDefaultViewisbd" -->
213                             <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
214                                 <b><!-- TMPL_VAR NAME="title" --></b>
215                             </a> <!-- TMPL_VAR NAME="subtitle" -->
216                             <!-- TMPL_ELSE -->
217                             <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
218                                 <b><!-- TMPL_VAR NAME="title" --></b>
219                             </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 -->
220                             <!-- /TMPL_IF -->
221                             <!-- /TMPL_IF -->
222                         </p>
223                         <!-- TMPL_IF name="summary" -->
224                         <p><!-- TMPL_VAR name="summary" --></p>
225                         <!-- TMPL_ELSE -->
226                         <p>
227                             <!-- TMPL_IF NAME="author" -->
228                             <a href="/cgi-bin/koha/opac-search.pl?q=au:<!-- TMPL_VAR NAME="author" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="author" --></a>
229                             <!-- TMPL_ELSE -->
230                             &nbsp;
231                             <!-- /TMPL_IF -->
232                             <!-- TMPL_IF name="publishercode" -->- <!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
233                             <!-- TMPL_IF name="publicationyear" --> - <!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF -->
234                             <!-- TMPL_IF name="place" --> ; <!-- TMPL_VAR name="place" --><!-- /TMPL_IF -->
235                             <!-- TMPL_IF name="pages" --> - <!-- TMPL_VAR name="pages" --><!-- /TMPL_IF -->
236                             <!-- TMPL_IF name="size" --> ; <!-- TMPL_VAR name="size" --><!-- /TMPL_IF -->
237                             <!-- TMPL_IF name="timestamp" --> <i>(modified on <!-- TMPL_VAR name="timestamp" -->)</i><!-- /TMPL_IF -->
238                         </p>
239                         <!-- /TMPL_IF -->
240                     </td>
241                     <td width="20%">
242                         <!-- TMPL_IF NAME="items_loop" -->
243                         <span class="available">
244                             <!-- TMPL_LOOP NAME="items_loop" -->
245                                 <!-- TMPL_VAR NAME="count" --> <!-- TMPL_VAR NAME="branchcode" -->
246                                 <i>
247                                 <!-- TMPL_IF name="location" --> <!-- TMPL_VAR name="location" --><!-- /TMPL_IF -->
248                                 <!-- TMPL_IF name="itemcallnumber" --> <br /><!-- TMPL_VAR name="itemcallnumber" --><!-- /TMPL_IF -->
249                                 <!-- TMPL_IF name="classification" -->
250                                     <a href="/cgi-bin/koha/opac-search.pl?q=callnum:<!-- TMPL_VAR NAME="classification" ESCAPE="URL" -->">
251                                         <!-- TMPL_VAR NAME="classification" -->
252                                     </a>
253                                 <!-- /TMPL_IF -->
254                                 </i>
255                                 <br />
256                             <!-- /TMPL_LOOP -->
257                         </span>
258                         <!-- /TMPL_IF -->
259                         <span class="unavailable">
260                             <!-- TMPL_IF NAME="onloancount" --> On loan (<!-- TMPL_VAR NAME="onloancount" -->),<br /> <!-- /TMPL_IF -->
261                             <!-- TMPL_IF NAME="wthdrawncount" --> Withdrawn (<!-- TMPL_VAR NAME="wthdrawncount" -->),<br /> <!-- /TMPL_IF -->
262                             <!-- TMPL_IF NAME="itemlostcount" --> Lost (<!-- TMPL_VAR NAME="itemlostcount" -->)<br /><!-- /TMPL_IF -->
263                             <!-- TMPL_IF NAME="orderedcount" --> On order (<!-- TMPL_VAR NAME="orderedcount" -->)<!-- /TMPL_IF -->
264                         </span>
265                     </td>
266                     <!-- TMPL_IF NAME="RequestOnOpac" -->
267                     <td>
268                         <!-- TMPL_IF NAME="norequests" -->
269                         Not Reserveable
270                         <!-- TMPL_ELSE -->
271                         <a class="reserve" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
272                             Reserves
273                         </a>
274                         <!-- /TMPL_IF -->
275                     </td>
276                     <!-- /TMPL_IF -->
277                 </tr>
278                 <!-- /TMPL_LOOP -->
279             </table>
280         </div>
281     </form>
282     <!-- /TMPL_IF -->
283     
284     <!-- TMPL_IF NAME="PAGE_NUMBERS" -->
285     <div class="pages">
286         <!-- Row of numbers corresponding to search result pages -->
287         <!-- TMPL_IF NAME="previous_page_offset" -->
288         <a class="nav" href="/cgi-bin/koha/opac-search.pl?q=<!-- TMPL_VAR NAME="searchdesc" -->&amp;offset=<!-- TMPL_VAR NAME="previous_page_offset" -->">
289             &lt;&lt; Previous
290         </a>
291         <!-- /TMPL_IF -->
292         <!-- TMPL_LOOP NAME="PAGE_NUMBERS" -->
293         <!-- TMPL_IF NAME="highlight" -->
294         <span class="current"><!-- TMPL_VAR NAME="pg" --></span>
295         <!-- TMPL_ELSE -->
296         <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 -->">
297             <!-- TMPL_VAR NAME="pg" -->
298         </a>
299         <!-- /TMPL_IF -->
300         <!-- /TMPL_LOOP -->
301         <!-- TMPL_IF NAME="next_page_offset" -->
302         <a class="nav" href="/cgi-bin/koha/opac-search.pl?q=<!-- TMPL_VAR NAME="searchdesc" -->&amp;offset=<!-- TMPL_VAR NAME="next_page_offset" -->">
303             Next &gt;&gt;
304         </a>
305         <!-- /TMPL_IF -->
306     </div>
307     <!-- /TMPL_IF -->
308     
309     <!-- TMPL_IF NAME="outer_sup_results_loop" -->
310     <h3><!-- TMPL_LOOP NAME="outer_sup_results_loop" --></h3>
311     <!-- TMPL_IF NAME="inner_sup_results_loop" -->
312     <!-- TMPL_VAR NAME="servername" -->
313     <!-- TMPL_LOOP NAME="inner_sup_results_loop" -->
314     <div><a href="<!-- TMPL_VAR NAME="link" -->"><!-- TMPL_VAR NAME="title" --></a></div>
315     <!-- /TMPL_LOOP -->
316     <!-- /TMPL_IF -->
317     <!-- /TMPL_LOOP -->
318     <!-- /TMPL_IF -->
319     
320     <!-- TMPL_ELSE -->
321     
322     
323     <!-- /TMPL_IF -->
324     
325 </div>
326 </div>
327 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->