Lines 121-141
foreach my $issue ( @{$issues} ) {
Link Here
|
121 |
} |
121 |
} |
122 |
} |
122 |
} |
123 |
|
123 |
|
124 |
if (C4::Context->preference('BakerTaylorEnabled')) { |
124 |
BEGIN { |
125 |
$template->param( |
125 |
if (C4::Context->preference('BakerTaylorEnabled')) { |
126 |
JacketImages=>1, |
126 |
require C4::External::BakerTaylor; |
127 |
BakerTaylorEnabled => 1, |
127 |
import C4::External::BakerTaylor qw(&image_url &link_url); |
128 |
BakerTaylorImageURL => &image_url(), |
128 |
} |
129 |
BakerTaylorLinkURL => &link_url(), |
|
|
130 |
BakerTaylorBookstoreURL => C4::Context->preference('BakerTaylorBookstoreURL'), |
131 |
); |
132 |
} |
129 |
} |
133 |
|
130 |
|
134 |
BEGIN { |
131 |
if (C4::Context->preference('BakerTaylorEnabled')) { |
135 |
if (C4::Context->preference('BakerTaylorEnabled')) { |
132 |
$template->param( |
136 |
require C4::External::BakerTaylor; |
133 |
JacketImages => 1, |
137 |
import C4::External::BakerTaylor qw(&image_url &link_url); |
134 |
BakerTaylorEnabled => 1, |
138 |
} |
135 |
BakerTaylorImageURL => &image_url(), |
|
|
136 |
BakerTaylorLinkURL => &link_url(), |
137 |
BakerTaylorBookstoreURL => C4::Context->preference('BakerTaylorBookstoreURL'), |
138 |
); |
139 |
} |
139 |
} |
140 |
|
140 |
|
141 |
for(qw(AmazonCoverImages GoogleJackets)) { # BakerTaylorEnabled handled above |
141 |
for(qw(AmazonCoverImages GoogleJackets)) { # BakerTaylorEnabled handled above |
142 |
- |
|
|