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/npl/en opac-reserve.tmpl [dev_week]


From: Owen Leonard
Subject: [Koha-cvs] koha/koha-tmpl/opac-tmpl/npl/en opac-reserve.tmpl [dev_week]
Date: Thu, 30 Nov 2006 21:10:09 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         dev_week
Changes by:     Owen Leonard <oleonard> 06/11/30 21:10:09

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

Log message:
        * removal of itemtype selection options, given that MARC-based Koha 
cannot handle grouping of multiple item types as in Koha 1.3
        * correction of reservefee template variable
        * markup corrections

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/npl/en/opac-reserve.tmpl?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.4.2.3&r2=1.1.2.4.2.4

Patches:
Index: opac-reserve.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/opac-tmpl/npl/en/opac-reserve.tmpl,v
retrieving revision 1.1.2.4.2.3
retrieving revision 1.1.2.4.2.4
diff -u -b -r1.1.2.4.2.3 -r1.1.2.4.2.4
--- opac-reserve.tmpl   3 Oct 2006 15:27:45 -0000       1.1.2.4.2.3
+++ opac-reserve.tmpl   30 Nov 2006 21:10:09 -0000      1.1.2.4.2.4
@@ -22,8 +22,8 @@
 <!-- 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="bib" value="<!-- TMPL_VAR NAME="biblionumber" -->">
+<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>
@@ -36,39 +36,10 @@
 </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>
+</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 -->
-
-    <h4>Choose Either...</h4>
-      <p><input class="checkbox" type="checkbox" name="all" 
value="next-available">
-        Next Available Copy (any format)</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> -->
-<p><input type="submit" class="submit" value="Confirm Reservation 
&gt;&gt;"></p>
-</form>
-<!-- /TMPL_IF -->
-
 
 <!-- end of the first form -->
 <!-- /TMPL_IF -->
@@ -76,29 +47,29 @@
 <!-- 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="bib" value="<!-- TMPL_VAR NAME="biblionumber" 
-->"><h3>Confirm Reservation</h3>
+<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>
+               <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" -->;
+<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>
+               <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="fee" -->
-                       <p>Note there will be a reserve charge of <strong>$<!-- 
TMPL_VAR NAME="fee" --></strong></p>
+               <!-- TMPL_IF NAME="reservefee" -->
+                       <p>Note there will be a reserve charge of <strong>$<!-- 
TMPL_VAR NAME="reservefee" --></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();"> 
<input type="submit" class="cancel" value="Cancel" 
onclick="location.href='/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR 
NAME="biblionumber" -->'; return false;"/></p>
+<p><input type="submit" value="Finish and Place Reservation" class="submit" 
onclick="this.value='Please wait...'; this.disabled=true; this.form.submit();"> 
<input type="submit" class="cancel" value="Cancel" 
onclick="location.href='/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR 
NAME="biblionumber" -->'; return false;" /></p>
 
-</FORM>
+</form>
 
 <!-- /TMPL_IF -->
 </div>




reply via email to

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