Lines 28-35
Link Here
|
28 |
# The checkout permission comes form the CGI cookie/session of a staff user. |
28 |
# The checkout permission comes form the CGI cookie/session of a staff user. |
29 |
# The patron is not really logging in here in the same way as they do on the |
29 |
# The patron is not really logging in here in the same way as they do on the |
30 |
# rest of the OPAC. So don't confuse loggedinuser with the patron user. |
30 |
# rest of the OPAC. So don't confuse loggedinuser with the patron user. |
31 |
# |
|
|
32 |
# FIXME: inputfocus not really used in TMPL |
33 |
|
31 |
|
34 |
use Modern::Perl; |
32 |
use Modern::Perl; |
35 |
|
33 |
|
Lines 255-261
elsif ( $patron && ( $op eq 'checkout' ) ) {
Link Here
|
255 |
confirm => "Issuing title: " . $item->biblio->title, |
253 |
confirm => "Issuing title: " . $item->biblio->title, |
256 |
barcode => $barcode, |
254 |
barcode => $barcode, |
257 |
hide_main => 1, |
255 |
hide_main => 1, |
258 |
inputfocus => 'confirm', |
|
|
259 |
); |
256 |
); |
260 |
} |
257 |
} |
261 |
} |
258 |
} |
Lines 334-343
if ($patron) {
Link Here
|
334 |
opacnote => $patron->opacnote, |
331 |
opacnote => $patron->opacnote, |
335 |
); |
332 |
); |
336 |
|
333 |
|
337 |
my $inputfocus = ($return_only == 1) ? 'returnbook' : |
|
|
338 |
($confirm_required == 1) ? 'confirm' : 'barcode' ; |
339 |
$template->param( |
334 |
$template->param( |
340 |
inputfocus => $inputfocus, |
|
|
341 |
nofines => 1, |
335 |
nofines => 1, |
342 |
|
336 |
|
343 |
); |
337 |
); |
344 |
- |
|
|