|
Lines 1191-1208
$template->param(
Link Here
|
| 1191 |
'OpacLocationBranchToDisplayShelving' => C4::Context->preference('OpacLocationBranchToDisplayShelving'), |
1191 |
'OpacLocationBranchToDisplayShelving' => C4::Context->preference('OpacLocationBranchToDisplayShelving'), |
| 1192 |
); |
1192 |
); |
| 1193 |
|
1193 |
|
| 1194 |
# OpenURL |
|
|
| 1195 |
if (C4::Context->preference('OPACShowOpenURL')) { |
| 1196 |
my ($biblio) = GetBiblioItemByBiblioNumber($biblionumber); |
| 1197 |
my @itypes = split( /\s/, C4::Context->preference('OPACOpenURLItemTypes') ); |
| 1198 |
if (grep /^$biblio->{itemtype}$/, @itypes) { |
| 1199 |
$template->param( |
| 1200 |
OPACShowOpenURL => 1, |
| 1201 |
OpenURLResolverURL => C4::Context->preference('OpenURLResolverURL'), |
| 1202 |
OpenURLText => C4::Context->preference('OpenURLText'), |
| 1203 |
OpenURLImageLocation => C4::Context->preference('OpenURLImageLocation') |
| 1204 |
); |
| 1205 |
} |
| 1206 |
} |
| 1207 |
|
| 1208 |
output_html_with_http_headers $query, $cookie, $template->output; |
1194 |
output_html_with_http_headers $query, $cookie, $template->output; |