Lines 32-37
use C4::Biblio;
Link Here
|
32 |
use C4::Circulation; |
32 |
use C4::Circulation; |
33 |
use C4::Reserves; |
33 |
use C4::Reserves; |
34 |
use Koha::XSLT_Handler; |
34 |
use Koha::XSLT_Handler; |
|
|
35 |
use Koha::Libraries; |
35 |
|
36 |
|
36 |
use Encode; |
37 |
use Encode; |
37 |
|
38 |
|
Lines 212-217
sub XSLTParse4Display {
Link Here
|
212 |
next unless defined($sp); |
213 |
next unless defined($sp); |
213 |
$sysxml .= "<syspref name=\"$syspref\">$sp</syspref>\n"; |
214 |
$sysxml .= "<syspref name=\"$syspref\">$sp</syspref>\n"; |
214 |
} |
215 |
} |
|
|
216 |
|
217 |
# singleBranchMode was a system preference, but no longer is |
218 |
# we can retain it here for compatibility |
219 |
my $singleBranchMode = Koha::Libraries->search->count == 1; |
220 |
$sysxml .= "<syspref name=\"singleBranchMode\">$singleBranchMode</syspref>\n"; |
221 |
|
215 |
$sysxml .= "</sysprefs>\n"; |
222 |
$sysxml .= "</sysprefs>\n"; |
216 |
$xmlrecord =~ s/\<\/record\>/$itemsxml$sysxml\<\/record\>/; |
223 |
$xmlrecord =~ s/\<\/record\>/$itemsxml$sysxml\<\/record\>/; |
217 |
if ($fixamps) { # We need to correct the HTML entities that Zebra outputs |
224 |
if ($fixamps) { # We need to correct the HTML entities that Zebra outputs |
218 |
- |
|
|