|
Lines 1222-1239
$template->param(
Link Here
|
| 1222 |
'OpacLocationBranchToDisplay' => C4::Context->preference('OpacLocationBranchToDisplay'), |
1222 |
'OpacLocationBranchToDisplay' => C4::Context->preference('OpacLocationBranchToDisplay'), |
| 1223 |
); |
1223 |
); |
| 1224 |
|
1224 |
|
| 1225 |
# OpenURL |
|
|
| 1226 |
if (C4::Context->preference('OPACShowOpenURL')) { |
| 1227 |
my ($biblio) = GetBiblioItemByBiblioNumber($biblionumber); |
| 1228 |
my @itypes = split( /\s/, C4::Context->preference('OPACOpenURLItemTypes') ); |
| 1229 |
if (grep /^$biblio->{itemtype}$/, @itypes) { |
| 1230 |
$template->param( |
| 1231 |
OPACShowOpenURL => 1, |
| 1232 |
OpenURLResolverURL => C4::Context->preference('OpenURLResolverURL'), |
| 1233 |
OpenURLText => C4::Context->preference('OpenURLText'), |
| 1234 |
OpenURLImageLocation => C4::Context->preference('OpenURLImageLocation') |
| 1235 |
); |
| 1236 |
} |
| 1237 |
} |
| 1238 |
|
| 1239 |
output_html_with_http_headers $query, $cookie, $template->output; |
1225 |
output_html_with_http_headers $query, $cookie, $template->output; |