Line 0
Link Here
|
|
|
1 |
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --> |
2 |
<title><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog › Your Cart</title> |
3 |
<!-- TMPL_IF NAME="print_basket" --> |
4 |
|
5 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
6 |
<link rel="shortcut icon" href="<!-- TMPL_VAR NAME="themelang" -->/includes/favicon.ico" type="image/x-icon" /> |
7 |
<meta http-equiv="Content-Language" content="en-us" /> |
8 |
<style type="text/css"> |
9 |
@import url(<!-- TMPL_VAR NAME="themelang" -->/css/print.css); |
10 |
</style> |
11 |
<!-- TMPL_ELSE --><!-- TMPL_INCLUDE NAME="doc-head-close.inc" --> |
12 |
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.checkboxes.min.js"></script> |
13 |
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script> |
14 |
<script type="text/javascript"> |
15 |
//<![CDATA[ |
16 |
|
17 |
$(document).ready(function() |
18 |
{ |
19 |
$("#itemst").tablesorter({ |
20 |
headers: { 0: { sorter: false }} |
21 |
}); |
22 |
} |
23 |
); |
24 |
|
25 |
|
26 |
function placeHold () { |
27 |
var checkedItems = $("input:checkbox:checked"); |
28 |
if ($(checkedItems).size() == 0) { |
29 |
alert(MSG_NO_RECORD_SELECTED); |
30 |
return false; |
31 |
} |
32 |
var bibs = ""; |
33 |
var badBibs = false; |
34 |
$(checkedItems).each(function() { |
35 |
var bib = $(this).val(); |
36 |
bibs += bib + "/"; |
37 |
}); |
38 |
|
39 |
var newloc = "/cgi-bin/koha/reserve/request.pl?biblionumbers=" + bibs; |
40 |
if ($(checkedItems).size() > 1) { newloc += "&multi_hold=1"; } |
41 |
window.opener.location = newloc; |
42 |
window.close(); |
43 |
} |
44 |
|
45 |
|
46 |
|
47 |
$(document).ready(function(){ |
48 |
$("#CheckAll").click(function(){ |
49 |
var checked = []; |
50 |
$("#bookbag_form").checkCheckboxes("*", true).each( |
51 |
function() { |
52 |
selRecord(this.value,true); |
53 |
} |
54 |
); |
55 |
return false; |
56 |
}); |
57 |
$("#CheckNone").click(function(){ |
58 |
var checked = []; |
59 |
$("#bookbag_form").unCheckCheckboxes("*",true).each( |
60 |
function() { |
61 |
selRecord(this.value,false); |
62 |
} |
63 |
); |
64 |
return false; |
65 |
}); |
66 |
$(".holdsep").text("| "); |
67 |
$(".hold").text(_("Place Hold")); |
68 |
}); |
69 |
|
70 |
|
71 |
//]]> |
72 |
</script> |
73 |
<!-- /TMPL_IF --> |
74 |
</head> |
75 |
<!-- TMPL_IF NAME="print_basket" --><body id="basket" onload="print();history.back();"><!-- TMPL_ELSE --><body id="basket"><!-- /TMPL_IF --> |
76 |
|
77 |
<div id="doc" class="yui-t7"> |
78 |
<div class="container"> |
79 |
<!-- TMPL_UNLESS NAME="print_basket" --> |
80 |
<h1>Your Cart</h1> |
81 |
|
82 |
<div id="toolbar"> |
83 |
<ul class="toolbar"> |
84 |
<li> |
85 |
<span id="addchild" class="yui-button yui-link-button"><span class="first-child"> |
86 |
<!-- TMPL_IF NAME="verbose" --><a href="basket.pl" class="brief" onclick="showLess(); return false;">Brief Display</a><!-- TMPL_ELSE --><a href="basket.pl" class="detail" onclick="showMore(); return false;">More Details</a><!-- /TMPL_IF --> |
87 |
</span></span> |
88 |
</li> |
89 |
<li> |
90 |
<span id="batchedit" class="yui-button yui-link-button"><span class="first-child"> |
91 |
<a class="batchedit" href="basket.pl" onclick="batchEdit(); return false;">Batch Edit</a> |
92 |
</span></span> |
93 |
</li> |
94 |
<li> |
95 |
<span id="receive" class="yui-button yui-link-button"><span class="first-child"> |
96 |
<a class="send" href="basket.pl" onclick="sendBasket(); return false;">Send</a> |
97 |
</span></span> |
98 |
</li> |
99 |
<li> |
100 |
<span id="savemenuc" class="yui-button yui-link-button"><span class="first-child"> |
101 |
<a class="download" href="basket.pl" onclick="downloadBasket(); return false;">Download</a> |
102 |
</span></span> |
103 |
</li> |
104 |
<li> |
105 |
<span id="printmenuc" class="yui-button yui-link-button"><span class="first-child"> |
106 |
<a class="print" href="basket.pl" onclick="printBasket(); return false;">Print</a> |
107 |
</span></span> |
108 |
</li> |
109 |
<li> |
110 |
<span id="delete" class="yui-button yui-link-button"><span class="first-child"> |
111 |
<a class="empty" href="basket.pl" onclick="delBasket(); return false;">Empty and Close</a> |
112 |
</span></span> |
113 |
</li> |
114 |
<li> |
115 |
<span id="hide" class="yui-button yui-link-button"><span class="first-child"> |
116 |
<a class="hide" href="basket.pl" onclick="quit(); return false;">Hide Window</a> |
117 |
</span></span> |
118 |
</li> |
119 |
</ul> |
120 |
</div> |
121 |
<!-- /TMPL_UNLESS --> |
122 |
|
123 |
<!-- TMPL_IF NAME="verbose" --> |
124 |
<!-- TMPL_UNLESS NAME="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> |
125 |
|
126 |
<a href="#" onclick="delSelRecords(); return false;">Remove</a> |
127 |
|
128 |
<!-- TMPL_IF NAME="loggedinusername" --> |
129 |
| <a href="#" onclick="addSelToShelf(); return false;">Add to a list</a> |
130 |
<!-- /TMPL_IF --> |
131 |
|
132 |
<!-- TMPL_IF NAME="CAN_user_reserveforothers" --> |
133 |
| <a href="#" onclick="placeHold(); return false;">Place Hold</a> |
134 |
<!-- /TMPL_IF --> |
135 |
|
136 |
</p><!-- /TMPL_UNLESS --> |
137 |
<form action="basket.pl" method="get" name="bookbag_form" id="bookbag_form"> |
138 |
<!-- TMPL_LOOP NAME="BIBLIO_RESULTS" --> |
139 |
<h3> |
140 |
<!-- TMPL_IF NAME="print_basket" --> |
141 |
<!-- TMPL_VAR NAME="title" ESCAPE="html" --> |
142 |
<!-- TMPL_IF name="subtitle" --> <!-- TMPL_VAR NAME="subtitle" --><!-- /TMPL_IF --> |
143 |
<!-- TMPL_IF name="author" --> <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF --> |
144 |
<!-- TMPL_ELSE --> |
145 |
<input type="checkbox" value="<!-- TMPL_VAR NAME="biblionumber" -->" name="bib<!-- TMPL_VAR NAME="biblionumber" -->" id="bib<!-- TMPL_VAR NAME="biblionumber" -->" onclick="selRecord(value,checked)" /> |
146 |
<!-- TMPL_VAR NAME="title" escape="html" --> |
147 |
<!-- TMPL_IF name="subtitle" --> <!-- TMPL_VAR NAME="subtitle" --><!-- /TMPL_IF --> |
148 |
<!-- TMPL_IF name="author" --> <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF --> |
149 |
<!-- /TMPL_IF --> |
150 |
</h3> |
151 |
<!-- COinS / OpenURL --> |
152 |
<span class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.au=<!-- TMPL_VAR NAME="author" -->&rft.btitle=<!-- TMPL_VAR NAME="title" ESCAPE="url" -->&rft.date=<!-- TMPL_VAR NAME="publicationyear" -->&rft.tpages=<!-- TMPL_VAR NAME="size" -->&rft.isbn=<!-- TMPL_VAR NAME="isbn" ESCAPE="url" -->&rft.aucorp=&rft.place=<!-- TMPL_VAR NAME="place" -->&rft.pub=<!-- TMPL_VAR NAME="publisher" ESCAPE="url" -->&rft.edition=<!-- TMPL_VAR NAME="edition" -->&rft.series=<!-- TMPL_VAR NAME="series" -->&rft.genre="></span> |
153 |
<table> |
154 |
<!-- TMPL_IF name="isbn" --> |
155 |
<tr> |
156 |
<th scope="row">ISBN</th> |
157 |
<td><!-- TMPL_VAR NAME="isbn" --></td> |
158 |
</tr> |
159 |
<!-- /TMPL_IF --> |
160 |
|
161 |
<!-- TMPL_IF "HASAUTHORS" --> |
162 |
<tr> |
163 |
<th scope="row">Author(s)</th> |
164 |
<td> |
165 |
<!-- TMPL_IF NAME="author" --> |
166 |
<p><!-- TMPL_VAR NAME="author" --></p> |
167 |
<!-- /TMPL_IF --> |
168 |
<!-- TMPL_IF NAME="MARCAUTHORS" --> |
169 |
<!-- TMPL_LOOP NAME="MARCAUTHORS" --> |
170 |
<p> <!-- TMPL_LOOP NAME="MARCAUTHOR_SUBFIELDS_LOOP" --> |
171 |
<!-- TMPL_VAR NAME="separator" --> |
172 |
<!-- TMPL_VAR NAME="value" --> |
173 |
<!-- /TMPL_LOOP --> |
174 |
</p> |
175 |
<!-- /TMPL_LOOP --> |
176 |
<!-- /TMPL_IF --> |
177 |
</td> |
178 |
</tr> |
179 |
<!-- /TMPL_IF --> |
180 |
|
181 |
<!-- TMPL_IF NAME="publishercode" --> |
182 |
<tr> |
183 |
<th scope="row">Publisher</th> |
184 |
<td><!-- TMPL_VAR NAME="place" --> <!-- TMPL_VAR NAME="publishercode" --> <!-- TMPL_VAR NAME="publicationyear" --> |
185 |
</td> |
186 |
</tr> |
187 |
<!-- /TMPL_IF --> |
188 |
<!-- TMPL_IF NAME="pages" --> |
189 |
<tr> |
190 |
<th scope="row">Details</th> |
191 |
<td><!-- TMPL_VAR NAME="pages" --> <!-- TMPL_VAR NAME="illus" --> <!-- TMPL_VAR NAME="size" --></td> |
192 |
</tr> |
193 |
<!-- /TMPL_IF --> |
194 |
<!-- TMPL_IF name="seriestitle" --> |
195 |
<tr> |
196 |
<th scope="row">Collection</th> |
197 |
<td> <!-- TMPL_VAR NAME="seriestitle" --></td> |
198 |
</tr> |
199 |
<!-- /TMPL_IF --> |
200 |
|
201 |
<!-- TMPL_IF name="MARCSUBJCTS" --> |
202 |
<tr> |
203 |
<th scope="row">Subject(s)</th> |
204 |
<td><!-- TMPL_LOOP NAME="MARCSUBJCTS" --> |
205 |
<p> <!-- TMPL_LOOP NAME="MARCSUBJECT_SUBFIELDS_LOOP" --> |
206 |
<!-- TMPL_VAR NAME="separator" --><!-- TMPL_VAR NAME="value" --><!-- /TMPL_LOOP --> |
207 |
</p> |
208 |
<!-- /TMPL_LOOP --></td> |
209 |
</tr> |
210 |
<!-- /TMPL_IF --> |
211 |
|
212 |
<!-- TMPL_IF name="copyrightdate" --> |
213 |
<tr><th scope="row">Copyright</th> |
214 |
<td> <!-- TMPL_VAR NAME="copyrightdate" --></td> |
215 |
</tr> |
216 |
<!-- /TMPL_IF --> |
217 |
|
218 |
<!-- TMPL_IF name="MARCNOTES" --> |
219 |
<tr> |
220 |
<th scope="row">Notes</th> |
221 |
<td> |
222 |
<!-- TMPL_LOOP NAME="MARCNOTES" --> |
223 |
<p>- <!-- TMPL_VAR NAME="marcnote" --></p> |
224 |
<!-- /TMPL_LOOP --></td> |
225 |
</tr> |
226 |
<!-- /TMPL_IF --> |
227 |
|
228 |
<!-- TMPL_IF name="unititle" --> |
229 |
<tr> |
230 |
<th scope="row">Unified title</th> |
231 |
<td> <!-- TMPL_VAR NAME="unititle" --></td> |
232 |
</tr> |
233 |
<!-- /TMPL_IF --> |
234 |
<!-- TMPL_IF name="serial" --> |
235 |
<tr> |
236 |
<th scope="row">Serial</th> |
237 |
<td><!-- TMPL_VAR NAME="serial" --></td> |
238 |
</tr> |
239 |
<!-- /TMPL_IF --> |
240 |
<!-- TMPL_IF name="dewey" --> |
241 |
<tr> |
242 |
<th scope="row">Dewey</th> |
243 |
<td><!-- TMPL_VAR name="dewey" --></td> |
244 |
</tr> |
245 |
<!-- /TMPL_IF --> |
246 |
<!-- TMPL_IF name="classification" --> |
247 |
<tr> |
248 |
<th scope="row">Classification</th> |
249 |
<td> <!-- TMPL_VAR name="classification" --></td> |
250 |
</tr> |
251 |
<!-- /TMPL_IF --> |
252 |
<!-- TMPL_IF name="lccn" --> |
253 |
<tr> |
254 |
<th scope="row">LCCN</th> |
255 |
<td> <!-- TMPL_VAR name="lccn" --></td> |
256 |
</tr> |
257 |
<!-- /TMPL_IF --> |
258 |
|
259 |
<!-- TMPL_IF name="MARCURLS" --> |
260 |
<tr> |
261 |
<th scope="row">URL(s)</th> |
262 |
<td> |
263 |
<!-- TMPL_LOOP name="MARCURLS" --> |
264 |
<p><!-- TMPL_IF NAME="part" --><!-- TMPL_VAR NAME="part" --> |
265 |
<br /><!-- /TMPL_IF --> |
266 |
|
267 |
<!-- TMPL_VAR NAME="MARCURL" --> |
268 |
<!-- TMPL_IF NAME="notes" --><!-- TMPL_LOOP NAME="notes" --><!-- TMPL_VAR NAME="note" --><br /><!-- /TMPL_LOOP --><!-- /TMPL_IF --> |
269 |
<!-- /TMPL_LOOP --></p></td> |
270 |
</tr><!-- /TMPL_IF --> |
271 |
|
272 |
<tr> |
273 |
<th scope="row">Location(s)</th> |
274 |
<td><!-- TMPL_IF NAME="ITEM_RESULTS" --><!-- TMPL_LOOP NAME="ITEM_RESULTS" --> |
275 |
<p> |
276 |
<!-- TMPL_VAR NAME="branchname" --> <!-- TMPL_VAR NAME="location_description" --> |
277 |
<!-- TMPL_IF name="itemcallnumber" --> |
278 |
(<!-- TMPL_VAR NAME="itemcallnumber" -->) |
279 |
<!-- /TMPL_IF --> |
280 |
</p> |
281 |
<!-- /TMPL_LOOP --><!-- TMPL_ELSE -->This record has no items.<!-- /TMPL_IF --></td> |
282 |
</tr> |
283 |
</table> |
284 |
<!-- /TMPL_LOOP --> |
285 |
</form> |
286 |
|
287 |
<!-- TMPL_ELSE --> |
288 |
<!-- TMPL_UNLESS NAME="print_basket" --> |
289 |
<p style="border-top : 1px solid #E8E8E8;"> |
290 |
<form action="/cgi-bin/koha/basket/basket.pl" method="get" name="bookbag_form" id="bookbag_form"> |
291 |
<a id="CheckAll" href="#">Select All</a> |
292 |
<a id="CheckNone" href="#">Clear All</a> |
293 |
| <b>Selected items :</b> |
294 |
<a href="#" onclick="delSelRecords(); return false;">Remove</a> |
295 |
|
296 |
<!-- TMPL_IF NAME="loggedinusername" --> |
297 |
| <a href="#" onclick="addSelToShelf(); return false;">Add to a list</a> |
298 |
<!-- /TMPL_IF --> |
299 |
|
300 |
<!-- TMPL_IF NAME="CAN_user_reserveforothers" --> |
301 |
| <a href="#" onclick="placeHold(); return false;">Place Hold</a> |
302 |
<!-- /TMPL_IF --> |
303 |
|
304 |
|
305 |
<!-- /TMPL_UNLESS --> |
306 |
</p> |
307 |
<table id="itemst"> |
308 |
<thead><tr> |
309 |
<th> </th> |
310 |
<th>Title</th> |
311 |
<th>Item Type</th> |
312 |
<th>Location</th> |
313 |
</tr></thead> |
314 |
|
315 |
<!-- TMPL_LOOP NAME="BIBLIO_RESULTS" --> |
316 |
<!-- TMPL_IF NAME="even" --> |
317 |
<tr class="highlight"> |
318 |
<!-- TMPL_ELSE --> |
319 |
<tr> |
320 |
<!-- /TMPL_IF --> |
321 |
<!-- TMPL_UNLESS NAME="print_basket" --><td> |
322 |
<input type="checkbox" value="<!-- TMPL_VAR NAME="biblionumber" -->" name="bib<!-- TMPL_VAR NAME="biblionumber" -->" id="bib<!-- TMPL_VAR NAME="biblionumber" -->" onclick="selRecord(value,checked);" /> |
323 |
|
324 |
</td> <!-- /TMPL_UNLESS --> |
325 |
<td><a href="#" onclick="openBiblio('<!-- TMPL_VAR name="dest" -->',<!-- TMPL_VAR name="biblionumber" -->)"> |
326 |
<!-- TMPL_VAR NAME="title" escape="html" --> |
327 |
</a> |
328 |
<!-- TMPL_VAR NAME="author" --> |
329 |
<p><!-- TMPL_IF name="publishercode" -->- <!-- TMPL_VAR name="publishercode" --> |
330 |
<!-- TMPL_IF name="place" --> <!-- TMPL_VAR name="place" --><!-- /TMPL_IF --><!-- /TMPL_IF --> |
331 |
<!-- TMPL_IF name="pages" --> - <!-- TMPL_VAR name="pages" --><!-- TMPL_IF name="size" --> <!-- TMPL_VAR name="size" --> |
332 |
<!-- /TMPL_IF --> |
333 |
<!-- /TMPL_IF --></p> |
334 |
<!-- TMPL_IF name="notes" --> |
335 |
<p><!-- TMPL_VAR name="notes" --></p> |
336 |
<!-- /TMPL_IF --> |
337 |
<!-- COinS / OpenURL --> |
338 |
<span class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.au=<!-- TMPL_VAR NAME="author" -->&rft.btitle=<!-- TMPL_VAR NAME="title" ESCAPE="url" -->&rft.date=<!-- TMPL_VAR NAME="publicationyear" -->&rft.tpages=<!-- TMPL_VAR NAME="size" -->&rft.isbn=<!-- TMPL_VAR NAME="isbn" ESCAPE="url" -->&rft.aucorp=&rft.place=<!-- TMPL_VAR NAME="place" -->&rft.pub=<!-- TMPL_VAR NAME="publisher" ESCAPE="url" -->&rft.edition=<!-- TMPL_VAR NAME="edition" -->&rft.series=<!-- TMPL_VAR NAME="series" -->&rft.genre="></span> |
339 |
|
340 |
</td> |
341 |
<td><!-- TMPL_VAR name="description" --></td> |
342 |
<td><!-- TMPL_IF NAME="ITEM_RESULTS" --><!-- TMPL_LOOP NAME="ITEM_RESULTS" --> |
343 |
<p> |
344 |
<!-- TMPL_VAR NAME="branchname" --> <!-- TMPL_VAR NAME="location_description" --> |
345 |
<!-- TMPL_IF name="itemcallnumber" --> |
346 |
(<!-- TMPL_VAR NAME="itemcallnumber" -->) |
347 |
<!-- /TMPL_IF --> |
348 |
</p> |
349 |
<!-- /TMPL_LOOP --><!-- TMPL_ELSE -->This record has no items.<!-- /TMPL_IF --></td> |
350 |
</tr> |
351 |
<!-- /TMPL_LOOP --> |
352 |
</table></form> |
353 |
<!-- /TMPL_IF --> |
354 |
|
355 |
<!-- TMPL_IF NAME="print_basket" --> |
356 |
<a href="#back" class="screen"><< Back to Cart</a> |
357 |
<!-- TMPL_ELSE --> |
358 |
<form name="myform" action="basket/basket.pl" method="get"> |
359 |
<input type="hidden" name="records" id="records" /> |
360 |
</form> |
361 |
<!-- /TMPL_IF --> |
362 |
|
363 |
</div> |
364 |
</div> |
365 |
</body> |
366 |
</html> |