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