[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/circ returns.tmpl,1.17.2.3,1.17.2.4

Owen Leonard oleonard at users.sourceforge.net
Thu Aug 25 19:19:05 CEST 2005


Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/circ
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8685/koha-tmpl/intranet-tmpl/default/en/circ

Modified Files:
      Tag: rel_2_2
	returns.tmpl 
Log Message:
- Fix for bug 585 (Using 'document.forms[0]' notation prevents use of other forms on page) Changing the reference from [0] to ['f'], with 'f' being the form name, seems to work fine.
- quoting some unquoted attributes
- fixing HTML typo

Index: returns.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/circ/returns.tmpl,v
retrieving revision 1.17.2.3
retrieving revision 1.17.2.4
diff -C2 -r1.17.2.3 -r1.17.2.4
*** returns.tmpl	28 Apr 2005 08:48:55 -0000	1.17.2.3
--- returns.tmpl	25 Aug 2005 17:19:03 -0000	1.17.2.4
***************
*** 17,25 ****
  					<form method="post" action="returns.pl">
  					<!-- TMPL_LOOP Name="inputloop" -->
! 						<input type="hidden" name=ri-<!-- TMPL_VAR NAME="counter" --> value=<!-- TMPL_VAR NAME="barcode" -->>
! 						<input type="hidden" name=dd-<!-- TMPL_VAR NAME="counter" --> value=<!-- TMPL_VAR NAME="duedate" -->>
! 						<input type="hidden" name=bn-<!-- TMPL_VAR NAME="counter" --> value=<!-- TMPL_VAR NAME="bornum" -->>
  					<!-- /TMPL_LOOP -->
! 					<input type="hidden" name="barcode" value=0>
  					<input type="submit" value="OK" class="button circulation">
  					</form>
--- 17,25 ----
  					<form method="post" action="returns.pl">
  					<!-- TMPL_LOOP Name="inputloop" -->
! 						<input type="hidden" name="ri-<!-- TMPL_VAR NAME="counter" -->" value="<!-- TMPL_VAR NAME="barcode" -->">
! 						<input type="hidden" name="dd-<!-- TMPL_VAR NAME="counter" -->" value="<!-- TMPL_VAR NAME="duedate" -->">
! 						<input type="hidden" name="bn-<!-- TMPL_VAR NAME="counter" -->" value="<!-- TMPL_VAR NAME="bornum" -->">
  					<!-- /TMPL_LOOP -->
! 					<input type="hidden" name="barcode" value="0">
  					<input type="submit" value="OK" class="button circulation">
  					</form>
***************
*** 38,47 ****
  				<!-- TMPL_LOOP Name="inputloop" -->
  					<!-- TMPL_UNLESS Name="first" -->
! 						<input type="hidden" name=ri-<!-- TMPL_VAR NAME="counter" --> value=<!-- TMPL_VAR NAME="barcode" -->>
! 						<input type="hidden" name=dd-<!-- TMPL_VAR NAME="counter" --> value=<!-- TMPL_VAR NAME="duedate" -->>
! 						<input type="hidden" name=bn-<!-- TMPL_VAR NAME="counter" --> value=<!-- TMPL_VAR NAME="bornum" -->>
  					<!-- /TMPL_UNLESS -->
  				<!-- /TMPL_LOOP -->
! 				<input type="hidden" name="barcode" value=0>
  				<input type="submit" value="OK" class="button circulation">
  				</form>
--- 38,47 ----
  				<!-- TMPL_LOOP Name="inputloop" -->
  					<!-- TMPL_UNLESS Name="first" -->
! 						<input type="hidden" name="ri-<!-- TMPL_VAR NAME="counter" -->" value="<!-- TMPL_VAR NAME="barcode" -->">
! 						<input type="hidden" name="dd-<!-- TMPL_VAR NAME="counter" -->" value="<!-- TMPL_VAR NAME="duedate" -->">
! 						<input type="hidden" name="bn-<!-- TMPL_VAR NAME="counter" -->" value="<!-- TMPL_VAR NAME="bornum" -->">
  					<!-- /TMPL_UNLESS -->
  				<!-- /TMPL_LOOP -->
! 				<input type="hidden" name="barcode" value="0">
  				<input type="submit" value="OK" class="button circulation">
  				</form>
***************
*** 57,63 ****
  				</p>
  				<p>
! 				Change status to waiting and print <a href="" class="circulation" onClick="alert(document.forms[0].resslip.value); return false">slip</a>? </p>
  				<p>
! 				<form method="post" action="returns.pl">
  				<!-- TMPL_LOOP Name="inputloop" -->
  					<input type="hidden" name="ri-<!-- TMPL_VAR NAME="counter" -->" value="<!-- TMPL_VAR NAME="barcode" -->">
--- 57,63 ----
  				</p>
  				<p>
! 				Change status to waiting and print <a href="" class="circulation" onclick="alert(document.forms['f'].resslip.value); return false">slip</a>? </p>
  				<p>
! 				<form method="post" action="returns.pl" name="f">
  				<!-- TMPL_LOOP Name="inputloop" -->
  					<input type="hidden" name="ri-<!-- TMPL_VAR NAME="counter" -->" value="<!-- TMPL_VAR NAME="barcode" -->">
***************
*** 189,194 ****
  			</tr>
  			<!-- TMPL_LOOP Name="riloop" -->
! 				<tr>
! 					<td bgcolor=<!-- TMPL_VAR NAME="color" -->>
  						<!-- TMPL_IF Name="duedate" -->
  							<!-- TMPL_IF Name="early" -->
--- 189,194 ----
  			</tr>
  			<!-- TMPL_LOOP Name="riloop" -->
! 				<!-- TMPL_IF NAME="color" --><tr><!-- TMPL_ELSE --><tr class="hilighted"><!-- /TMPL_IF -->
! 					<td >
  						<!-- TMPL_IF Name="duedate" -->
  							<!-- TMPL_IF Name="early" -->
***************
*** 223,227 ****
  			<!-- /TMPL_LOOP -->
  			</table>
! 		</div id="bloc25">
  	<!-- /TMPL_IF -->
  </div>
--- 223,227 ----
  			<!-- /TMPL_LOOP -->
  			</table>
! 		</div>
  	<!-- /TMPL_IF -->
  </div>





More information about the Koha-cvs mailing list