Lines 51-56
use C4::Koha;
Link Here
|
51 |
use C4::Tags qw(get_tags); |
51 |
use C4::Tags qw(get_tags); |
52 |
use C4::SocialData; |
52 |
use C4::SocialData; |
53 |
use C4::External::OverDrive; |
53 |
use C4::External::OverDrive; |
|
|
54 |
use C4::External::BakerTaylor; |
55 |
use C4::External::BakerTaylor qw(&image_url &link_url); |
54 |
|
56 |
|
55 |
use Koha::CirculationRules; |
57 |
use Koha::CirculationRules; |
56 |
use Koha::Libraries; |
58 |
use Koha::Libraries; |
Lines 90-102
if ( $branch_group_limit ) {
Link Here
|
90 |
} |
92 |
} |
91 |
} |
93 |
} |
92 |
|
94 |
|
93 |
BEGIN { |
|
|
94 |
if (C4::Context->preference('BakerTaylorEnabled')) { |
95 |
require C4::External::BakerTaylor; |
96 |
import C4::External::BakerTaylor qw(&image_url &link_url); |
97 |
} |
98 |
} |
99 |
|
100 |
my ($template,$borrowernumber,$cookie); |
95 |
my ($template,$borrowernumber,$cookie); |
101 |
# decide which template to use |
96 |
# decide which template to use |
102 |
my $template_name; |
97 |
my $template_name; |