-
-my $rejectedtext;
-if ($rejected) {
- if ($rejected == -1) {
- } else {
- $rejectedtext = << "EOF";
-<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>$rejected</font></td></tr>
-</table>
-<br>
-EOF
- }
-}
-
-my $selectborrower;
-if ($borrowerslist) {
- $selectborrower = <<"EOF";
-<form method=post action=/cgi-bin/koha/circ/circulation.pl>
-<input type=hidden name=branch value=$branch>
-<input type=hidden name=printer value=$printer>
-<table border=1 cellspacing=0 cellpadding=5 bgcolor="#dddddd">
-<tr><th bgcolor=$headerbackgroundcolor background=$backgroundimage>
-<font color=black><b>Select a borrower</b></font></th></tr>\n
-<tr><td align=center>
-<select name=borrnumber size=7>
-EOF
- foreach (sort {$a->{'surname'}.$a->{'firstname'} cmp $b->{'surname'}.$b->{'firstname'}} @$borrowerslist){
- $selectborrower .= <<"EOF";
-<option value=$_->{'borrowernumber'}>$_->{'surname'}, $_->{'firstname'} ($_->{'cardnumber'})
-EOF
- }
- $selectborrower .= <<"EOF";
-</select><br>
-<input type=submit>
-</td></tr></table>
-EOF
-}
-
-# title....
-my $title = <<"EOF";
-<table align="right"><tr><td>
-<a href=circulation.pl?borrnumber=$borrowernumber&branch=$branch&printer=$printer&print=yes>
-<img src="/images/button-next-borrower.gif" width="171" height="42" border="0" alt="Next Borrower"></a>  
-<a href=returns.pl>
-<img src="/images/button-returns.gif" width="110" height="42" border="0" alt="Returns"></a>
- <a href=branchtransfers.pl><img src="/images/button-transfers.gif" width="127" height="42" border="0" alt="Transfers"></a>
-</td></tr></table>
-<FONT SIZE=6><em>Circulation: Issues</em></FONT><br>
-<b>Branch:</b> $branches->{$branch}->{'branchname'}  
-<b>Printer:</b> $printers->{$printer}->{'printername'} <br>
-<a href=selectbranchprinter.pl>Change Settings</a></td>
-<input type=hidden name=branch value=$branch>
-<input type=hidden name=printer value=$printer>
-<p>
-EOF
-
-my $titlenoborrower = <<"EOF";
-<table align="right"><tr><td>
-<a href=returns.pl>
-<img src="/images/button-returns.gif" width="110" height="42" border="0" alt="Returns"></a>
- <a href=branchtransfers.pl><img src="/images/button-transfers.gif" width="127" height="42" border="0" alt="Transfers"></a>
-</td></tr></table>
-<FONT SIZE=6><em>Circulation: Issues</em></FONT><br>
-<b>Branch:</b> $branches->{$branch}->{'branchname'}  
-<b>Printer:</b> $printers->{$printer}->{'printername'} <br>
-<a href=selectbranchprinter.pl>Change Settings</a></td>
-<input type=hidden name=branch value=$branch>
-<input type=hidden name=printer value=$printer>
-<p>
-EOF
-
-
-
-my $cardnumberinput = << "EOF";
-<form method=post action=/cgi-bin/koha/circ/circulation.pl>
-<table border=1 cellpadding=5 cellspacing=0 bgcolor="#dddddd">
-<tr><th bgcolor=$headerbackgroundcolor background=$backgroundimage>
-<font color=black><b>Enter borrower card number<br> or partial last name</b></font></td></tr>
-<tr><td><input name=findborrower></td></tr>
- <input type=hidden name=branch value=$branch>
-<input type=hidden name=printer value=$printer>
-</table>
-</form>
-EOF
-
-my $responsesform = '';