bug 3263: Staff Search Results Interface Changes
[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 <!-- TMPL_IF NAME="query_desc" -->for '<!-- TMPL_VAR NAME="query_desc" -->'<!-- /TMPL_IF --><!-- TMPL_IF NAME="limit_desc" -->&nbsp;with limit(s):&nbsp;'<!-- TMPL_VAR NAME="limit_desc" -->'<!-- /TMPL_IF --><!-- TMPL_ELSE -->You did not specify any search criteria<!-- /TMPL_IF --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script type="text/javascript">
5 //<![CDATA[
6 var MSG_NO_ITEM_SELECTED = _("Nothing is selected.");
7 var MSG_NON_RESERVES_SELECTED = _("One or more selected items cannot be reserved.");
8 <!-- TMPL_IF NAME="AmazonEnabled" -->
9 // http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html
10 function verify_images() {
11     $("img").each(function(i){
12            if ((this.src.indexOf('images.amazon.com') >= 0) || (this.src.indexOf('g-images.amazon.com') >=0)) {
13             w = this.width;
14             h = this.height;
15             if ((w == 1) || (h == 1)) {
16                 this.src = 'http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif';
17             } else if ((this.complete != null) && (!this.complete)) {
18                 this.src = 'http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif';
19             }
20            }
21         });
22         }
23 <!-- /TMPL_IF -->
24
25 $(document).ready(function() {
26 <!-- TMPL_IF NAME="AmazonContent" -->
27     $('#sortbyform').find("input:submit").hide();
28     $('#sort_by').change(function() {
29         $('#sortbyform').submit();
30     });
31 <!-- /TMPL_IF -->
32         $("#z3950searchc").empty();
33         yuiZ3950button();
34 });
35
36 <!-- TMPL_IF NAME="AmazonContent" -->
37 $(window).load(function() {
38         verify_images();
39      });
40 <!-- /TMPL_IF -->
41 $(document).ready(function() {
42     $("#selection_ops").show();
43     $(".selection").show();
44 });
45 function selectAll () {
46     $(".selection").attr("checked", "checked");
47 }
48 function clearAll () {
49     $(".selection").removeAttr("checked");
50 }
51 function placeHold () {
52     var checkedItems = $(".selection:checked");
53     if ($(checkedItems).size() == 0) {
54         alert(MSG_NO_ITEM_SELECTED);
55         return false;
56     }
57     var bibs = "";
58     var badBibs = false;
59     $(checkedItems).each(function() {
60         var bib = $(this).val();
61         if ($("#reserve_" + bib).size() == 0) {
62             alert(MSG_NON_RESERVES_SELECTED);
63             badBibs = true;
64             return false;
65         }
66         bibs += bib + "/";
67     });
68     if (badBibs) {
69         return false;
70     }
71     $("#hold_form_biblios").val(bibs);
72     $("#hold_form").submit();
73     return false;
74 }
75 function addToList () {
76     var checkedItems = $(".selection:checked");
77     if ($(checkedItems).size() == 0) {
78         alert(MSG_NO_ITEM_SELECTED);
79         return false;
80     }
81     var bibs = "";
82     $(checkedItems).each(function() {
83         bibs += $(this).val() + "/";
84     });
85
86     var url = "/cgi-bin/koha/virtualshelves/addbybiblionumber.pl?biblionumbers=" + bibs;
87         window.open(url, 'Add_to_virtualshelf', 'width=500, height=400, toolbar=false, scrollbars=yes');
88     return false;
89 }
90
91 /* this function open a popup to search on z3950 server.  */
92 function PopupZ3950() {
93     var strQuery = GetZ3950Terms();
94     if(strQuery){
95         window.open("/cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"+strQuery,"z3950search",'width=740,height=450,location=yes,toolbar=no,scrollbars=yes,resize=yes');
96     }
97 }
98 /* provide Z3950 search points */
99 function GetZ3950Terms(){
100         var strQuery="&frameworkcode=";
101         <!-- TMPL_LOOP NAME='z3950_search_params' -->
102                 strQuery += "&" + "<!-- TMPL_VAR NAME="name" -->" + "=" + "<!-- TMPL_VAR NAME="encvalue" -->";
103         <!-- /TMPL_LOOP -->
104         return strQuery;
105 }
106 /* prepare DOM for Z39.50 Search Button */
107 function yuiZ3950button() {
108         new YAHOO.widget.Button({
109                         id: "z3950search",
110                         type: "button",
111                         label: _("z39.50 Search"),
112                         container: "z3950searchc",
113                         onclick: {fn:function(){PopupZ3950()}}
114         });
115 }
116 //]]>
117 </script>
118 </head>
119 <body>
120 <!-- TMPL_INCLUDE NAME="header.inc" -->
121 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
122
123 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>  &rsaquo; Search <!-- TMPL_IF NAME="query_desc" -->for '<!-- TMPL_VAR NAME="query_desc" -->'<!-- /TMPL_IF --><!-- TMPL_IF NAME="limit_desc" -->&nbsp;with limit(s):&nbsp;'<!-- TMPL_VAR NAME="limit_desc" -->'<!-- /TMPL_IF --></div>
124
125 <div id="doc3" class="yui-t1">
126    <div id="bd">
127     <div id="yui-main">
128     <div class="yui-b">
129
130     <!-- TMPL_IF NAME="outer_sup_results_loop" -->
131     <div class="yui-ge">
132     <div class="yui-u first">
133     <!-- /TMPL_IF -->
134
135     <!-- TMPL_IF NAME="koha_spsuggest" -->
136         <div style="font-size: 12px;">Did you mean: 
137             <ul style="list-style: none;">
138             <!-- TMPL_LOOP NAME="SPELL_SUGGEST" -->
139             <li>
140                 <a href="/cgi-bin/koha/catalogue/search.pl?q=<!-- TMPL_VAR NAME="spsuggestion" -->"><!-- TMPL_VAR NAME="spsuggestion" --></a>
141             </li>
142             <!-- /TMPL_LOOP -->
143             </ul>
144         </div>
145     <!-- /TMPL_IF -->
146
147     <!-- TMPL_IF NAME="total" -->
148         <div id="searchheader">
149                         <form method="post" name="fz3950" class="fz3950">
150                                         <span id="z3950searchc"><input type="button" id="z3950search" value="z39.50 Search" onclick="PopupZ3950(); return false;" /></span>
151                         </form>
152             <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="sortbyform">
153                 <!-- TMPL_IF NAME="searchdesc" -->
154                     <!-- TMPL_LOOP NAME="QUERY_INPUTS"-->
155                     <input type="hidden" name="<!-- TMPL_VAR NAME="input_name" -->" value="<!-- TMPL_VAR NAME="input_value" -->"/>
156                     <!-- /TMPL_LOOP -->
157                     <!-- TMPL_LOOP NAME="LIMIT_INPUTS"-->
158                     <input type="hidden" name="<!-- TMPL_VAR NAME="input_name" -->" value="<!-- TMPL_VAR NAME="input_value" -->"/>
159                     <!-- /TMPL_LOOP -->
160                 <!-- /TMPL_IF -->
161                 <!-- RE-SORT START -->
162                     <label for="sort_by">Sort By: </label>
163                     <select id="sort_by" name="sort_by">
164                     <!-- TMPL_INCLUDE NAME="resort_form.inc" -->
165                     </select>
166                     <input type="submit" value="Go" />
167                 <!-- RESORT END -->
168             </form>
169             <h3>
170                 <!-- TMPL_VAR NAME="total" --> result(s) found <!-- TMPL_IF NAME="query_desc" -->for <span style="font-weight: bold;">'<!-- TMPL_VAR NAME="query_desc" -->'</span><!-- /TMPL_IF --><!-- TMPL_IF NAME="limit_desc" -->&nbsp;with limit(s): <span style="font-weight: bold;">'<!-- TMPL_VAR NAME="limit_desc" -->'</span><!-- /TMPL_IF --><!-- TMPL_IF NAME="LibraryName" --> in <!-- TMPL_VAR NAME="LibraryName" --> Catalog<!-- /TMPL_IF -->.<br />&nbsp;
171             </h3>
172             <div id="selection_ops" style="display:none">
173                 <a href="#" onclick="selectAll(); return false;">Select All</a>
174                 |
175                 <a href="#" onclick="clearAll(); return false;">Clear All</a>
176                 <!-- TMPL_IF NAME="CAN_user_reserveforothers" -->
177                   <input type="button" onclick="placeHold(); return false;" value="Place Hold"/>
178                 <!-- /TMPL_IF -->
179                 <input type="button" onclick="addToList(); return false;" value="Add to List"/>
180             </div>
181         </div>
182     <!-- TMPL_IF NAME="stopwords_removed" --><div><p class="tip">Ignored the following common words: "<!-- TMPL_VAR NAME="stopwords_removed" -->"<p></div><!-- /TMPL_IF -->
183     <!-- TMPL_ELSE -->
184         <div id="searchheader">
185                         <form method="post" name="fz3950" class="fz3950bigrpad">
186                                 <span id="z3950searchc"><input type="button" id="z3950search" value="z39.50 Search" onclick="PopupZ3950(); return false;" /></span>
187                         </form>
188         <!-- TMPL_IF NAME="searchdesc" -->
189             <h3>No results found</h3>
190             <p>
191                 No results match your search <!-- TMPL_IF NAME="query_desc" -->for <span style="font-weight: bold;">'<!-- TMPL_VAR NAME="query_desc" -->'</span><!-- /TMPL_IF --><!-- TMPL_IF NAME="limit_desc" -->&nbsp;with limit(s): <span style="font-weight: bold;">'<!-- TMPL_VAR NAME="limit_desc" -->'</span><!-- /TMPL_IF --><!-- TMPL_IF NAME="LibraryName" --> in <!-- TMPL_VAR NAME="LibraryName" --> Catalog<!-- /TMPL_IF -->.
192             </p>
193         <!-- TMPL_ELSE -->
194             <h3>No results found</h3>
195             <p>
196             You did not specify any search criteria.
197             </p>
198         <!-- /TMPL_IF -->
199                 </div>
200     <!-- /TMPL_IF -->
201     
202     <!-- TMPL_IF NAME="query_error" -->
203         <br /><br />
204         Error: 
205         <span  class="problem">
206             <!-- TMPL_VAR NAME="query_error" -->
207         </span>
208     <!-- /TMPL_IF -->
209     
210     <!-- Search Results Table -->
211     <!-- TMPL_IF NAME="total" -->
212         <!-- TMPL_IF NAME="scan" -->
213             <h1>Scan Index:</h1>
214             <form action="/cgi-bin/koha/catalogue/search.pl" method="get">
215             <table>
216                 <tr>
217                     <td>
218                         Scan Index for: <input type="text" name="q" id="scan-index" size="35" value="" />
219                     </td>
220                 </tr>
221                 <tr>
222                     <td>
223                         <label for="scan-index">Indexed in:</label>
224                         <select name="idx" id="scan-index">
225                             <option value="">Any Word</option>
226                             <option <!-- TMPL_IF NAME="ms_any,phr" --> selected="selected" <!-- /TMPL_IF --> value="any,phr">Any Phrase</option>
227                             <option <!-- TMPL_IF NAME="ms_ti" --> selected="selected" <!-- /TMPL_IF --> value="ti">Title</option>
228                             <option <!-- TMPL_IF NAME="ms_ti,phr" --> selected="selected" <!-- /TMPL_IF --> value="ti,phr">Title Phrase</option>
229                             <option <!-- TMPL_IF NAME="ms_au,phr" --> selected="selected" <!-- /TMPL_IF --> value="au,phr">Author</option>
230                             <option <!-- TMPL_IF NAME="ms_su" --> selected="selected" <!-- /TMPL_IF --> value="su">Subject</option>
231                             <option <!-- TMPL_IF NAME="ms_su,phr" --> selected="selected" <!-- /TMPL_IF --> value="su,phr">Subject Phrase</option>
232                             <option <!-- TMPL_IF NAME="ms_se" --> selected="selected" <!-- /TMPL_IF --> value="se">Series</option>
233                             <option <!-- TMPL_IF NAME="ms_pb" --> selected="selected" <!-- /TMPL_IF --> value="pb">Publisher</option>
234                             <option <!-- TMPL_IF NAME="ms_nt" --> selected="selected" <!-- /TMPL_IF --> value="nt">Notes</option>
235                             <option <!-- TMPL_IF NAME="ms_se" --> selected="selected" <!-- /TMPL_IF --> value="se">Series Title</option>
236                             <option <!-- TMPL_IF NAME="ms_sn" --> selected="selected" <!-- /TMPL_IF --> value="sn">ISBN</option>
237                             <option <!-- TMPL_IF NAME="ms_ss" --> selected="selected" <!-- /TMPL_IF --> value="ss">ISSN</option>
238                         </select>
239                         <input type="hidden" name="scan" value="1" />
240                     </td>
241                 </tr>
242             </table>
243             </form>
244             
245             <form action="/cgi-bin/koha/catalogue/search.pl" method="get">
246             <table>
247                 <tr>
248                     <th>Term/Phrase</th>
249                     <th>Count</th>
250                 </tr>
251                 <!-- TMPL_LOOP NAME="SEARCH_RESULTS" -->
252                     <!-- TMPL_IF NAME="__odd__" --><tr><!-- TMPL_ELSE --><tr class="highlight"><!-- /TMPL_IF -->
253                         <td>
254                             <a href="/cgi-bin/koha/catalogue/search.pl?idx=<!-- TMPL_VAR name="scan_index_to_use" -->&amp;q=<!-- TMPL_VAR NAME="scan_use" escape="url" -->&quot;<!-- TMPL_VAR NAME="title_nospan" -->&quot;"><!-- TMPL_VAR NAME="title" --></a>
255                         </td>
256                         <td>
257                             <!-- TMPL_VAR NAME="author" -->
258                         </td>
259                     </tr>
260                 <!-- /TMPL_LOOP -->
261             </table>
262             </form>
263         <!-- TMPL_ELSE -->
264
265             <!-- ######### -->
266             <div id="facets">
267                 <dl>
268                 <!-- TMPL_IF NAME="NoZebra" -->
269                 <!-- FACETS START -->
270                 <!-- TMPL_IF NAME="opacfacets" -->
271                     <dt id="facets1" onclick="var Elt=document.getElementById('facets_list');if (Elt.style.display!='block'){Elt.style.display='block';} else {Elt.style.display='none';}">
272                     Refine your search
273                     </dt>
274                     <dd id="facets_list" style="display:none;">
275                     <ul>
276                     <!-- TMPL_LOOP NAME="facets_loop" -->
277                     <li id="<!-- TMPL_VAR NAME="type_id" -->"><!-- TMPL_VAR NAME="type_label" -->
278                         <ul>
279                         <!-- TMPL_LOOP NAME="facets" -->
280                             <li>
281                                 <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" -->">
282                                     <!-- TMPL_VAR NAME="facet_label_value" -->
283                                 </a> (<!-- TMPL_VAR NAME="facet_count" -->)
284                             </li>
285                         <!-- /TMPL_LOOP -->
286                         <!-- TMPL_IF NAME="expandable" -->
287                             <li class="showmore">
288                                 <a href="/cgi-bin/koha/catalogue/search.pl?q=<!-- TMPL_VAR NAME="searchdesc" -->&amp;expand=<!-- TMPL_VAR NAME="expand" -->#<!-- TMPL_VAR NAME="type_id" -->">
289                                     Show More
290                                 </a>
291                             </li>
292                         <!-- /TMPL_IF -->
293                         </ul>
294                     </li>
295                     <!-- /TMPL_LOOP -->
296                     </ul>
297                     </dd>
298                 <!-- /TMPL_IF -->
299                 <!-- FACETS END -->
300                 <!-- /TMPL_IF --> <!-- NoZebra -->
301                 </dl>
302             </div>
303             <!-- ######### -->
304
305             <div id="searchresults">
306                     
307                     <!-- TABLE RESULTS START -->
308
309                 <table>
310                     <tr>
311                         <!-- TMPL_IF NAME="AmazonEnabled" --><th>&nbsp;</th><!-- /TMPL_IF -->
312                         <th colspan="2">Results</th>
313                         <th>Location</th>
314                     </tr>
315                         <!-- Actual Search Results -->
316                         <!-- TMPL_LOOP NAME="SEARCH_RESULTS" -->
317                          <!-- TMPL_IF NAME="__odd__" --><tr><!-- TMPL_ELSE --><tr class="highlight"><!-- /TMPL_IF -->
318                             <!-- TMPL_IF NAME="AmazonEnabled" -->
319                                 <td>
320                                     <a class="p1" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
321                                                                         <!-- TMPL_IF NAME="AmazonCoverImages" -->
322                                         <img src="<!-- TMPL_IF NAME="normalized_isbn" -->http://images.amazon.com/images/P/<!-- TMPL_VAR name="normalized_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" /> <!-- /TMPL_IF -->
323                                     </a></td>                           
324                             <!-- /TMPL_IF -->
325                             <td>
326                                 <input type="checkbox" class="selection" value="<!-- TMPL_VAR NAME="biblionumber" -->" style="display:none" />
327                             </td>
328                             <td>
329                                 <p><!-- TMPL_VAR NAME="result_number" -->.
330                                     <!-- TMPL_IF name="BiblioDefaultViewmarc" -->
331                                         <a class="title" href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
332                                             <b><!-- TMPL_IF NAME="title" --><!-- TMPL_VAR NAME="title" --><!-- TMPL_ELSE -->No title<!-- /TMPL_IF --></b>
333                                         </a> <!-- TMPL_VAR NAME="subtitle" -->
334 <!-- TMPL_IF name="volume" -->,<!-- TMPL_VAR name="volume" --><!-- /TMPL_IF --> <!-- TMPL_IF name="volumeddesc" -->, <!-- TMPL_VAR name="volumeddesc" --><!-- /TMPL_IF -->
335                                     <!-- TMPL_ELSIF NAME="BiblioDefaultViewlabeled_marc" -->
336                                             <a class="title" href="/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
337                                                 <!-- TMPL_VAR NAME="title" --> 
338                                             </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 -->
339                                     <!-- TMPL_ELSIF NAME="BiblioDefaultViewisbd" -->
340                                             <a class="title" href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
341                                                 <!-- TMPL_IF NAME="title" --><!-- TMPL_VAR NAME="title" --><!-- TMPL_ELSE -->No title<!-- /TMPL_IF -->
342                                             </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 -->
343                                     <!-- TMPL_ELSE -->
344                                             <a class="title" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
345                                                 <!-- TMPL_IF NAME="title" --><!-- TMPL_VAR NAME="title" --><!-- TMPL_ELSE -->No title<!-- /TMPL_IF -->
346                                             </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 -->
347                                                                         <!-- /TMPL_IF -->
348                                 </p>
349                                 <!-- TMPL_IF name="summary" -->
350                                         <!-- TMPL_IF NAME="author" -->
351                                             <a href="/cgi-bin/koha/catalogue/search.pl?q=au:<!-- TMPL_VAR NAME="author_nospan" ESCAPE="URL" -->" title="Search for this Author"><!-- TMPL_VAR NAME="author" --></a>
352                                         <!-- TMPL_ELSE -->
353                                             &nbsp;
354                                         <!-- /TMPL_IF -->
355                                     <p>
356                                     <!-- TMPL_UNLESS NAME="item-level_itypes" -->
357                                     <!-- TMPL_UNLESS NAME="noItemTypeImages" --><!-- TMPL_IF name="imageurl" -->
358                                     <img src="<!-- TMPL_VAR name="imageurl" -->" title="<!-- TMPL_VAR name="description" -->" style="float: left; margin: .1em;" alt="" />
359                                     <!-- /TMPL_IF --><!-- /TMPL_UNLESS -->
360                                     <!-- /TMPL_UNLESS -->
361                                     <!-- TMPL_VAR name="summary" --></p>
362                                 <!-- TMPL_ELSE -->
363                                     <p>
364                                     <!-- TMPL_UNLESS NAME="item-level_itypes" -->
365                                     <!-- TMPL_UNLESS NAME="noItemTypeImages" --><!-- TMPL_IF name="imageurl" -->
366                                     <img src="<!-- TMPL_VAR name="imageurl" -->" title="<!-- TMPL_VAR name="description" -->" style="float: left; margin: .1em;" alt="" />
367                                     <!-- /TMPL_IF --><!-- /TMPL_UNLESS -->
368                                     <!-- /TMPL_UNLESS -->
369
370                                         <!-- TMPL_IF NAME="author" -->
371                                             <a href="/cgi-bin/koha/catalogue/search.pl?q=au:<!-- TMPL_VAR NAME="author_nospan" ESCAPE="URL" -->" title="Search for this Author"><!-- TMPL_VAR NAME="author" --></a>
372                                         <!-- TMPL_ELSE -->
373                                             &nbsp;
374                                         <!-- /TMPL_IF -->
375                                         
376                                         <!-- TMPL_IF name="publishercode" --><!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
377                                                                                 <!-- TMPL_IF NAME="edition" -->Edition: <!-- TMPL_VAR NAME="edition" --><!-- /TMPL_IF -->
378                                         Description: 
379                                         <!-- TMPL_IF name="place" --> ; <!-- TMPL_VAR name="place" --><!-- /TMPL_IF -->
380                                                                                 <!-- TMPL_IF name="publicationyear" -->, <!-- TMPL_VAR name="publicationyear" -->
381                                                                                 <!-- TMPL_ELSIF name="copyrightdate"-->, <!-- TMPL_VAR name="copyrightdate" --><!-- /TMPL_IF -->
382                                         <!-- TMPL_IF name="pages" -->: <!-- TMPL_VAR name="pages" --><!-- /TMPL_IF -->
383                                         <!-- TMPL_IF name="size" --> ; <!-- TMPL_VAR name="size" --><!-- /TMPL_IF --> <!-- TMPL_IF NAME="normalized_isbn" -->ISBN: <!-- TMPL_VAR NAME="normalized_isbn" --><!-- /TMPL_IF -->
384                                         <!-- TMPL_VAR name="description" -->
385                                         <!-- TMPL_IF name="timestamp" --> <i>(modified on <!-- TMPL_VAR name="timestamp" -->)</i><!-- /TMPL_IF -->
386                                         <!-- TMPL_IF name="cn_class" -->[<a href="/cgi-bin/koha/catalogue/search.pl?q=callnum:<!-- TMPL_VAR NAME="cn_class" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="cn_class" --></a>]<!-- /TMPL_IF -->
387                                     </p>
388                                     <p class="searchhighlightblob"><!-- TMPL_VAR NAME="searchhighlightblob" --></p>
389
390                                     <!-- TMPL_IF NAME="authorised_value_images" -->
391                                 <p>
392                                   <!-- TMPL_LOOP NAME="authorised_value_images" -->
393                                   <img src="<!-- TMPL_VAR name="imageurl" -->" />
394                                   <!-- /TMPL_LOOP -->
395                                 </p>
396                                 <!-- /TMPL_IF -->
397                                 
398                                 <!-- /TMPL_IF -->
399                                   <!-- TMPL_IF NAME="norequests" -->
400                                         No holds allowed
401                                     <!-- TMPL_ELSE -->
402                                         <a class="reserve" id="reserve_<!-- TMPL_VAR NAME="biblionumber" -->" href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Holds</a>
403                                     <!-- /TMPL_IF -->
404                                 </td>
405
406                                 <td><div class="availability">
407                                     <!-- TMPL_IF NAME="items_count" --><strong><!-- TMPL_VAR NAME="items_count" -->
408                                     <!-- TMPL_IF NAME="itemsplural" -->items<!-- TMPL_ELSE -->item<!-- /TMPL_IF --><!-- TMPL_IF NAME="available_items_loop" -->, <!-- TMPL_IF NAME="availablecount" --><!-- TMPL_VAR NAME="availablecount" --> available:<!-- /TMPL_IF --><!-- TMPL_ELSE -->, None available<!-- /TMPL_IF --></strong>
409
410                                     <!-- TMPL_IF NAME="available_items_loop" -->
411                                     <!-- TMPL_IF NAME="availablecount" --><!-- TMPL_VAR NAME="availablecount" --><!-- /TMPL_IF --> available:
412                                     <ul>
413                                     <!-- TMPL_LOOP NAME="available_items_loop" -->
414                                         
415                                         <!-- TMPL_IF NAME="noItemTypeImages" --><li><!-- TMPL_ELSE --><!-- TMPL_IF NAME="item-level_itypes" --><!-- TMPL_IF name="imageurl" --><li style="list-style: none; list-style-type: none;"><img src="<!-- TMPL_VAR name="imageurl" -->" title="<!-- TMPL_VAR name="description" -->" /><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><!-- /TMPL_IF -->
416                                         <!-- TMPL_IF NAME="branchname" --><!-- TMPL_VAR NAME="branchname" --><!-- /TMPL_IF -->
417                                         <!-- TMPL_IF NAME="location" --><!-- TMPL_VAR NAME="location" --><!-- /TMPL_IF -->
418                                         <!-- TMPL_IF NAME="itemcallnumber" -->[<a href="/cgi-bin/koha/catalogue/search.pl?q=callnum:<!-- TMPL_VAR NAME="itemcallnumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="itemcallnumber" --></a>]<!-- /TMPL_IF -->
419                                         (<!-- TMPL_VAR NAME="count" -->)</li>
420                                     <!-- /TMPL_LOOP --></ul>
421                                     <!-- /TMPL_IF -->
422
423                                    <!-- TMPL_IF NAME="onloan_items_loop" -->
424                                    <span class="status"><!-- TMPL_IF NAME="onloancount" --><!-- TMPL_VAR NAME="onloancount" --><!-- /TMPL_IF --> on loan:</span>
425                                     <ul>
426                                     <!-- TMPL_LOOP NAME="onloan_items_loop" -->
427                                        <!-- TMPL_IF NAME="noItemTypeImages" --><li><!-- TMPL_ELSE --><!-- TMPL_IF NAME="item-level_itypes" -->
428                                         <!-- TMPL_IF name="imageurl" -->
429                                         <li style="list-style: none; list-style-type: none;"><img src="<!-- TMPL_VAR name="imageurl" -->" title="<!-- TMPL_VAR name="description" -->" />
430                                         <!-- TMPL_ELSE --><li><!-- /TMPL_IF -->
431                                         <!-- TMPL_ELSE --><li><!-- /TMPL_IF --><!-- /TMPL_IF -->                                        
432
433                                         <!-- TMPL_IF NAME="branchname" --><!-- TMPL_VAR NAME="branchname" --><!-- /TMPL_IF -->
434                                         <!-- TMPL_IF NAME="location" --><!-- TMPL_VAR NAME="location" --><!-- /TMPL_IF -->
435                                         <!-- TMPL_IF NAME="itemcallnumber" -->[<a href="/cgi-bin/koha/catalogue/search.pl?q=callnum:<!-- TMPL_VAR NAME="itemcallnumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="itemcallnumber" --></a>]<!-- /TMPL_IF -->
436                                         (<!-- TMPL_VAR NAME="count" --><!-- TMPL_IF NAME="longoverdue" -->, <!-- TMPL_VAR NAME="longoverdue" --> long overdue<!-- /TMPL_IF -->) date due: <!-- TMPL_VAR NAME="due_date" --></li>
437                                     <!-- /TMPL_LOOP --></ul>
438                                     <!-- /TMPL_IF -->
439
440                                     <!-- TMPL_IF NAME="other_items_loop" -->
441                                     <span class="unavailable"><!-- TMPL_IF NAME="othercount" --><!-- TMPL_VAR NAME="othercount" --><!-- /TMPL_IF --> unavailable:</span>
442                                     <ul>
443                                     <!-- TMPL_LOOP NAME="other_items_loop" -->
444                                         <!-- TMPL_IF NAME="noItemTypeImages" --><li><!-- TMPL_ELSE --><!-- TMPL_IF NAME="item-level_itypes" -->
445                                         <!-- TMPL_IF name="imageurl" -->
446                                         <li style="list-style: none; list-style-type: none;"><img src="<!-- TMPL_VAR name="imageurl" -->" title="<!-- TMPL_VAR name="description" -->" />
447                                         <!-- TMPL_ELSE --><li><!-- /TMPL_IF -->
448                                         <!-- TMPL_ELSE --><li><!-- /TMPL_IF --><!-- /TMPL_IF -->
449
450                                         <!-- TMPL_IF NAME="branchname" --><!-- TMPL_VAR NAME="branchname" --><!-- /TMPL_IF -->
451                                         <!-- TMPL_IF NAME="location" --><!-- TMPL_VAR NAME="location" --><!-- /TMPL_IF -->
452                                         <!-- TMPL_IF NAME="itemcallnumber" -->[<a href="/cgi-bin/koha/catalogue/search.pl?q=callnum:<!-- TMPL_VAR NAME="itemcallnumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="itemcallnumber" --></a>]<!-- /TMPL_IF -->
453                                         <!-- TMPL_IF NAME="wthdrawn" -->(Withdrawn)<!-- /TMPL_IF -->
454                                         <!-- TMPL_IF NAME="itemlost" -->(Lost)<!-- /TMPL_IF -->
455                                         <!-- TMPL_IF NAME="damaged" -->(Damaged)<!-- /TMPL_IF -->
456                                         <!-- TMPL_IF NAME="intransit" -->(In transit)<!-- /TMPL_IF -->
457                                         <!-- TMPL_IF NAME="notforloan" --><!-- TMPL_VAR name="notforloan" --><!-- /TMPL_IF -->
458                                         (<!-- TMPL_VAR NAME="count" -->)</li>
459                                     <!-- /TMPL_LOOP --></ul>
460                                     <!-- /TMPL_IF -->
461                                     <!-- TMPL_ELSE -->
462                                     <span class="unavailable">No items</span>
463                                     <!-- /TMPL_IF --> <!-- /items count -->
464                                     </div></td>
465
466                             </tr>
467                         <!-- /TMPL_LOOP -->
468                 </table>
469                 </div>
470         <!-- /TMPL_IF -->
471         <!-- TMPL_INCLUDE NAME="page-numbers.inc" -->
472     <!-- TMPL_ELSE -->
473     <!-- No Results Found -->
474     <!-- /TMPL_IF -->
475 <!-- TMPL_IF NAME="outer_sup_results_loop" -->
476 </div>
477 <div class="yui-u">
478 <!-- TMPL_LOOP NAME="outer_sup_results_loop" -->
479 <!-- <div class="yui-b"> -->
480     <!-- TMPL_IF NAME="inner_sup_results_loop" -->
481         <!-- TMPL_VAR NAME="servername" -->
482         <!-- TMPL_LOOP NAME="inner_sup_results_loop" -->
483         <div><a href="/cgi-bin/koha/catalogue/search.pl?<!-- TMPL_VAR NAME="query_cgi" --><!-- TMPL_VAR NAME="limit_cgi" --><!-- TMPL_VAR NAME="sort_by" --><!-- TMPL_VAR NAME="link" -->"><!-- TMPL_VAR NAME="title" --></a></div>
484         <!-- /TMPL_LOOP -->
485     <!-- /TMPL_IF -->
486 <!-- </div> -->
487 <!-- /TMPL_LOOP -->
488 </div>
489 </div>
490 <!-- /TMPL_IF -->
491
492 <form id="hold_form" method="get" action="/cgi-bin/koha/reserve/request.pl">
493     <!-- Value will be set here by placeHold() -->
494     <input id="hold_form_biblios" type="hidden" name="biblionumbers" value="" />
495     <input type="hidden" name="multi_hold" value="1"/>
496 </form>
497
498 <form id="list_form" method="get" action="/cgi-bin/koha/reserve/request.pl">
499     <!-- Value will be set here by addToList() -->
500     <input id="list_form_biblios" type="hidden" name="biblionumbers" value="" />
501     <input type="hidden" name="multi_listadd" value="1"/>
502 </form>
503
504 </div>
505 </div>
506 <div class="yui-b">
507 <!-- TMPL_INCLUDE NAME="facets.inc" -->
508 </div>
509 </div>
510 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->