rel_3_0 moved to HEAD (removing useless file)
[koha.git] / koha-tmpl / opac-tmpl / npl / en / opac-reserve.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> Catalog -- Reserving <!-- TMPL_VAR NAME="title" --> for <!-- TMPL_LOOP NAME="USER_INFO" --><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --><!-- /TMPL_LOOP -->
2 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
3 <!--TMPL_INCLUDE NAME="masthead.inc" -->
4 <!--TMPL_INCLUDE NAME="navigation.inc" -->
5
6 <!--CONTENT-->
7 <!-- TMPL_IF NAME="message" -->
8 <div id="main">
9 <p class="error">
10 <!-- TMPL_IF NAME="too_much_oweing" -->Sorry, you cannot make reserves because you owe <!-- TMPL_VAR NAME="too_much_oweing" -->.  <!-- /TMPL_IF -->
11 <!-- TMPL_IF NAME="too_many_reserves" -->Sorry, you cannot make more than <!-- TMPL_VAR NAME="too_many_reserves" --> reserves. <!-- /TMPL_IF -->
12 <!-- TMPL_IF NAME="already_reserved" -->You already have a reserve placed on this item.
13 <form action="opac-detail.pl" method="get"><input type="hidden" name="bib" value="<!-- TMPL_VAR NAME="biblionumber" -->" /><input type="submit" class="icon back" value="Return to Item Detail Screen" /></form>
14 <!-- /TMPL_IF -->
15 <!-- TMPL_IF NAME="no_items_selected" -->You must select at least one item.<!-- /TMPL_IF -->
16         <!-- TMPL_IF NAME="no_branch_selected" -->You must select a branch for pickup!<!-- /TMPL_IF -->
17 </p>
18 </div>
19 <!-- /TMPL_IF -->
20
21 <!-- TMPL_IF NAME="select_item_types" -->
22 <!-- The first time round you select which bibitems you want -->
23 <div id="main">
24 <form action="/cgi-bin/koha/opac-reserve.pl" method="post">
25 <input type="hidden" name="item_types_selected" value="1">
26 <input type="hidden" name="bib" value="<!-- TMPL_VAR NAME="biblionumber" -->">
27 <h2>Reservation Details</h2>
28 <div class="form">
29 <table>
30    <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>
31     <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>
32
33     <tr><th>Pick up from:</th><td><select name="branch" id="branch">
34                 <option>-- Please choose your branch --</option>
35                 <!-- TMPL_LOOP NAME="CGIbranch" --><option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branch" --></option><!-- /TMPL_LOOP -->
36 </select></td></tr>
37 </table>
38
39 <!-- TMPL_IF NAME="onlyone" -->
40 <!-- If there is only one type -->
41
42 </div><p><input type="submit" class="submit" value="Next &gt;&gt;">
43 <input type="hidden" name="all" value="1"></p>
44 </form>
45
46 <!-- TMPL_ELSE -->
47 <!-- If there is more than one type -->
48
49     <h4>Choose Either...</h4>
50       <p><input class="checkbox" type="checkbox" name="all" value="next-available">
51         Next Available Copy (any format)</p>
52     <h4>
53      ...Or Choose Acceptable Formats
54     </h4>
55
56 <!-- TMPL_LOOP NAME="TYPE_ROWS" -->
57 <ul><!-- TMPL_LOOP NAME="ROW" -->
58 <li><input type="checkbox" name="itemtype" value="<!-- TMPL_VAR NAME="itemtype" -->" class="checkbox"><!-- TMPL_VAR NAME="description" --></li>
59 <!-- /TMPL_LOOP -->
60 </ul><!-- /TMPL_LOOP -->
61 <!-- <table>
62         <tr>
63     <th>Number of Copies</th><th>Requests already received for this title</th> <th>Items curently on issue, due back</th></tr>
64     <td><!-- TMPL_VAR NAME="itemcount" --></td>
65     <td><!-- TMPL_VAR NAME="reservecount" --></td>
66      <td><!-- TMPL_LOOP NAME="ITEMS" --><!-- TMPL_VAR NAME="date_due" -->, <!-- /TMPL_LOOP --></td>
67 </table> -->
68 </div>
69 <p><input type="submit" class="submit" value="Confirm Reservation &gt;&gt;"></p>
70 </form>
71 </div>
72 <!-- /TMPL_IF -->
73
74
75 <!-- end of the first form -->
76 <!-- /TMPL_IF -->
77
78 <!-- TMPL_IF NAME="item_types_selected" -->
79 <!-- if the bibitems have already been selected -->
80 <div id="main">
81 <form action="/cgi-bin/koha/opac-reserve.pl" method="post">
82 <input type="hidden" name="place_reserve" value="1">
83 <input type="hidden" name="bib" value="<!-- TMPL_VAR NAME="biblionumber" -->"><h3>Confirm Reservation</h3>
84 <div class="details">
85         <table>
86                 <tr><th>Title: </th><td><span class="title"><!-- TMPL_VAR NAME="title" --></span></td></tr>
87
88 <!-- TMPL_IF NAME="all" -->
89                 <tr><th>Item Type: </th><td>Any<input type="hidden" name="all" value="1"></td></tr>
90 <!-- TMPL_ELSE -->
91                 <tr><th>Item Types: </th><td><!-- TMPL_LOOP NAME="TYPES" -->
92 <input type="hidden" name="itemtype" value="<!-- TMPL_VAR NAME="itemtype" -->"><!-- TMPL_VAR NAME="description" -->;
93 <!-- /TMPL_LOOP --></td></tr>
94
95 <!-- /TMPL_IF -->
96                 <tr><th>Pick up From: </th><td><!-- TMPL_VAR NAME="branchname" --><input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->"></td></tr>
97 </table>
98 </div>
99 <p><input type="submit" value="Finish and Place Reservation" class="submit" onclick="this.value='Please wait...'; this.disabled=true; this.form.submit();"></p>
100
101 </FORM>
102
103 <!-- /TMPL_IF -->
104 </div>
105 </body>
106 </html>