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