[Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/circ circu... [rel_3_0]

paul poulain paul at koha-fr.org
Mon Oct 30 11:01:17 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	paul poulain <tipaul>	06/10/30 10:01:17

Modified files:
	koha-tmpl/intranet-tmpl/prog/en/circ: circulation.tmpl 

Log message:
	modifying for better PROG compliance

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/circ/circulation.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.6.2.4&r2=1.6.2.5

Patches:
Index: circulation.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/circ/circulation.tmpl,v
retrieving revision 1.6.2.4
retrieving revision 1.6.2.5
diff -u -b -r1.6.2.4 -r1.6.2.5
--- circulation.tmpl	18 Oct 2006 08:04:19 -0000	1.6.2.4
+++ circulation.tmpl	30 Oct 2006 10:01:17 -0000	1.6.2.5
@@ -306,18 +306,11 @@
   <fieldset id="circ_circulation_issue">
     <legend>Issue an item</legend>
 
-    <table>
-      <tr>
-        <th><label for="barcode">Enter Item Barcode: </label></th>
-        <td><input name="barcode" size="14" /></td>
+    <p><label for="barcode">Enter Item Barcode: </label><input name="barcode" size="14" /></p>
 	<!-- TMPL_IF NAME="memberofinstution" -->
-	<td><!-- TMPL_VAR NAME="CGIorganisations" --></td>
+	<p><!-- TMPL_VAR NAME="CGIorganisations" --></p>
 	<!-- /TMPL_IF -->
-      </tr>
-
-      <tr>
-        <th><label for="day">Specify Due Date: </label></th>
-        <td>
+    <p><label for="day">Specify Due Date: </label>
           <select name="day" id="day">
             <option value="0">Day</option>
   <!-- TMPL_IF NAME="day1" -->
@@ -506,6 +499,7 @@
             <option value="31">31</option>
   <!-- /TMPL_IF -->
           </select>
+          
           <select name="month">
             <option value="0">Month</option>
   <!-- TMPL_IF NAME="month1" -->
@@ -580,47 +574,41 @@
             <option value="12">Dec</option>
   <!-- /TMPL_IF -->
           </select>
+              
           <select name="year">
             <option value="0">Year</option>
-  <!-- TMPL_IF NAME="year2004" -->
-            <option value="2004" selected="selected">2004</option>
-  <!-- TMPL_ELSE -->
-            <option value="2004">2004</option>
-  <!-- /TMPL_IF -->
-
-  <!-- TMPL_IF NAME="year2005" -->
-            <option value="2005" selected="selected">2005</option>
-  <!-- TMPL_ELSE -->
-            <option value="2005">2005</option>
-  <!-- /TMPL_IF -->
-
   <!-- TMPL_IF NAME="year2006" -->
             <option value="2006" selected="selected">2006</option>
   <!-- TMPL_ELSE -->
             <option value="2006">2006</option>
   <!-- /TMPL_IF -->
-
-  <!-- TMPL_IF NAME="year2007" -->
+            <!-- TMPL_IF NAME="year2005" -->
             <option value="2007" selected="selected">2007</option>
   <!-- TMPL_ELSE -->
             <option value="2007">2007</option>
   <!-- /TMPL_IF -->
-
-  <!-- TMPL_IF NAME="year2008" -->
+            <!-- TMPL_IF NAME="year2006" -->
             <option value="2008" selected="selected">2008</option>
   <!-- TMPL_ELSE -->
             <option value="2008">2008</option>
   <!-- /TMPL_IF -->
+            <!-- TMPL_IF NAME="year2009" -->
+                <option value="2009" selected="selected">2009</option>
+            <!-- TMPL_ELSE -->
+                <option value="2009">2009</option>
+            <!-- /TMPL_IF -->
+            <!-- TMPL_IF NAME="year2010" -->
+                <option value="2010" selected="selected">2010</option>
+            <!-- TMPL_ELSE -->
+                <option value="2010">2010</option>
+            <!-- /TMPL_IF -->
           </select>
-        </td>
-      </tr>
-
-      <tr>
-        <th><label for="stickyduedate">Remember due date for Session:</label></th>
-        <td><input type="checkbox" id="stickyduedate" name="stickyduedate" <!-- TMPL_VAR NAME="selected" --> /></td>
-      </tr>
-
-    </table>
+        </p>
+        <p><label for="stickyduedate">
+            <input type="checkbox" id="stickyduedate" name="stickyduedate" <!-- TMPL_VAR NAME="selected" --> />
+            </label>
+            Remember due date for Session
+        </p>
 
     <input type="hidden" name="day" value="0" />
     <input type="hidden" name="month" value="0" />
@@ -642,8 +630,8 @@
 </form>
 
 <!-- TMPL_IF NAME="reservloop" -->
-<fieldset id="circ_circulation_issue">
-	<legend>Borrower current reserves</legend>
+<div id="circ_circulation_issue">
+	<h2>Borrower current reserves</h2>
 	<table>
 		<tr>
 			<th>Reserve date</th>
@@ -690,20 +678,20 @@
 			</tr>
 		<!-- /TMPL_LOOP -->
 	</table>
-</fieldset>
+</div>
 <!-- /TMPL_IF -->
 
 <!-- /TMPL_IF --> <!-- borrowernumber -->
 
 <!-- SUMMARY : TODAY & PREVIOUS ISSUES -->
 <!-- TMPL_IF NAME="borrowernumber" -->
-<form action="/cgi-bin/koha/reserve/renewscript.pl" method="post">
-  <fieldset id="circ_circulation_borrower_issues">
-    <legend>Borrower current issues</legend>
+<div id="circ_circulation_borrower_issues">
+    <form action="/cgi-bin/koha/reserve/renewscript.pl" method="post">
+    <h2>Borrower current issues</h2>
 
     <p>
-      <a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;print=page">Print Page</a>
-      / <a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;print=slip">Print Slip</a>
+      <a href=# onclick="javascript:window.open('/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;print=page')">Print Page</a>
+      / <a href=# onclick="javascript:window.open('/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;print=slip')">Print Slip</a>
     </p>
     
     <input type="hidden" value="circ" name="destination" />
@@ -807,9 +795,8 @@
       <input type="submit" name="renew_checked" value="Renew Checked Items" />
       <input type="submit" name="renew_all" value="Renew All" />
     </div>
-  </fieldset>
 </form>
-
+</div>
 <!-- /TMPL_IF --> <!-- borrowernumber -->
 
 <!-- TMPL_INCLUDE name="intranet-bottom.inc" -->





More information about the Koha-cvs mailing list