|
Lines 88-108
my $fw = GetFrameworkCode($biblionumber);
Link Here
|
| 88 |
my $showallitems = $query->param('showallitems'); |
88 |
my $showallitems = $query->param('showallitems'); |
| 89 |
my $marcflavour = C4::Context->preference("marcflavour"); |
89 |
my $marcflavour = C4::Context->preference("marcflavour"); |
| 90 |
|
90 |
|
| 91 |
# XSLT processing of some stuff |
|
|
| 92 |
my $xslfile = C4::Context->preference('XSLTDetailsDisplay'); |
| 93 |
my $lang = $xslfile ? C4::Languages::getlanguage() : undef; |
| 94 |
my $sysxml = $xslfile ? C4::XSLT::get_xslt_sysprefs() : undef; |
| 95 |
|
| 96 |
if ( $xslfile ) { |
| 97 |
$template->param( |
| 98 |
XSLTDetailsDisplay => '1', |
| 99 |
XSLTBloc => XSLTParse4Display( |
| 100 |
$biblionumber, $record, "XSLTDetailsDisplay", |
| 101 |
1, undef, $sysxml, $xslfile, $lang |
| 102 |
) |
| 103 |
); |
| 104 |
} |
| 105 |
|
| 106 |
$template->param( 'SpineLabelShowPrintOnBibDetails' => C4::Context->preference("SpineLabelShowPrintOnBibDetails") ); |
91 |
$template->param( 'SpineLabelShowPrintOnBibDetails' => C4::Context->preference("SpineLabelShowPrintOnBibDetails") ); |
| 107 |
$template->param( ocoins => GetCOinSBiblio($record) ); |
92 |
$template->param( ocoins => GetCOinSBiblio($record) ); |
| 108 |
|
93 |
|
|
Lines 344-349
if (scalar(@itemloop) == 0 || scalar(@otheritemloop) == 0) {
Link Here
|
| 344 |
} |
329 |
} |
| 345 |
} |
330 |
} |
| 346 |
|
331 |
|
|
|
332 |
# XSLT processing of some stuff |
| 333 |
my $xslfile = C4::Context->preference('XSLTDetailsDisplay'); |
| 334 |
if ( $xslfile ) { |
| 335 |
my $lang = C4::Languages::getlanguage(); |
| 336 |
my $sysxml = C4::XSLT::get_xslt_sysprefs(); |
| 337 |
$sysxml .= qq|<variables><variable name="analytics_flag">$analytics_flag</variable></variables>|; |
| 338 |
$template->param( |
| 339 |
XSLTDetailsDisplay => '1', |
| 340 |
XSLTBloc => XSLTParse4Display( |
| 341 |
$biblionumber, $record, "XSLTDetailsDisplay", |
| 342 |
1, undef, $sysxml, $xslfile, $lang |
| 343 |
) |
| 344 |
); |
| 345 |
} |
| 346 |
|
| 347 |
$template->param( norequests => $norequests ); |
347 |
$template->param( norequests => $norequests ); |
| 348 |
$template->param( |
348 |
$template->param( |
| 349 |
MARCNOTES => $marcnotesarray, |
349 |
MARCNOTES => $marcnotesarray, |