Lines 4-9
Link Here
|
4 |
# adapted for use in the hlt opac by finlay@katipo.co.nz 29/11/2002 |
4 |
# adapted for use in the hlt opac by finlay@katipo.co.nz 29/11/2002 |
5 |
#script to renew items from the web |
5 |
#script to renew items from the web |
6 |
|
6 |
|
|
|
7 |
use strict; |
8 |
use warnings; |
9 |
|
7 |
use CGI; |
10 |
use CGI; |
8 |
use C4::Circulation; |
11 |
use C4::Circulation; |
9 |
use C4::Auth; |
12 |
use C4::Auth; |
Lines 21-27
my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
Link Here
|
21 |
} |
24 |
} |
22 |
); |
25 |
); |
23 |
my @items = $query->param('item'); |
26 |
my @items = $query->param('item'); |
24 |
my $borrowernumber = $query->param('borrowernumber') || $query->param('bornum'); |
27 |
$borrowernumber = $query->param('borrowernumber') || $query->param('bornum'); |
25 |
my $opacrenew = C4::Context->preference("OpacRenewalAllowed"); |
28 |
my $opacrenew = C4::Context->preference("OpacRenewalAllowed"); |
26 |
|
29 |
|
27 |
for my $itemnumber ( @items ) { |
30 |
for my $itemnumber ( @items ) { |
28 |
- |
|
|