Koha/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-circ.tmpl
2008-09-26 09:06:13 -05:00

109 lines
5 KiB
Cheetah

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Koha Self Checkout</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/css/sco.css" />
<script type="text/javascript" language="JavaScript">
<!-- Hide from old browsers
function openWindow(targeturl, windowname) {
newwin =
window.open(targeturl,windowname,"height=480,width=640,scrollbars,resizable")
}
function focusOnFirst (){
document.forms[1].elements[0].focus();
}
function abort(){
window.open("/cgi-bin/koha/sco/abort.pl","aborting","height=5,width=5");
}
// end hiding -->
</script>
</head>
<body onload="focusOnFirst();" onblur="self.focus();">
<!-- TMPL_IF name="loggedinusername" -->
<h3><!-- TMPL_VAR NAME="libraryname" --> Self Checkout System</h3>
<div id="main">
<div class="form">
<!-- TMPL_IF NAME="dbarred" -->
<div class="error"><h3>Sorry, checkout cannot proceed</h3>
There is a problem with your account. Please ask for help at the circulation desk.
<div id="abort"><form method="get" action="#">
<input type="submit" value="Please Click Here to Exit" class="complete" onclick="self.close();" /></form></div>
</div>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="confirm" -->
<div class="error">
<h3>Warning:</h3>
<p>Attempting to issue <!-- TMPL_VAR name="title" escape="html" --> <br />
to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" -->.</p>
<p><!-- TMPL_VAR name="confirm" --></p>
<form action="/cgi-bin/koha/sco/sco-circ.pl" method="get">
<input type="hidden" name="borrnumber" value="<!-- TMPL_VAR name="borrowernumber" -->" />
<input type="hidden" name="barcode" value="<!-- TMPL_VAR name="barcode" -->" />
<input type="button" name="confirmed" value="Confirm?" />
<input type="button" name="cancel" value="Cancel" />
</form>
</div>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="impossible" -->
<div class="error">
<h3>Error Issuing Book</h3>
<!-- TMPL_VAR name="impossible" -->
</div>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="message" -->
<div class="error">
<h3>No borrower matched <!-- TMPL_VAR name="message" --></h3>
</div>
<!-- /TMPL_IF -->
<!-- TMPL_UNLESS NAME="dbarred" -->
<div id="complete">
<form method="get" action="/cgi-bin/koha/sco/abort.pl"><input type="submit" value="Click Here to End Transaction" class="complete" onclick="self.close();" />
</form>
</div>
<form method="post" action="/cgi-bin/koha/sco/sco-circ.pl">
<h4>Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR name="cardnumber" -->)</h4>
<label for="barcode">Scan a new item or enter its barcode:</label>
<input id="barcode" name="barcode" size="14" maxlength="14" class="unfocus" onfocus="this.className='focus';" onblur="this.className='unfocus';" />
<input type="submit" value="Submit" class="submit" />
<input type="hidden" name="borrnumber" value="<!-- TMPL_VAR name="borrowernumber" -->" />
</form>
<!-- /TMPL_UNLESS -->
<!-- /TMPL_IF -->
<div id="borrowerdetails">
<!-- TMPL_IF NAME="issues_count" -->
<div class="table"><table><caption>Issues <span class="count">(<!-- TMPL_VAR NAME="issues_count" --> total)</span></caption>
<!-- ISSUES TABLE ROWS -->
<tr><th colspan="2">Title</th><th>Call No.</th><th>Due</th><th>Renew</th><th>Fines</th></tr>
<!-- TMPL_LOOP NAME="ISSUES" -->
<!-- TMPL_IF NAME="overdue" --><tr class="overdue"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
<td><!-- TMPL_IF NAME="itemtypeimages" --> <img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="itemtype" -->.gif" alt="<!-- TMPL_VAR NAME="description" -->" title="<!-- TMPL_VAR NAME="description" -->" /><!-- /TMPL_IF --></td>
<td><!-- TMPL_IF NAME="amazonimages" --> <!-- TMPL_IF NAME="isbn" --><a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><img src="http://images.amazon.com/images/P/<!-- TMPL_VAR name="isbn" -->.01.THUMBZZZ.jpg" alt="Book Cover Image" class="thumbnail" /></a><!-- /TMPL_IF --> <!-- /TMPL_IF --><a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a><span class="item-details">
<!-- TMPL_VAR NAME="author" --></span></td>
<td><!-- TMPL_VAR NAME="classification" --></td>
<!-- TMPL_IF NAME="overdue" --><td class="overdue"><!-- TMPL_VAR NAME="date_due" --></td><!-- TMPL_ELSE --><td><!-- TMPL_VAR NAME="date_due" --></td><!-- /TMPL_IF -->
<td>
<!-- TMPL_IF NAME="status" -->
<a href="/cgi-bin/koha/opac-renew.pl?from=opac_user&amp;item=<!-- TMPL_VAR NAME="itemnumber" -->&amp;bornum=<!-- TMPL_VAR NAME="borrowernumber" -->">Renew</a>
<!-- TMPL_ELSE -->
Not renewable<!-- /TMPL_IF -->
</td>
<td><!-- TMPL_IF NAME="charges" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td></tr>
<!-- /TMPL_LOOP -->
</table>
</div>
</div> <!-- borrowerdetails -->
</div>
<!-- /TMPL_IF -->
</body>
</html>