Fix for Bug 649. Also corrected some HTML (quoted attributes, replaced & with &nbsp;, close <p> tags)

This commit is contained in:
oleonard 2003-10-31 19:09:12 +00:00
parent 1fba97b398
commit db339c009e

View file

@ -1,14 +1,14 @@
<TMPL_INCLUDE NAME="circulation-top.inc">
<TMPL_IF name="borrowernumber">
<table align="right" cellpadding=10>
<table align="right" cellpadding="10">
<tr>
<td>
<a class="button" href=circulation.pl?borrnumber=<TMPL_VAR name="borrowernumber">&branch=<TMPL_VAR name="branch">&printer=<TMPL_VAR name="printer">&print=yes>
<a class="button" href="circulation.pl?borrnumber=<TMPL_VAR name="borrowernumber">&amp;branch=<TMPL_VAR name="branch">&amp;printer=<TMPL_VAR name="printer">&amp;print=yes">
Next Borrower</a>&nbsp;
<a class="button" href=returns.pl>
<a class="button" href="returns.pl">
Returns</a>&nbsp;
<a class="button" href=branchtransfers.pl>
<a class="button" href="branchtransfers.pl">
Transfers</a>
</td>
</tr>
@ -16,19 +16,19 @@
<h1>Circulation: Issues</h1><br>
<b>Branch:</b> <TMPL_VAR name="branchname"><br>
<b>Printer:</b> <TMPL_VAR name="printername"><br>
<a href=selectbranchprinter.pl>Change Settings</a></td>
<input type=hidden name=branch value=<TMPL_VAR name="branch">>
<input type=hidden name=printer value=<TMPL_VAR name="printer">>
<p>
<a href="selectbranchprinter.pl">Change Settings</a>
<input type="hidden" name="branch" value="<TMPL_VAR name="branch">">
<input type="hidden" name="printer" value="<TMPL_VAR name="printer">">
<p>&nbsp;</p>
<TMPL_ELSE>
<table align="right" cellpadding=10>
<table align="right" cellpadding="10">
<tr>
<td>
<a href=returns.pl class="button">
<a href="returns.pl" class="button">
Returns
</a>
&nbsp;
<a href=branchtransfers.pl class="button">
<a href="branchtransfers.pl" class="button">
Transfers
</a>
</td>
@ -37,22 +37,22 @@
<h1>Circulation: Issues</h1><br>
<b>Branch:</b> <TMPL_VAR name="branchname"> <br>
<b>Printer:</b> <TMPL_VAR name="printername"><br>
<a href=selectbranchprinter.pl>Change Settings</a></td>
<input type=hidden name=branch value=<TMPL_VAR name="branch">>
<input type=hidden name=printer value=<TMPL_VAR name="printer">>
<p>
<a href="selectbranchprinter.pl">Change Settings</a>
<input type="hidden" name="branch" value="<TMPL_VAR name="branch">">
<input type="hidden" name="printer" value="<TMPL_VAR name="printer">">
<p>&nbsp;</p>
</TMPL_IF>
<TMPL_IF name="question">
<table border=1 cellpadding=5 cellspacing=0 bgcolor="#dddddd">
<table border="1" cellpadding="5" cellspacing="0" bgcolor="#dddddd">
<tr>
<th background="<TMPL_VAR name="themelang">/images/background-mem.gif">
<font size=+2 color=red><b>Issuing Question</b></font>
<font size="+2" color="red"><b>Issuing Question</b></font>
</th>
</tr>
<tr>
<td>
<table border=0 cellpadding=10>
<table border="0" cellpadding="10">
<tr>
<td>
Attempting to issue <TMPL_VAR name="title">
@ -64,43 +64,43 @@
</td>
</tr>
<tr>
<td align=center>
<table border=0>
<td align="center">
<table border="0">
<tr>
<td>
<form method=get>
<input type=hidden name=borrnumber value=<TMPL_VAR name="borrowernumber">>
<input type=hidden name=barcode value=<TMPL_VAR name="barcode">>
<input type=hidden name=questionnumber value=<TMPL_VAR name="questionnumber">>
<input type=hidden name=day value=<TMPL_VAR name="day">>
<input type=hidden name=month value=<TMPL_VAR name="month">>
<input type=hidden name=year value=<TMPL_VAR name="year">>
<input type=hidden name=stickyduedate value=<TMPL_VAR name="stickyduedate">>
<input type=hidden name=branch value=<TMPL_VAR name="branch">>
<input type=hidden name=printer value=<TMPL_VAR name="printer">>
<form method="get">
<input type="hidden" name="borrnumber" value="<TMPL_VAR name="borrowernumber">">
<input type="hidden" name="barcode" value="<TMPL_VAR name="barcode">">
<input type="hidden" name="questionnumber" value="<TMPL_VAR name="questionnumber">">
<input type="hidden" name="day" value="<TMPL_VAR name="day">">
<input type="hidden" name="month" value="<TMPL_VAR name="month">">
<input type="hidden" name="year" value="<TMPL_VAR name="year">">
<input type="hidden" name="stickyduedate" value="<TMPL_VAR name="stickyduedate">">
<input type="hidden" name="branch" value="<TMPL_VAR name="branch">">
<input type="hidden" name="printer" value="<TMPL_VAR name="printer">">
<TMPL_LOOP NAME="responseloop">
<input type=hidden name="<TMPL_VAR NAME="name">" value="<TMPL_VAR NAME="value">">
<input type="hidden" name="<TMPL_VAR NAME="name">" value="<TMPL_VAR NAME="value">">
</TMPL_LOOP>
<input type=hidden name=answer value=Y>
<input type=submit value=Yes>
<input type="hidden" name="answer" value="Y">
<input type="submit" value="Yes">
</form>
</td>
<td>
<form method=get>
<input type=hidden name=borrnumber value=<TMPL_VAR name="borrowernumber">>
<input type=hidden name=barcode value=<TMPL_VAR name="barcode">>
<input type=hidden name=questionnumber value=<TMPL_VAR name="questionnumber">>
<input type=hidden name=day value=<TMPL_VAR name="day">>
<input type=hidden name=month value=<TMPL_VAR name="month">>
<input type=hidden name=year value=<TMPL_VAR name="year">>
<input type=hidden name=stickyduedate value=<TMPL_VAR name="stickyduedate">>
<input type=hidden name=branch value=<TMPL_VAR name="branch">>
<input type=hidden name=printer value=<TMPL_VAR name="printer">>
<form method="get">
<input type="hidden" name="borrnumber" value="<TMPL_VAR name="borrowernumber">">
<input type="hidden" name="barcode" value="<TMPL_VAR name="barcode">">
<input type="hidden" name="questionnumber" value="<TMPL_VAR name="questionnumber">">
<input type="hidden" name="day" value="<TMPL_VAR name="day">">
<input type="hidden" name="month" value="<TMPL_VAR name="month">">
<input type="hidden" name="year" value="<TMPL_VAR name="year">">
<input type="hidden" name="stickyduedate" value="<TMPL_VAR name="stickyduedate">">
<input type="hidden" name="branch" value="<TMPL_VAR name="branch">">
<input type="hidden" name="printer" value="<TMPL_VAR name="printer">">
<TMPL_LOOP NAME="responseloop">
<input type=hidden name="<TMPL_VAR NAME="name">" value="<TMPL_VAR NAME="value">">
<input type="hidden" name="<TMPL_VAR NAME="name">" value="<TMPL_VAR NAME="value">">
</TMPL_LOOP>
<input type=hidden name=answer value=N>
<input type=submit value=No>
<input type="hidden" name="answer" value="N">
<input type="submit" value="No">
</form>
</td>
</tr>
@ -112,35 +112,35 @@
</TMPL_IF>
<TMPL_IF name="rejected">
<table border=1 cellpadding=5 cellspacing=0 bgcolor="#dddddd">
<tr><th><font color=black size=5>Error Issuing Book</font></th></tr>
<tr><td><font color=red size=5><TMPL_VAR name="rejected"></font></td></tr>
<table border="1" cellpadding="5" cellspacing="0" bgcolor="#dddddd">
<tr><th><font color="black" size="5">Error Issuing Book</font></th></tr>
<tr><td><font color="red" size="5"><TMPL_VAR name="rejected"></font></td></tr>
</table>
<br>
</TMPL_IF>
<TMPL_IF name="message">
<table border=1 cellpadding=5 cellspacing=0 bgcolor='#dddddd'>
<table border="1" cellpadding="5" cellspacing="0" bgcolor="#dddddd">
<tr><th background="<TMPL_VAR name="themelang">/images/background-mem.gif">Messages</th></tr>
<tr><td><TMPL_VAR name="message"></td></tr>
</table>
</TMPL_IF>
<TMPL_IF name="CGIselectborrower">
<form method=post action=/cgi-bin/koha/circ/circulation.pl>
<input type=hidden name=branch value=<TMPL_VAR name="branch">>
<input type=hidden name=printer value=<TMPL_VAR name="printer">>
<table border=1 cellspacing=0 cellpadding=5 bgcolor="#dddddd">
<form method="post" action="/cgi-bin/koha/circ/circulation.pl">
<input type="hidden" name="branch" value="<TMPL_VAR name="branch">">
<input type="hidden" name="printer" value="<TMPL_VAR name="printer">">
<table border="1" cellspacing="0" cellpadding="5" bgcolor="#dddddd">
<tr>
<th background="<TMPL_VAR name="themelang">/images/background-mem.gif">
<font color=black><b>Select a borrower</b></font>
<font color="black"><b>Select a borrower</b></font>
</th>
</tr>
<tr>
<td align=center>
<td align="center">
<TMPL_VAR name="CGIselectborrower">
<br>
<input type=submit>
<input type="submit">
</td>
</tr>
</table>
@ -148,18 +148,18 @@
<TMPL_IF NAME="borrowernumber">
<TMPL_ELSE>
<form method=post action=/cgi-bin/koha/circ/circulation.pl>
<table border=1 cellpadding=5 cellspacing=0 bgcolor="#dddddd">
<form method="post" action="/cgi-bin/koha/circ/circulation.pl">
<table border="1" cellpadding="5" cellspacing="0" bgcolor="#dddddd">
<tr>
<th background="<TMPL_VAR name="themelang">/images/background-mem.gif">
<font color=black><b>Enter borrower card number<br> or partial last name</b></font>
<font color="black"><b>Enter borrower card number<br> or partial last name</b></font>
</th>
</tr>
<tr>
<td>
<input name=findborrower>
<input type=hidden name=branch value=<TMPL_VAR name="branch">>
<input type=hidden name=printer value=<TMPL_VAR name="printer">>
<input name="findborrower">
<input type="hidden" name="branch" value="<TMPL_VAR name="branch">">
<input type="hidden" name="printer" value="<TMPL_VAR name="printer">">
</td>
</tr>
</table>
@ -170,50 +170,50 @@
<table border="1" width="100%">
<tr>
<td>
<form method=post action=/cgi-bin/koha/circ/circulation.pl>
<table border=1 cellpadding=5>
<form method="post" action="/cgi-bin/koha/circ/circulation.pl">
<table border="1" cellpadding="5">
<tr>
<td align=center valign=top>
<table border=0 cellspacing=0 cellpadding=5>
<td align="center" valign="top">
<table border="0" cellspacing="0" cellpadding="5">
<tr>
<th background="<TMPL_VAR name="themelang">/images/background-mem.gif">
<font color=black><b>Enter Book Barcode</b></font>
<font color="black"><b>Enter Book Barcode</b></font>
</th>
</tr>
<tr>
<td align=center>
<table border=0>
<td align="center">
<table border="0">
<tr>
<td>Item Barcode:</td>
<td><input name=barcode size=10></td>
<td><input type=submit value=Issue></td>
<td><input name="barcode" size="10"></td>
<td><input type="submit" value="Issue"></td>
</tr>
<tr>
<td colspan=3 align=center>
<table border=0 cellpadding=0 cellspacing=0>
<td colspan="3" align="center">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<select name=day><option value=0>Day<TMPL_VAR name="dayoptions"></select>
<select name="day"><option value="0">Day<TMPL_VAR name="dayoptions"></select>
</td>
<td>
<select name=month><option value=0>Month<TMPL_VAR name="monthoptions"></select>
<select name="month"><option value="0">Month<TMPL_VAR name="monthoptions"></select>
</td>
<td>
<select name=year><option value=0>Year<TMPL_VAR name="yearoptions"></select>
<select name="year"><option value="0">Year<TMPL_VAR name="yearoptions"></select>
</td>
</tr>
</table>
<input type=checkbox name=stickyduedate <TMPL_VAR name="selected">> Sticky Due Date
<input type="checkbox" name="stickyduedate" <TMPL_VAR name="selected">> Sticky Due Date
</td>
</tr>
</table>
<input type=hidden name=borrnumber value=<TMPL_VAR name="borrowernumber">>
<input type=hidden name=branch value=<TMPL_VAR name="branch">>
<input type=hidden name=printer value=<TMPL_VAR name="printer">>
<input type=hidden name=print value=maybe>
<input type="hidden" name="borrnumber" value="<TMPL_VAR name="borrowernumber">">
<input type="hidden" name="branch" value="<TMPL_VAR name="branch">">
<input type="hidden" name="printer" value="<TMPL_VAR name="printer">">
<input type="hidden" name="print" value="maybe">
<TMPL_IF name="CHARGES">
<input type=hidden name=charges value=yes>
<input type=hidden name=oldamount value=<TMPL_VAR name="amountold">>
<input type="hidden" name="charges" value="yes">
<input type="hidden" name="oldamount" value="<TMPL_VAR name="amountold">">
</TMPL_IF>
</td>
</tr>
@ -224,51 +224,51 @@
</form>
</td>
<td>
<table border=1 cellpadding=5 cellspacing=0 align=right>
<tr><td colspan=2><font color=black><b>Patron information</b></font></td></tr>
<tr><td colspan=2>
<table border="1" cellpadding="5" cellspacing="0" align="right">
<tr><td colspan="2"><font color="black"><b>Patron information</b></font></td></tr>
<tr><td colspan="2">
<a href="/cgi-bin/koha/moremember.pl?bornum=<TMPL_VAR name="borrowernumber">" onClick="openWindow(this,'Member', 480, 640)">
<TMPL_VAR name="firstname"> <TMPL_VAR name="surname">
</a> <br> Catégorie: <TMPL_VAR name="categorycode">
</a> <br> Category: <TMPL_VAR name="categorycode">
</td></tr>
<TMPL_IF name="noissues">
<TMPL_IF name="charges">
<tr><td valign=top><font color=red>CHARGES</font></td><td bgcolor=<TMPL_VAR name=color>><a href=/cgi-bin/koha/pay.pl?bornum=<TMPL_VAR name="borrowernumber"> onClick=\"openWindow(this, 'Payment', 480,640)\">Payment</a></td></tr>
<tr><td valign="top"><font color="red">CHARGES</font></td><td bgcolor=<TMPL_VAR name="color">><a href="/cgi-bin/koha/pay.pl?bornum=<TMPL_VAR name="borrowernumber">" onClick="openWindow(this, 'Payment', 480,640)">Payment</a></td></tr>
<TMPL_ELSE>
<tr><td valign=top><font color=red><TMPL_VAR name="flag"></font></td><td bgcolor=<TMPL_VAR name="color"><TMPL_VAR name="message"></td></tr>
<tr><td valign="top"><font color="red"><TMPL_VAR name="flag"></font></td><td bgcolor=<TMPL_VAR name="color"><TMPL_VAR name="message"></td></tr>
</TMPL_IF>
<TMPL_ELSE>
<TMPL_IF name="charges">
<tr><td valign=top>CHARGES</td><td><a href=/cgi-bin/koha/pay.pl?bornum=<TMPL_VAR name="borrowernumber"> onClick=\"openWindow(this, 'Payment', 480,640)\">Payment</a></td></tr>
<tr><td valign=top>CHARGES</td><td><a href="/cgi-bin/koha/pay.pl?bornum=<TMPL_VAR name="borrowernumber">" onClick="openWindow(this, 'Payment', 480,640)">Payment</a></td></tr>
</TMPL_IF>
<TMPL_IF name="waiting">
<tr>
<td valign=top>WAITING</td>
<td valign="top">WAITING</td>
<td>
<TMPL_LOOP name="itemswaiting">
<a href=/cgi-bin/koha/detail.pl?bib=<TMPL_VAR name="biblionumber">&type=intra onClick=\"openWindow(this, 'Item', 480, 640)\"><TMPL_VAR name="barcode">}</a><TMPL_VAR name="title"> (<TMPL_VAR name="branchname">)<br>
<a href="/cgi-bin/koha/detail.pl?bib=<TMPL_VAR name="biblionumber">&amp;type=intra" onClick="openWindow(this, 'Item', 480, 640)"><TMPL_VAR name="barcode"></a> <TMPL_VAR name="title"> (<TMPL_VAR name="branchname">)<br>
</TMPL_LOOP>
</td>
</tr>
</TMPL_IF>
<TMPL_IF name="odues">
<TMPL_IF name="nonreturns">
<tr><td valign=top>ODUES</td><td>Yes, See below</td></tr>
<tr><td valign="top">ODUES</td><td>Yes, See below</td></tr>
</TMPL_IF>
</TMPL_IF>
<TMPL_IF name="notes">
<tr><td valign=top>NOTES</td><td><TMPL_VAR name="notesmsg"></td></tr>
<tr><td valign="top">NOTES</td><td><TMPL_VAR name="notesmsg"></td></tr>
</TMPL_IF>
</TMPL_IF>
</table>
</TMPL_IF>
</table>
<p clear=all><br><br>
<p clear="all"><br><br></p>
<TMPL_IF name="todayissues">
<table border=1 cellpadding=5 cellspacing=0 width=80%>
<table border="1" cellpadding="5" cellspacing="0" width="80%">
<tr>
<th colspan=5 background="<TMPL_VAR name="themelang">/images/background-mem.gif">
<font color=black>
<th colspan="5" background="<TMPL_VAR name="themelang">/images/background-mem.gif">
<font color="black">
<b>Todays Issues</b></font>
</th>
</tr>
@ -276,21 +276,21 @@
<th>Due Date</th><th>Bar Code</th><th>Title</th><th>Author</th><th>Class</th>
</tr>
<TMPL_LOOP name="todayissues">
<tr><td bgcolor=<TMPL_VAR NAME="tcolor"> align=center><TMPL_VAR NAME="dd"></td>
<td bgcolor=<TMPL_VAR NAME="tcolor"> align=center>
<a href="/cgi-bin/koha/detail.pl?bib=<TMPL_VAR NAME="biblionumber">&type=intra" onClick="openWindow(this, 'Item', 480, 640); return false;"><TMPL_VAR NAME="barcode"></a></td>
<td bgcolor=<TMPL_VAR NAME="tcolor">><TMPL_VAR NAME="title"></td>
<td bgcolor=<TMPL_VAR NAME="tcolor">><TMPL_VAR NAME="author"></td>
<td bgcolor=<TMPL_VAR NAME="tcolor"> align=center><TMPL_VAR NAME="dewey"> <TMPL_VAR NAME="subclass"></td></tr>
<tr><td bgcolor=<TMPL_VAR NAME="tcolor"> align="center"><TMPL_VAR NAME="dd"></td>
<td bgcolor=<TMPL_VAR NAME="tcolor"> align="center">
<a href="/cgi-bin/koha/detail.pl?bib=<TMPL_VAR NAME="biblionumber">&amp;type=intra" onClick="openWindow(this, 'Item', 480, 640); return false;"><TMPL_VAR NAME="barcode"></a></td>
<td bgcolor="<TMPL_VAR NAME="tcolor">"><TMPL_VAR NAME="title"></td>
<td bgcolor="<TMPL_VAR NAME="tcolor">"><TMPL_VAR NAME="author"></td>
<td bgcolor="<TMPL_VAR NAME="tcolor">" align="center"><TMPL_VAR NAME="dewey"> <TMPL_VAR NAME="subclass"></td></tr>
</TMPL_LOOP>
</table>
</TMPL_IF>
<TMPL_IF name="previssues">
<table border=1 cellpadding=5 cellspacing=0 width=80%>
<table border="1" cellpadding="5" cellspacing="0" width="80%">
<tr>
<th colspan=5 background="<TMPL_VAR name="themelang">/images/background-mem.gif">
<font color=black>
<th colspan="5" background="<TMPL_VAR name="themelang">/images/background-mem.gif">
<font color="black">
<b>Previous Issues</b></font>
</th>
</tr>
@ -298,12 +298,12 @@
<th>Due Date</th><th>Bar Code</th><th>Title</th><th>Author</th><th>Class</th>
</tr>
<TMPL_LOOP name="previssues">
<tr><td bgcolor=<TMPL_VAR NAME="tcolor"> align=center><TMPL_VAR NAME="dd"></td>
<td bgcolor=<TMPL_VAR NAME="tcolor"> align=center>
<a href="/cgi-bin/koha/detail.pl?bib=<TMPL_VAR NAME="biblionumber">&type=intra" onClick="openWindow(this, 'Item', 480, 640); return false;"><TMPL_VAR NAME="barcode"></a></td>
<td bgcolor=<TMPL_VAR NAME="tcolor">><TMPL_VAR NAME="title"></td>
<td bgcolor=<TMPL_VAR NAME="tcolor">><TMPL_VAR NAME="author"></td>
<td bgcolor=<TMPL_VAR NAME="tcolor"> align=center><TMPL_VAR NAME="dewey"> <TMPL_VAR NAME="subclass"></td></tr>
<tr><td bgcolor="<TMPL_VAR NAME="tcolor">" align="center"><TMPL_VAR NAME="dd"></td>
<td bgcolor="<TMPL_VAR NAME="tcolor">" align="center">
<a href="/cgi-bin/koha/detail.pl?bib=<TMPL_VAR NAME="biblionumber">&amp;type=intra" onClick="openWindow(this, 'Item', 480, 640); return false;"><TMPL_VAR NAME="barcode"></a></td>
<td bgcolor="<TMPL_VAR NAME="tcolor">"><TMPL_VAR NAME="title"></td>
<td bgcolor="<TMPL_VAR NAME="tcolor">"><TMPL_VAR NAME="author"></td>
<td bgcolor="<TMPL_VAR NAME="tcolor">" align="center"><TMPL_VAR NAME="dewey"> <TMPL_VAR NAME="subclass"></td></tr>
</TMPL_LOOP>
</table>