|
Lines 1155-1172
$template->param(
Link Here
|
| 1155 |
'OpacLocationBranchToDisplayShelving' => C4::Context->preference('OpacLocationBranchToDisplayShelving'), |
1155 |
'OpacLocationBranchToDisplayShelving' => C4::Context->preference('OpacLocationBranchToDisplayShelving'), |
| 1156 |
); |
1156 |
); |
| 1157 |
|
1157 |
|
| 1158 |
# OpenURL |
|
|
| 1159 |
if (C4::Context->preference('OPACShowOpenURL')) { |
| 1160 |
my ($biblio) = GetBiblioItemByBiblioNumber($biblionumber); |
| 1161 |
my @itypes = split( /\s/, C4::Context->preference('OPACOpenURLItemTypes') ); |
| 1162 |
if (grep /^$biblio->{itemtype}$/, @itypes) { |
| 1163 |
$template->param( |
| 1164 |
OPACShowOpenURL => 1, |
| 1165 |
OpenURLResolverURL => C4::Context->preference('OpenURLResolverURL'), |
| 1166 |
OpenURLText => C4::Context->preference('OpenURLText'), |
| 1167 |
OpenURLImageLocation => C4::Context->preference('OpenURLImageLocation') |
| 1168 |
); |
| 1169 |
} |
| 1170 |
} |
| 1171 |
|
| 1172 |
output_html_with_http_headers $query, $cookie, $template->output; |
1158 |
output_html_with_http_headers $query, $cookie, $template->output; |