1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] Catalog › Your cart</title>
3 [% IF ( print_basket ) %]
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
7 <meta http-equiv="Content-Language" content="en-us" />
8 <style type="text/css">
9 @import url([% themelang %]/css/print.css);
11 [% ELSE %][% INCLUDE 'doc-head-close.inc' %]
12 <style type="text/css">
17 td table th:first-child,
18 td table th.sorting:first-child,
19 td table th.sorting_asc:first-child,
20 td table th.sorting_desc:first-child {
21 border-right : 1px solid #99BEC9;
25 td table th.sorting_asc,
26 td table th.sorting_desc {
27 background-color: #E6F0F2;
28 border-color: #99BEC9;
29 border-width: 0px 0px 1px 0px;
32 border-width: 0px 0px 1px 0px;
33 border-color: #B8D7E0;
36 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
37 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
38 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
39 [% INCLUDE 'datatables-strings.inc' %]
40 <script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> <script type="text/javascript">
43 function placeHold () {
44 var checkedItems = $("input:checkbox:checked");
45 if ($(checkedItems).size() == 0) {
46 alert(MSG_NO_RECORD_SELECTED);
52 if ($(checkedItems).size() > 1) {
54 $(checkedItems).each(function() {
55 var bib = $(this).val();
59 newloc = "/cgi-bin/koha/reserve/request.pl?biblionumbers=" + bibs + "&multi_hold=1";
61 var bib = checkedItems[0].value;
62 newloc = "/cgi-bin/koha/reserve/request.pl?biblionumber=" + bib;
65 window.opener.location = newloc;
69 $(document).ready(function(){
70 $("#items-popover").popover();
71 $("#CheckAll").click(function(){
73 $("#bookbag_form").checkCheckboxes("*", true).each(
75 selRecord(this.value,true);
80 $("#CheckNone").click(function(){
82 $("#bookbag_form").unCheckCheckboxes("*",true).each(
84 selRecord(this.value,false);
89 $(".holdsep").text("| ");
90 $(".hold").text(_("Place Hold"));
91 $("#downloadcartc").empty();
93 $("#itemst").dataTable($.extend(true, {}, dataTablesDefaults, {
96 { "aTargets": [ 0 ], "bSortable": false, "bSearchable": false },
97 { "aTargets": [ 3 ], "sType": 'callnumbers' },
99 "aaSorting": [[ 1, "asc" ]],
108 [% IF ( print_basket ) %]<body id="cart_basket" class="cart" onload="print();history.back();">[% ELSE %]<body id="cart_basket" class="cart">[% END %]
110 <div id="doc" class="yui-t7">
111 <div class="container">
112 [% UNLESS ( print_basket ) %]
115 <div id="toolbar" class="btn-toolbar">
116 [% IF ( verbose ) %]<a href="basket.pl" class="btn btn-small" onclick="showLess(); return false;"><i class="icon-zoom-out"></i> Brief display</a>[% ELSE %]<a href="basket.pl" class="btn btn-small" onclick="showMore(); return false;"><i class="icon-zoom-in"></i> More details</a>[% END %]
117 <a class="btn btn-small" href="basket.pl" onclick="sendBasket(); return false;"><i class="icon-envelope"></i> Send</a>
118 <div class="btn-group">
119 <a class="btn btn-small dropdown-toggle" data-toggle="dropdown" href="#" id="downloadcart"><i class="icon-download-alt"></i> Download <span class="caret"></span> </a>
120 <ul class="dropdown-menu">
121 <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=iso2709&bib_list=[% bib_list %]">iso2709</a></li>
122 <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=ris&bib_list=[% bib_list %]">RIS</a></li>
123 <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=bibtex&bib_list=[% bib_list %]">BibTex</a></li>
124 [% FOREACH csv_profile IN csv_profiles %]
125 <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=[% csv_profile.export_format_id %]&bib_list=[% bib_list %]">CSV - [% csv_profile.profile %]</a></li>
129 <a class="btn btn-small" href="basket.pl" onclick="printBasket(); return false;"><i class="icon-print"></i> Print</a>
130 <a class="btn btn-small" href="basket.pl" onclick="delBasket('popup'); return false;"><i class="icon-trash"></i> Empty and close</a>
131 <a class="btn btn-small close" href="basket.pl"><i class="icon-remove-sign"></i> Hide window</a>
136 [% UNLESS ( print_basket ) %]<p style="padding: 7px 0; border-top : 1px solid #E8E8E8;"><a id="CheckAll" href="#">Select all</a> <a id="CheckNone" href="#">Clear all</a> | <b>Selected items :</b>
138 <a href="#" onclick="delSelRecords(); return false;">Remove</a>
140 [% IF ( loggedinusername ) %]
141 | <a href="#" onclick="addSelToShelf(); return false;">Add to a list</a>
144 [% IF ( CAN_user_reserveforothers ) %]
145 | <a href="#" onclick="placeHold(); return false;">Place hold</a>
149 <form action="basket.pl" method="get" name="bookbag_form" id="bookbag_form">
150 [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
152 [% IF ( print_basket ) %]
153 [% BIBLIO_RESULT.title |html %]
154 [% IF ( BIBLIO_RESULT.subtitle ) %] [% BIBLIO_RESULT.subtitle %][% END %]
155 [% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author %][% END %]
157 <input type="checkbox" value="[% BIBLIO_RESULT.biblionumber %]" name="bib[% BIBLIO_RESULT.biblionumber %]" id="bib[% BIBLIO_RESULT.biblionumber %]" onclick="selRecord(value,checked)" />
158 [% BIBLIO_RESULT.title |html %]
159 [% IF ( BIBLIO_RESULT.subtitle ) %] [% BIBLIO_RESULT.subtitle %][% END %]
160 [% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author %][% END %]
163 <!-- COinS / Openurl -->
164 <span class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.au=[% BIBLIO_RESULT.author %]&rft.btitle=[% BIBLIO_RESULT.title |url %]&rft.date=[% BIBLIO_RESULT.publicationyear %]&rft.tpages=[% BIBLIO_RESULT.size %]&rft.isbn=[% BIBLIO_RESULT.isbn |url %]&rft.aucorp=&rft.place=[% BIBLIO_RESULT.place %]&rft.pub=[% BIBLIO_RESULT.publisher |url %]&rft.edition=[% BIBLIO_RESULT.edition %]&rft.series=[% BIBLIO_RESULT.series %]&rft.genre="></span>
166 [% IF ( BIBLIO_RESULT.isbn ) %]
168 <th scope="row">ISBN</th>
169 <td>[% BIBLIO_RESULT.isbn %]</td>
173 [% IF ( BIBLIO_RESULT.HASAUTHORS ) %]
175 <th scope="row">Author(s)</th>
177 [% IF ( BIBLIO_RESULT.author ) %]
178 <p>[% BIBLIO_RESULT.author %]</p>
180 [% IF ( BIBLIO_RESULT.MARCAUTHORS ) %]
181 [% FOREACH MARCAUTHOR IN BIBLIO_RESULT.MARCAUTHORS %]
182 <p> [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
183 [% MARCAUTHOR_SUBFIELDS_LOO.separator %]
184 [% MARCAUTHOR_SUBFIELDS_LOO.value %]
193 [% IF ( BIBLIO_RESULT.publishercode ) %]
195 <th scope="row">Publisher</th>
196 <td>[% BIBLIO_RESULT.place %] [% BIBLIO_RESULT.publishercode %] [% BIBLIO_RESULT.publicationyear %]
200 [% IF ( BIBLIO_RESULT.pages ) %]
202 <th scope="row">Details</th>
203 <td>[% BIBLIO_RESULT.pages %] [% BIBLIO_RESULT.illus %] [% BIBLIO_RESULT.size %]</td>
206 [% IF ( BIBLIO_RESULT.seriestitle ) %]
208 <th scope="row">Collection</th>
209 <td> [% BIBLIO_RESULT.seriestitle %]</td>
213 [% IF ( BIBLIO_RESULT.MARCSUBJCTS ) %]
215 <th scope="row">Subject(s)</th>
216 <td>[% FOREACH MARCSUBJCT IN BIBLIO_RESULT.MARCSUBJCTS %]
217 <p> [% FOREACH MARCSUBJECT_SUBFIELDS_LOO IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %]
218 [% MARCSUBJECT_SUBFIELDS_LOO.separator %][% MARCSUBJECT_SUBFIELDS_LOO.value %][% END %]
224 [% IF ( BIBLIO_RESULT.copyrightdate ) %]
225 <tr><th scope="row">Copyright</th>
226 <td> [% BIBLIO_RESULT.copyrightdate %]</td>
230 [% IF ( BIBLIO_RESULT.MARCNOTES ) %]
232 <th scope="row">Notes</th>
234 [% FOREACH MARCNOTE IN BIBLIO_RESULT.MARCNOTES %]
235 <p>- [% MARCNOTE.marcnote %]</p>
240 [% IF ( BIBLIO_RESULT.unititle ) %]
242 <th scope="row">Unified title</th>
243 <td> [% BIBLIO_RESULT.unititle %]</td>
246 [% IF ( BIBLIO_RESULT.serial ) %]
248 <th scope="row">Serial</th>
249 <td>[% BIBLIO_RESULT.serial %]</td>
252 [% IF ( BIBLIO_RESULT.dewey ) %]
254 <th scope="row">Dewey</th>
255 <td>[% BIBLIO_RESULT.dewey %]</td>
258 [% IF ( BIBLIO_RESULT.classification ) %]
260 <th scope="row">Classification</th>
261 <td> [% BIBLIO_RESULT.classification %]</td>
264 [% IF ( BIBLIO_RESULT.lccn ) %]
266 <th scope="row">LCCN</th>
267 <td> [% BIBLIO_RESULT.lccn %]</td>
271 [% IF ( BIBLIO_RESULT.MARCurlS ) %]
273 <th scope="row">URL(s)</th>
275 [% FOREACH MARCurl IN BIBLIO_RESULT.MARCurlS %]
276 <p>[% IF ( MARCurl.part ) %][% MARCurl.part %]
279 [% MARCurl.MARCurl %]
280 [% IF ( MARCurl.notes ) %][% FOREACH note IN MARCurl.notes %][% note.note %]<br />[% END %][% END %]
285 <th scope="row">Location(s)</th>
286 <td>[% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %][% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]
288 [% ITEM_RESULT.branchname %] [% ITEM_RESULT.location_description %]
289 [% IF ( ITEM_RESULT.itemcallnumber ) %]
290 ([% ITEM_RESULT.itemcallnumber %])
293 [% END %][% ELSE %]This record has no items.[% END %]</td>
300 [% UNLESS ( print_basket ) %]
301 <p style="border-top : 1px solid #E8E8E8;">
302 <form action="/cgi-bin/koha/basket/basket.pl" method="get" name="bookbag_form" id="bookbag_form">
303 <a id="CheckAll" href="#">Select all</a>
304 <a id="CheckNone" href="#">Clear all</a>
305 | <b>Selected items :</b>
306 <a href="#" onclick="delSelRecords(); return false;">Remove</a>
308 [% IF ( loggedinusername ) %]
309 | <a href="#" onclick="addSelToShelf(); return false;">Add to a list</a>
312 [% IF ( CAN_user_reserveforothers ) %]
313 | <a href="#" onclick="placeHold(); return false;">Place hold</a>
321 [% UNLESS ( print_basket ) %]<th> </th>[% END %]
324 <th><a id="items-popover" href="#" data-trigger="hover" data-toggle="popover" data-placement="top" title="Item sorting" data-content="Items are sorted by the highest or lowest callnumber in a group of items respectively.">Items</a></th>
327 [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %]
329 [% UNLESS ( print_basket ) %]<td>
330 <input type="checkbox" value="[% BIBLIO_RESULT.biblionumber %]" name="bib[% BIBLIO_RESULT.biblionumber %]" id="bib[% BIBLIO_RESULT.biblionumber %]" onclick="selRecord(value,checked);" />
333 <td><a href="#" onclick="openBiblio('[% BIBLIO_RESULT.dest %]',[% BIBLIO_RESULT.biblionumber %])">
334 [% BIBLIO_RESULT.title |html %]
336 [% BIBLIO_RESULT.author %]
337 <p>[% IF ( BIBLIO_RESULT.publishercode ) %]- [% BIBLIO_RESULT.publishercode %]
338 [% IF ( BIBLIO_RESULT.place ) %] [% BIBLIO_RESULT.place %][% END %][% END %]
339 [% IF ( BIBLIO_RESULT.pages ) %] - [% BIBLIO_RESULT.pages %][% IF ( BIBLIO_RESULT.size ) %] [% BIBLIO_RESULT.size %]
342 [% IF ( BIBLIO_RESULT.notes ) %]
343 <p>[% BIBLIO_RESULT.notes %]</p>
345 <!-- COinS / Openurl -->
346 <span class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.au=[% BIBLIO_RESULT.author %]&rft.btitle=[% BIBLIO_RESULT.title |url %]&rft.date=[% BIBLIO_RESULT.publicationyear %]&rft.tpages=[% BIBLIO_RESULT.size %]&rft.isbn=[% BIBLIO_RESULT.isbn |url %]&rft.aucorp=&rft.place=[% BIBLIO_RESULT.place %]&rft.pub=[% BIBLIO_RESULT.publisher |url %]&rft.edition=[% BIBLIO_RESULT.edition %]&rft.series=[% BIBLIO_RESULT.series %]&rft.genre="></span>
349 <td>[% BIBLIO_RESULT.description %]</td>
351 [% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %]
352 [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]
353 <div><span class="nowrap"><strong>[% ITEM_RESULT.itemcallnumber %]</strong> [% ITEM_RESULT.branchname %] <span class="shelvingloc inline">[% ITEM_RESULT.location_description %]</span></span></div>
356 This record has no items.
364 <form name="myform" action="basket/basket.pl" method="get">
365 <input type="hidden" name="records" id="records" />