[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/circ returns.tmp
From: |
Owen Leonard |
Subject: |
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/circ returns.tmpl,1.20,1.21 |
Date: |
Wed, 31 Aug 2005 08:53:55 -0700 |
Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/circ
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3361/koha-tmpl/intranet-tmpl/default/en/circ
Modified Files:
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. Also quoting some unquoted attributes and fixing some
HTML typos
Index: returns.tmpl
===================================================================
RCS file:
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/circ/returns.tmpl,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** returns.tmpl 4 May 2005 08:52:54 -0000 1.20
--- returns.tmpl 31 Aug 2005 15:53:53 -0000 1.21
***************
*** 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>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/circ returns.tmpl,1.20,1.21,
Owen Leonard <=
- Prev by Date:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/circ branchtransfers.tmpl,1.13,1.14
- Next by Date:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/npl/en/circ branchtransfers.tmpl,1.3,1.4 returns.tmpl,1.3,1.4
- Previous by thread:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/circ branchtransfers.tmpl,1.13,1.14
- Next by thread:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/npl/en/circ branchtransfers.tmpl,1.3,1.4 returns.tmpl,1.3,1.4
- Index(es):