98 lines
3.1 KiB
Cheetah
98 lines
3.1 KiB
Cheetah
<TMPL_INCLUDE NAME="members-top.inc">
|
|
|
|
<center>
|
|
|
|
<TMPL_IF NAME="loggedinuser">
|
|
<p align=left>Logged in as: <TMPL_VAR NAME="loggedinuser"> [<a href=/cgi-bin/koha/opac-user.pl>Home</a>][<a href=/cgi-bin/koha/opac-logout.pl>Log Out</a>]</p>
|
|
<TMPL_ELSE>
|
|
<p align=left><a href=/cgi-bin/koha/opac-user.pl>Log In</a> to Koha</p>
|
|
</TMPL_IF>
|
|
|
|
<TMPL_IF NAME="message">
|
|
<table cellpadding=5 cellspacing=0 border=1 >
|
|
<tr bgcolor="#fecc99" >
|
|
<td><font face="arial,helvetica" color="red" size=+1><B>
|
|
<TMPL_IF NAME="too_much_oweing">Sorry, you cannot make reseves because you owe <TMPL_VAR NAME="too_much_oweing">, which is too much. </TMPL_IF>
|
|
<TMPL_IF NAME="too_many_reserves">Sorry, you cannot make reseves because you already have <TMPL_VAR NAME="too_many_reserves">, more than enough. </TMPL_IF>
|
|
<TMPL_IF NAME="already_reserved">You already have a reserve placed on this item.</TMPL_IF>
|
|
<TMPL_IF NAME="no_items_selected">You must select at least on item type!</TMPL_IF>
|
|
</B></font><P></td></tr></table>
|
|
</TMPL_IF>
|
|
|
|
|
|
<TMPL_IF NAME="select_item_types">
|
|
<!-- The first time round you select which bibitems you want -->
|
|
|
|
<p>
|
|
Reserve page for item: <b><TMPL_VAR NAME="title"> ( <TMPL_VAR NAME="author"> )</b>
|
|
</p>
|
|
<p> There are <b><TMPL_VAR NAME="rank"></b> reserves already on this item. </p>
|
|
<p>
|
|
Please select the item type you want to reserve:
|
|
<p>
|
|
|
|
<FORM ACTION="/cgi-bin/koha/opac-reserve.pl" method=post>
|
|
<input type="hidden" name="item_types_selected" value="1">
|
|
<input type="hidden" name="bib" value="<TMPL_VAR NAME='biblionumber'>">
|
|
<TABLE border=1>
|
|
<tr bgcolor="#99cccc" background='<TMPL_VAR NAME="themelang">/images/background-opac.gif'><th>Request</th><th>Item Type</th><th>Copies</th></tr>
|
|
|
|
<TMPL_LOOP NAME="TYPES">
|
|
|
|
<tr>
|
|
<TMPL_UNLESS NAME="notforloan">
|
|
<td><input type="checkbox" name="itemtype" value="<TMPL_VAR NAME='itemtype'>"></td>
|
|
<TMPL_ELSE>
|
|
<td>Cannot be Reserved</td>
|
|
</TMPL_UNLESS>
|
|
<td><TMPL_VAR NAME="description"></td>
|
|
<td><TMPL_VAR NAME="copies"></td>
|
|
|
|
</tr>
|
|
|
|
</TMPL_LOOP>
|
|
|
|
</table>
|
|
Please select the branch from which you want to collect the item:
|
|
<select name="branch"><TMPL_VAR NAME="branchoptions"></select><br>
|
|
|
|
|
|
<font size=4 face="arial,helvetica"><INPUT type="submit" value="Submit"></font>
|
|
|
|
</FORM>
|
|
|
|
</TMPL_IF>
|
|
|
|
<!-- if the bibitems have already been selected -->
|
|
<TMPL_IF NAME="item_types_selected">
|
|
|
|
<p>
|
|
Please confirm:
|
|
<p>
|
|
|
|
<FORM ACTION="/cgi-bin/koha/opac-reserve.pl" method=post>
|
|
<input type="hidden" name="place_reserve" value="1">
|
|
<input type="hidden" name="bib" value="<TMPL_VAR NAME='biblionumber'>">
|
|
<TABLE border=1>
|
|
<tr><th bgcolor="#99cccc" background='<TMPL_VAR NAME="themelang">/images/background-opac.gif'>Item Type</th></tr>
|
|
|
|
<TMPL_LOOP NAME="TYPES">
|
|
|
|
<tr>
|
|
<input type="hidden" name="itemtype" value="<TMPL_VAR NAME='itemtype'>"></td>
|
|
<td><TMPL_VAR NAME="description"></td>
|
|
</tr>
|
|
|
|
</TMPL_LOOP>
|
|
|
|
</table>
|
|
|
|
Which is to be picked up from <b><TMPL_VAR NAME="branchname"></b>.<br>
|
|
<input type="hidden" name="bib" value="<TMPL_VAR NAME='branch'>">
|
|
|
|
<font size=4 face="arial,helvetica"><INPUT type="submit" value="Place Reserve"></font>
|
|
|
|
</FORM>
|
|
|
|
</TMPL_IF>
|
|
|