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