Lines 621-627
if ( $showcomp eq 'both' || $showcomp eq 'opac' ) {
Link Here
|
621 |
} |
621 |
} |
622 |
|
622 |
|
623 |
# Display volumes link |
623 |
# Display volumes link |
624 |
my $show_volumes = 1 if @{$biblio->get_marc_volumes(1)}; |
624 |
my $show_volumes = @{ $biblio->get_marc_volumes(1) } ? 1 : 0; |
625 |
|
625 |
|
626 |
# XSLT processing of some stuff |
626 |
# XSLT processing of some stuff |
627 |
my $variables = {}; |
627 |
my $variables = {}; |
Lines 637-645
my @plugin_responses = Koha::Plugins->call(
Link Here
|
637 |
for my $plugin_variables ( @plugin_responses ) { |
637 |
for my $plugin_variables ( @plugin_responses ) { |
638 |
$variables = { %$variables, %$plugin_variables }; |
638 |
$variables = { %$variables, %$plugin_variables }; |
639 |
} |
639 |
} |
640 |
$variables->{anonymous_session} = $borrowernumber ? 0 : 1; |
640 |
$variables->{anonymous_session} = $borrowernumber ? 0 : 1; |
641 |
$variables->{show_analytics_link} = $show_analytics; |
641 |
$variables->{show_analytics_link} = $show_analytics; |
642 |
$variables->{show_volumes_link} = $show_volumes; |
642 |
$variables->{show_volumes_link} = $show_volumes; |
643 |
$template->param( |
643 |
$template->param( |
644 |
XSLTBloc => XSLTParse4Display({ |
644 |
XSLTBloc => XSLTParse4Display({ |
645 |
biblionumber => $biblionumber, |
645 |
biblionumber => $biblionumber, |
646 |
- |
|
|