Koha/koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tmpl

248 lines
No EOL
11 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo; 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>
<!-- TMPL_IF NAME="print_basket" --><body id="basket" onload="print();history.back();"><!-- TMPL_ELSE --><body id="basket"><!-- /TMPL_IF -->
<div id="doc" class="yui-t7">
<div class="container">
<!-- 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>
<!-- COinS / OpenURL -->
<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.au=<!-- TMPL_VAR NAME="author" -->&amp;rft.btitle=<!-- TMPL_VAR NAME="title" ESCAPE="url" -->&amp;rft.date=<!-- TMPL_VAR NAME="publicationyear" -->&amp;rft.tpages=<!-- TMPL_VAR NAME="size" -->&amp;rft.isbn=<!-- TMPL_VAR NAME="isbn" ESCAPE="url" -->&amp;rft.aucorp=&amp;rft.place=<!-- TMPL_VAR NAME="place" -->&amp;rft.pub=<!-- TMPL_VAR NAME="publisher" ESCAPE="url" -->&amp;rft.edition=<!-- TMPL_VAR NAME="edition" -->&amp;rft.series=<!-- TMPL_VAR NAME="series" -->&amp;rft.genre="></span>
<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">Subject(s)</th>
<td><!-- TMPL_LOOP NAME="MARCSUBJCTS" -->
<p> <!-- TMPL_LOOP NAME="MARCSUBJECT_SUBFIELDS_LOOP" -->
<!-- TMPL_VAR NAME="separator" --><!-- TMPL_VAR NAME="value" --><!-- /TMPL_LOOP -->
<!-- /TMPL_LOOP --></p></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="MARCURLS" -->
<tr>
<th scope="row">URL(s)</th>
<td>
<!-- TMPL_LOOP name="MARCURLS" -->
<p><!-- TMPL_IF NAME="part" --><!-- TMPL_VAR NAME="part" -->
<br /><!-- /TMPL_IF -->
<!-- TMPL_VAR NAME="MARCURL" -->
<!-- TMPL_IF NAME="notes" --><!-- TMPL_LOOP NAME="notes" --><!-- TMPL_VAR NAME="note" --><br /><!-- /TMPL_LOOP --><!-- /TMPL_IF -->
<!-- /TMPL_LOOP --></p></td>
</tr><!-- /TMPL_IF -->
<tr>
<th scope="row">Location(s)</th>
<td><!-- TMPL_IF NAME="ITEM_RESULTS" --><!-- TMPL_LOOP NAME="ITEM_RESULTS" -->
<p>
<!-- TMPL_VAR NAME="branchname" --> <!-- TMPL_VAR NAME="location_description" -->
<!-- TMPL_IF name="itemcallnumber" -->
(<!-- TMPL_VAR NAME="itemcallnumber" -->)
<!-- /TMPL_IF -->
</p>
<!-- /TMPL_LOOP --><!-- TMPL_ELSE -->This record has no items.<!-- /TMPL_IF --></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" -->
<p><!-- 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 --></p>
<!-- TMPL_IF name="notes" -->
<p><!-- TMPL_VAR name="notes" --></p>
<!-- /TMPL_IF -->
<!-- COinS / OpenURL -->
<span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.au=<!-- TMPL_VAR NAME="author" -->&amp;rft.btitle=<!-- TMPL_VAR NAME="title" ESCAPE="url" -->&amp;rft.date=<!-- TMPL_VAR NAME="publicationyear" -->&amp;rft.tpages=<!-- TMPL_VAR NAME="size" -->&amp;rft.isbn=<!-- TMPL_VAR NAME="isbn" ESCAPE="url" -->&amp;rft.aucorp=&amp;rft.place=<!-- TMPL_VAR NAME="place" -->&amp;rft.pub=<!-- TMPL_VAR NAME="publisher" ESCAPE="url" -->&amp;rft.edition=<!-- TMPL_VAR NAME="edition" -->&amp;rft.series=<!-- TMPL_VAR NAME="series" -->&amp;rft.genre="></span>
</td>
<td><!-- TMPL_VAR name="description" --></td>
</tr>
<!-- /TMPL_LOOP -->
</table></form>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="print_basket" -->
<a href="#back" class="screen">&lt;&lt; Back to Cart</a>
<!-- TMPL_ELSE -->
<form name="myform" action="opac-basket.pl" method="get">
<input type="hidden" name="records" id="records" />
</form>
<!-- /TMPL_IF -->
</div>
</div>
</body>
</html>