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