koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/koha-tmpl/opac-tmpl/css/en opac-reserve.tmpl [rel_2_2]


From: Antoine Farnault
Subject: [Koha-cvs] koha/koha-tmpl/opac-tmpl/css/en opac-reserve.tmpl [rel_2_2]
Date: Mon, 07 May 2007 08:48:17 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     Antoine Farnault <toins>        07/05/07 08:48:17

Modified files:
        koha-tmpl/opac-tmpl/css/en: opac-reserve.tmpl 

Log message:
        default & npl synch. Level : Allowing item level reserves.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/css/en/opac-reserve.tmpl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.6.2.3&r2=1.6.2.4

Patches:
Index: opac-reserve.tmpl
===================================================================
RCS file: 
/sources/koha/koha/koha-tmpl/opac-tmpl/css/en/Attic/opac-reserve.tmpl,v
retrieving revision 1.6.2.3
retrieving revision 1.6.2.4
diff -u -b -r1.6.2.3 -r1.6.2.4
--- opac-reserve.tmpl   7 Apr 2006 11:44:54 -0000       1.6.2.3
+++ opac-reserve.tmpl   7 May 2007 08:48:17 -0000       1.6.2.4
@@ -1,85 +1,124 @@
 <!-- TMPL_INCLUDE NAME="opac-top.inc" -->
+
+<!--CONTENT-->
+<!-- TMPL_IF NAME="message" -->
 <div id="mainbloc">
-<div id="bloc20">
-       <h2>Reserve page for <i><!-- TMPL_VAR NAME="title" --></i> (<!-- 
TMPL_IF NAME="author" --><!-- TMPL_VAR NAME="author" -->,<!-- /TMPL_IF --> 
N&#176;<!-- TMPL_VAR name="biblionumber" -->)</h2>
-       <!-- TMPL_IF NAME="message" -->
-               <h2>Impossible to set reserve because </h2>
-               <ul>
-                       <!-- TMPL_IF name="noreserve" --><li>You can't make 
reserve in this library (feature unactivated)</li><!-- /TMPL_IF -->
-                       <!-- TMPL_IF NAME="too_much_oweing" --><li>you owe <!-- 
TMPL_VAR NAME="too_much_oweing" --></li><!-- /TMPL_IF -->
-                       <!-- TMPL_IF NAME="too_many_reserves" --><li>you cannot 
make more than <!-- TMPL_VAR NAME="too_many_reserves" --> reserves.</li><!-- 
/TMPL_IF -->
-                       <!-- TMPL_IF NAME="already_reserved" --><li>you already 
have a reserve placed on this item.</li><!-- /TMPL_IF -->
-                       <!-- TMPL_IF NAME="no_items_selected" --><li>you must 
select at least on item type!</li><!-- /TMPL_IF -->
-                       <!-- TMPL_IF NAME="no_branch_selected" --><li>you must 
select a branch for pickup!</li><!-- /TMPL_IF -->
-                       <!-- TMPL_IF name="GNA" --><li>You are gone without 
address. Reservation is forbidden. Please contact the library</li><!-- /TMPL_IF 
-->
-                       <!-- TMPL_IF name="lost" --><li>This card has been 
declared lost. Reserve impossible. Please contact the library</li><!-- /TMPL_IF 
-->
-                       <!-- TMPL_IF name="debarred" --><li>Your account is 
temporarily suspended. Please contact the library</li><!-- /TMPL_IF -->
-               </ul>
-               <a href="opac-detail.pl?bib=<!-- TMPL_VAR name="biblionumber" 
-->" class="button">Back to biblio</a>
-       <!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="GNA" --><p class="error"><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="error">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="error"><strong>Sorry</strong>, you 
cannot place reserves because your library card has been marked as lost or 
stolen. </p><p class="error"> 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="error">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="error">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="error">You already have a 
reserve placed on this item.
+<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></p>
+<!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="no_items_selected" --><p class="error">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 -->
-               <p> There are <b><!-- TMPL_VAR NAME="reservecount" --></b> 
reserves already on this item. </p>
-               <p>Please select which item types are ok for you. The first of 
these item that matches one of these types that becomes available will be set 
kept for you.</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 cellspacing="0">
-                               <tr>
-                                       <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" -->" 
checked="checked" /></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>
-                       <p>Please select the branch from which you want to 
collect the item: <select name="branch" id="branch">
+<!-- TMPL_IF NAME="select_item_types" -->
+<!-- The first time round you select which bibitems you want -->
+<div id="mainbloc">
+<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" -->">
+<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></p>
+</select></td></tr>
+</table>
+
+<!-- TMPL_IF NAME="onlyone" -->
+<!-- If there is only one type -->
+
+</div><p><input type="submit" class="submit" value="Next &gt;&gt;">
+<input type="hidden" name="all" value="1"></p>
+</form>
+
+<!-- TMPL_ELSE -->
+<!-- If there is more than one type -->
                                        
-                       <input class="button" type="submit" value="Submit" />
-               </form>
+    <h4>Choose Either...</h4>
+      <p><input class="checkbox" type="checkbox" name="all" 
value="next-available">
+        Next Available Copy (any format)</p>
+    <h4>
+    <!-- TMPL_IF NAME="itemlevel" -->
+     ...Or Choose item
+    <!-- TMPL_ELSE -->
+     ...Or Choose Acceptable Formats
        <!-- /TMPL_IF -->
+    </h4>
+<!-- TMPL_IF NAME="itemlevel" -->
+<ul>
+<!-- TMPL_LOOP NAME="TYPE_ROWS" -->
+<li><input type="checkbox" name="itemnumber" value="<!-- TMPL_VAR 
NAME="itemnumber"-->"><!-- TMPL_VAR NAME="itemtype" --> <!--TMPL_VAR 
NAME="holdingbranch" --> <!-- TMPL_VAR NAME="barcode" --></li>
+<!-- /TMPL_LOOP -->
+</ul>
+<!-- TMPL_ELSE -->
+<!-- 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 -->
+<!-- /TMPL_IF -->
+<!-- <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 
&gt;&gt;"></p>
+</form>
+</div>
+<!-- /TMPL_IF -->
+
+
+<!-- end of the first form -->
+<!-- /TMPL_IF -->
        
-       <!-- TMPL_IF NAME="item_types_selected" -->
-       <!-- if the bibitems have already been selected -->
-               <p>Please confirm that you wish to request an item of these 
types:</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" -->" />
-                       <input type="hidden" name="required_date" value="<!-- 
TMPL_VAR NAME="required_date" -->" />
-                       <input type="hidden" name="expires_date" value="<!-- 
TMPL_VAR NAME="expires_date" -->" />
-                       <ul>
-                               <!-- TMPL_LOOP NAME="TYPES" -->
-                               <li><input type="hidden" name="itemtype" 
value="<!-- TMPL_VAR NAME="itemtype" -->" /><!-- TMPL_VAR NAME="description" 
--></li>
+<!-- TMPL_IF NAME="item_types_selected" -->
+<!-- if the bibitems have already been selected -->
+<div id="mainbloc">
+<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" 
-->"><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 -->
+<!-- TMPL_IF NAME="itemlevel" -->
+  <tr><th>Items</th><td><!--TMPL_LOOP NAME="ITEMS"-->
+  <input type="hidden" name="itemnumber" value="<!-- TMPL_VAR 
NAME="itemnumber" -->"> <!-- TMPL_VAR NAME="itemnumber" -->
                                <!-- /TMPL_LOOP -->
-                       </ul>
-                       Which is to be picked up from
-                       <ul>
-                               <li>
-                                       <!-- TMPL_VAR NAME="branchname" -->
-                               </li>
-                       </ul>
-                       <input type="hidden" name="branch" value="<!-- TMPL_VAR 
NAME="branch" -->" />
+  </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 -->
+<!-- /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>
                        <!-- TMPL_IF NAME="istherefee" -->
-                               <p>Note there will be a reserve charge of 
<b>$<!-- TMPL_VAR NAME="fee" --></b></p>
-                       <!-- /TMPL_IF -->
-                       <input class="button" type="submit" value="Place 
Reserve" />
-               </form>
+            <p>Note there will be a reserve charge of <strong>$<!-- TMPL_VAR 
NAME="fee" --></strong></p>
        <!-- /TMPL_IF -->
 </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 -->
 </div>
-<!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->
\ No newline at end of file
+</body>
+</html>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]