Owen Leonard
18a41ab81e
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
230 lines
No EOL
9.2 KiB
Cheetah
230 lines
No EOL
9.2 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog › Your Cart
|
|
<!-- TMPL_IF NAME="print_basket" --></title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<link rel="shortcut icon" href="<!-- TMPL_VAR NAME="themelang" -->/includes/favicon.ico" type="image/x-icon" />
|
|
<meta http-equiv="Content-Language" content="en-us" />
|
|
<style type="text/css">
|
|
@import url(<!-- TMPL_VAR NAME="themelang" -->/css/print.css);
|
|
</style>
|
|
<!-- TMPL_ELSE --><!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.checkboxes.pack.js"></script>
|
|
<script type="text/javascript">
|
|
//<![CDATA[
|
|
$(document).ready(function(){
|
|
$("#CheckAll").click(function(){
|
|
var checked = [];
|
|
$("#bookbag_form").checkCheckboxes("*", true).each(
|
|
function() {
|
|
selRecord(this.value,true);
|
|
}
|
|
);
|
|
return false;
|
|
});
|
|
$("#CheckNone").click(function(){
|
|
var checked = [];
|
|
$("#bookbag_form").unCheckCheckboxes("*",true).each(
|
|
function() {
|
|
selRecord(this.value,false);
|
|
}
|
|
);
|
|
return false;
|
|
});
|
|
});
|
|
//]]>
|
|
</script>
|
|
<!-- /TMPL_IF -->
|
|
</head>
|
|
<body>
|
|
|
|
<div id="doc" class="yui-t7">
|
|
|
|
<!-- TMPL_UNLESS NAME="print_basket" -->
|
|
<h1>Your Cart</h1>
|
|
|
|
<div id="toolbar">
|
|
<ul>
|
|
<li><!-- TMPL_IF NAME="verbose" --><a href="opac-basket.pl" class="brief" onclick="showLess(); return false;">Brief Display</a><!-- TMPL_ELSE --><a href="opac-basket.pl" class="detail" onclick="showMore(); return false;">More Details</a><!-- /TMPL_IF --></li>
|
|
<li><a class="send" href="opac-basket.pl" onclick="sendBasket(); return false;">Send</a></li>
|
|
<li><a class="print" href="opac-basket.pl" onclick="printBasket(); return false;">Print</a></li>
|
|
<li><a class="empty" href="opac-basket.pl" onclick="delBasket(); return false;">Empty and Close</a></li>
|
|
<li><a class="hide" href="opac-basket.pl" onclick="quit(); return false;">Hide Window</a></li>
|
|
</ul>
|
|
<!-- /TMPL_UNLESS -->
|
|
</div>
|
|
|
|
<!-- TMPL_IF NAME="verbose" -->
|
|
<!-- 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>
|
|
<a href="#" onclick="delSelRecords(); return false;">Remove</a>
|
|
<!-- TMPL_IF NAME="loggedinusername" -->
|
|
| <a href="#" onclick="addSelToShelf(); return false;">Add to a shelf</a>
|
|
<!-- /TMPL_IF --></p><!-- /TMPL_UNLESS -->
|
|
<form action="opac-basket.pl" method="get" name="bookbag_form" id="bookbag_form">
|
|
<!-- TMPL_LOOP NAME="BIBLIO_RESULTS" -->
|
|
<h3>
|
|
<!-- TMPL_IF NAME="print_basket" -->
|
|
<!-- TMPL_VAR NAME="title" -->
|
|
<!-- TMPL_IF name="subtitle" --> <!-- TMPL_VAR NAME="subtitle" --><!-- /TMPL_IF -->
|
|
<!-- TMPL_ELSE -->
|
|
<input type="checkbox" value="<!-- TMPL_VAR NAME="biblionumber" -->" name="bib<!-- TMPL_VAR NAME="biblionumber" -->" id="bib<!-- TMPL_VAR NAME="biblionumber" -->" onclick="selRecord(value,checked)" />
|
|
<!-- TMPL_VAR NAME="title" -->
|
|
<!-- TMPL_IF name="subtitle" --> <!-- TMPL_VAR NAME="subtitle" --><!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
</h3>
|
|
<table>
|
|
<!-- TMPL_IF name="isbn" -->
|
|
<tr>
|
|
<th scope="row">ISBN</th>
|
|
<td><!-- TMPL_VAR NAME="isbn" --></td>
|
|
</tr>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF name="MARCAUTHORS" -->
|
|
<tr>
|
|
<th scope="row">Authors</th>
|
|
<td><!-- TMPL_LOOP NAME="MARCAUTHORS" -->
|
|
<!-- TMPL_VAR NAME="value" -->
|
|
<!-- /TMPL_LOOP --></td>
|
|
</tr>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="publishercode" -->
|
|
<tr>
|
|
<th scope="row">Publisher</th>
|
|
<td><!-- TMPL_VAR NAME="place" --> <!-- TMPL_VAR NAME="publishercode" --> <!-- TMPL_VAR NAME="publicationyear" -->
|
|
</td>
|
|
</tr>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="pages" -->
|
|
<tr>
|
|
<th scope="row">Details</th>
|
|
<td><!-- TMPL_VAR NAME="pages" --> <!-- TMPL_VAR NAME="illus" --> <!-- TMPL_VAR NAME="size" --></td>
|
|
</tr>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="seriestitle" -->
|
|
<tr>
|
|
<th scope="row">Collection</th>
|
|
<td> <!-- TMPL_VAR NAME="seriestitle" --></td>
|
|
</tr>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF name="MARCSUBJCTS" -->
|
|
<tr>
|
|
<th scope="row">Subjects</th>
|
|
<td><!-- TMPL_LOOP NAME="MARCSUBJCTS" -->
|
|
<p><!-- TMPL_VAR NAME="label" --></p>
|
|
<!-- /TMPL_LOOP --></td>
|
|
</tr>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF name="copyrightdate" -->
|
|
<tr><th scope="row">Copyright</th>
|
|
<td> <!-- TMPL_VAR NAME="copyrightdate" --></td>
|
|
</tr>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF name="MARCNOTES" -->
|
|
<tr>
|
|
<th scope="row">Notes</th>
|
|
<td>
|
|
<!-- TMPL_LOOP NAME="MARCNOTES" -->
|
|
<p>- <!-- TMPL_VAR NAME="marcnote" --></p>
|
|
<!-- /TMPL_LOOP --></td>
|
|
</tr>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF name="unititle" -->
|
|
<tr>
|
|
<th scope="row">Unified title</th>
|
|
<td> <!-- TMPL_VAR NAME="unititle" --></td>
|
|
</tr>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="serial" -->
|
|
<tr>
|
|
<th scope="row">Serial</th>
|
|
<td><!-- TMPL_VAR NAME="serial" --></td>
|
|
</tr>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="dewey" -->
|
|
<tr>
|
|
<th scope="row">Dewey</th>
|
|
<td><!-- TMPL_VAR name="dewey" --></td>
|
|
</tr>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="classification" -->
|
|
<tr>
|
|
<th scope="row">Classification</th>
|
|
<td> <!-- TMPL_VAR name="classification" --></td>
|
|
</tr>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="lccn" -->
|
|
<tr>
|
|
<th scope="row">LCCN</th>
|
|
<td> <!-- TMPL_VAR name="lccn" --></td>
|
|
</tr>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="url" -->
|
|
<tr>
|
|
<th scope="row">URL</th>
|
|
<td> <!-- TMPL_VAR NAME="url" --></td>
|
|
</tr><!-- /TMPL_IF -->
|
|
<tr>
|
|
<th scope="row">Location</th>
|
|
<td><!-- TMPL_LOOP NAME="ITEM_RESULTS" -->
|
|
<p>
|
|
<!-- TMPL_VAR NAME="branchname" --> <!-- TMPL_VAR NAME="location" -->
|
|
<!-- TMPL_IF name="itemcallnumber" -->
|
|
(<!-- TMPL_VAR NAME="itemcallnumber" -->)
|
|
<!-- /TMPL_IF -->
|
|
</p>
|
|
<!-- /TMPL_LOOP --></td>
|
|
</tr>
|
|
</table>
|
|
<!-- /TMPL_LOOP -->
|
|
</form>
|
|
|
|
<!-- TMPL_ELSE -->
|
|
<form action="/cgi-bin/koha/opac-basket.pl" method="get" name="bookbag_form" id="bookbag_form">
|
|
<table>
|
|
<!-- TMPL_UNLESS NAME="print_basket" --><tr><td colspan="3" style="padding-bottom: 7px;"><a id="CheckAll" href="#">Select All</a> <a id="CheckNone" href="#">Clear All</a> | <b>Selected items :</b>
|
|
<a href="#" onclick="delSelRecords(); return false;">Remove</a>
|
|
<!-- TMPL_IF NAME="loggedinusername" -->
|
|
| <a href="#" onclick="addSelToShelf(); return false;">Add to a shelf</a>
|
|
<!-- /TMPL_IF --></td></tr><!-- /TMPL_UNLESS -->
|
|
<!-- TMPL_LOOP NAME="BIBLIO_RESULTS" -->
|
|
<!-- TMPL_IF NAME="even" -->
|
|
<tr class="highlight">
|
|
<!-- TMPL_ELSE -->
|
|
<tr>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_UNLESS NAME="print_basket" --><td>
|
|
<input type="checkbox" value="<!-- TMPL_VAR NAME="biblionumber" -->" name="bib<!-- TMPL_VAR NAME="biblionumber" -->" id="bib<!-- TMPL_VAR NAME="biblionumber" -->" onclick="selRecord(value,checked);" />
|
|
|
|
</td> <!-- /TMPL_UNLESS -->
|
|
<td><a href="#" onclick="openBiblio('<!-- TMPL_VAR name="dest" -->',<!-- TMPL_VAR name="biblionumber" -->)">
|
|
<!-- TMPL_VAR NAME="title" -->
|
|
</a>
|
|
<!-- TMPL_VAR NAME="author" -->
|
|
<!-- TMPL_IF name="publishercode" -->- <!-- TMPL_VAR name="publishercode" -->
|
|
<!-- TMPL_IF name="place" --> <!-- TMPL_VAR name="place" --><!-- /TMPL_IF --><!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="pages" --> - <!-- TMPL_VAR name="pages" --><!-- TMPL_IF name="size" --> <!-- TMPL_VAR name="size" -->
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="notes" -->
|
|
<p><!-- TMPL_VAR name="notes" --></p>
|
|
<!-- /TMPL_IF --></td>
|
|
<td><!-- TMPL_VAR name="description" --></td>
|
|
</tr>
|
|
<!-- /TMPL_LOOP -->
|
|
</table></form>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_UNLESS NAME="print_basket" -->
|
|
<form name="myform" action="opac-basket.pl" method="get">
|
|
<input type="hidden" name="records" id="records" />
|
|
</form>
|
|
<!-- /TMPL_UNLESS -->
|
|
|
|
</div>
|
|
</body>
|
|
</html> |