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