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