466979fff0
writing method="post" instead of method="POST"
142 lines
6.4 KiB
Cheetah
142 lines
6.4 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryNameTitle" --> Catalog -- Reserving <!-- TMPL_VAR NAME="title" --> for <!-- TMPL_LOOP NAME="USER_INFO" --><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --><!-- /TMPL_LOOP -->
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
|
|
<!--TMPL_INCLUDE NAME="masthead.inc" -->
|
|
<!--TMPL_INCLUDE NAME="navigation.inc" -->
|
|
|
|
<!-- TMPL_IF NAME="message" -->
|
|
<!-- TMPL_IF NAME="GNA" -->
|
|
<p class="problem">
|
|
<strong>Sorry</strong>, you cannot place reserves because the library doesn't have up-to-date <a href="/cgi-bin/koha/opac-userdetails.pl">contact information</a> on file.
|
|
</p>
|
|
<p class="problem">Please contact your librarian, or use the <a href="/cgi-bin/koha/opac-userupdate.pl">online update form</a> to submit current information (<em>Please note:</em> there may be a delay in restoring your account if you submit online)
|
|
</p>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="lost" -->
|
|
<p class="problem">
|
|
<strong>Sorry</strong>, you cannot place reserves because your library card has been marked as lost or stolen.
|
|
</p>
|
|
<p class="problem">
|
|
If this is an error, please take your card to the circulation desk at your local library and the error will be corrected.
|
|
</p>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="debarred" -->
|
|
<p class="error">
|
|
<strong>Sorry</strong>, you cannot place reserves because your account has been frozen.
|
|
</p>
|
|
<p class="problem">Usually the reason for freezing an account is old overdues or damage fees. If <a href="/cgi-bin/koha/opac-user.pl">your account page</a> shows your account to be clear, please consult a librarian.
|
|
</p>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="too_much_oweing" -->
|
|
<p class="problem">
|
|
Sorry, you cannot make reserves because you owe <!-- TMPL_VAR NAME="too_much_oweing" -->.
|
|
</p>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="too_many_reserves" -->
|
|
<p class="error">Sorry, you cannot make more than <!-- TMPL_VAR NAME="too_many_reserves" --> reserves.
|
|
</p>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="already_reserved" -->
|
|
<p class="problem">
|
|
You already have a reserve placed on this item.
|
|
<form action="/cgi-bin/koha/opac-detail.pl" method="post">
|
|
<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
|
|
<input type="submit" class="icon back" value="Return to Item Detail Screen" />
|
|
</form>
|
|
</p>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="no_items_selected" -->
|
|
<p class="problem">
|
|
You must select at least one item.
|
|
</p>
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="no_branch_selected" -->
|
|
<p class="error">
|
|
You must select a branch for pickup!
|
|
</p>
|
|
<!-- /TMPL_IF -->
|
|
</div>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="select_item_types" -->
|
|
<!-- The first time round you select which bibitems you want -->
|
|
<form action="/cgi-bin/koha/opac-reserve.pl" method="post">
|
|
<input type="hidden" name="item_types_selected" value="1">
|
|
<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->">
|
|
<h2>Reservation Details</h2>
|
|
<div class="form">
|
|
<table>
|
|
<tr><th>Reserving: </th><td><span class="title"><!-- TMPL_VAR NAME="title" --></span><!-- TMPL_IF NAME="author" --> (<!-- TMPL_VAR NAME="author" -->)<!-- /TMPL_IF --></td></tr>
|
|
<tr><th>For:</th><td><!-- TMPL_LOOP NAME="USER_INFO" --><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)<!-- /TMPL_LOOP --></td></tr>
|
|
|
|
<tr><th>Pick up from:</th><td><select name="branch" id="branch">
|
|
<option>-- Please choose your branch --</option>
|
|
<!-- TMPL_LOOP NAME="CGIbranch" --><option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branch" --></option><!-- /TMPL_LOOP -->
|
|
</select></td></tr>
|
|
</table>
|
|
|
|
<!-- TMPL_IF NAME="onlyone" -->
|
|
<!-- If there is only one type -->
|
|
|
|
<p><input type="submit" class="submit" value="Next >>">
|
|
<input type="hidden" name="all" value="1"></p>
|
|
</form>
|
|
|
|
<!-- TMPL_ELSE -->
|
|
<!-- If there is more than one type -->
|
|
|
|
<h4>Choose Either...</h4>
|
|
<p>
|
|
<input id="checknextavailable" type="checkbox" name="all" value="next-available">
|
|
<label for="checknextavailable">Next Available Copy (any format)</label>
|
|
</p>
|
|
<h4>
|
|
...Or Choose Acceptable Formats
|
|
</h4>
|
|
|
|
<!-- TMPL_LOOP NAME="TYPE_ROWS" -->
|
|
<ul><!-- TMPL_LOOP NAME="ROW" -->
|
|
<li><input type="checkbox" name="itemtype" value="<!-- TMPL_VAR NAME="itemtype" -->" class="checkbox"><!-- TMPL_VAR NAME="description" --></li>
|
|
<!-- /TMPL_LOOP -->
|
|
</ul><!-- /TMPL_LOOP -->
|
|
<!-- <table>
|
|
<tr>
|
|
<th>Number of Copies</th><th>Requests already received for this title</th> <th>Items curently on issue, due back</th></tr>
|
|
<td><!-- TMPL_VAR NAME="itemcount" --></td>
|
|
<td><!-- TMPL_VAR NAME="reservecount" --></td>
|
|
<td><!-- TMPL_LOOP NAME="ITEMS" --><!-- TMPL_VAR NAME="date_due" -->, <!-- /TMPL_LOOP --></td>
|
|
</table> -->
|
|
</div>
|
|
<p><input type="submit" class="submit" value="Confirm Reservation >>"></p>
|
|
</form>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- end of the first form -->
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="item_types_selected" -->
|
|
<!-- if the bibitems have already been selected -->
|
|
<form action="/cgi-bin/koha/opac-reserve.pl" method="post">
|
|
<input type="hidden" name="place_reserve" value="1">
|
|
<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->"><h3>Confirm Reservation</h3>
|
|
<div class="details">
|
|
<table>
|
|
<tr><th>Title: </th><td><span class="title"><!-- TMPL_VAR NAME="title" --></span></td></tr>
|
|
|
|
<!-- TMPL_IF NAME="all" -->
|
|
<tr><th>Item Type: </th><td>Any<input type="hidden" name="all" value="1"></td></tr>
|
|
<!-- TMPL_ELSE -->
|
|
<tr><th>Item Types: </th><td><!-- TMPL_LOOP NAME="TYPES" -->
|
|
<input type="hidden" name="itemtype" value="<!-- TMPL_VAR NAME="itemtype" -->"><!-- TMPL_VAR NAME="description" -->;
|
|
<!-- /TMPL_LOOP --></td></tr>
|
|
|
|
<!-- /TMPL_IF -->
|
|
<tr><th>Pick up From: </th><td><!-- TMPL_VAR NAME="branchname" --><input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->"></td></tr>
|
|
</table>
|
|
</div>
|
|
<p><input type="submit" value="Finish and Place Reservation" class="submit" onclick="this.value='Please wait...'; this.disabled=true; this.form.submit();"></p>
|
|
|
|
</FORM>
|
|
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_INCLUDE NAME="opac-bottom.inc"-->
|