Lines 511-516
sub get_template_and_user {
Link Here
|
511 |
} |
511 |
} |
512 |
|
512 |
|
513 |
my $library_categories = Koha::LibraryCategories->search({categorytype => 'searchdomain', show_in_pulldown => 1}, { order_by => ['categorytype', 'categorycode']}); |
513 |
my $library_categories = Koha::LibraryCategories->search({categorytype => 'searchdomain', show_in_pulldown => 1}, { order_by => ['categorytype', 'categorycode']}); |
|
|
514 |
my $version = C4::Context->preference('Version'); |
515 |
|
514 |
$template->param( |
516 |
$template->param( |
515 |
OpacAdditionalStylesheet => C4::Context->preference("OpacAdditionalStylesheet"), |
517 |
OpacAdditionalStylesheet => C4::Context->preference("OpacAdditionalStylesheet"), |
516 |
AnonSuggestions => "" . C4::Context->preference("AnonSuggestions"), |
518 |
AnonSuggestions => "" . C4::Context->preference("AnonSuggestions"), |
Lines 542-548
sub get_template_and_user {
Link Here
|
542 |
OPACFinesTab => C4::Context->preference("OPACFinesTab"), |
544 |
OPACFinesTab => C4::Context->preference("OPACFinesTab"), |
543 |
OpacTopissue => C4::Context->preference("OpacTopissue"), |
545 |
OpacTopissue => C4::Context->preference("OpacTopissue"), |
544 |
RequestOnOpac => C4::Context->preference("RequestOnOpac"), |
546 |
RequestOnOpac => C4::Context->preference("RequestOnOpac"), |
545 |
'Version' => C4::Context->preference('Version'), |
547 |
Version => $version, |
|
|
548 |
KOHA_VERSION => $version, |
546 |
hidelostitems => C4::Context->preference("hidelostitems"), |
549 |
hidelostitems => C4::Context->preference("hidelostitems"), |
547 |
mylibraryfirst => ( C4::Context->preference("SearchMyLibraryFirst") && C4::Context->userenv ) ? C4::Context->userenv->{'branch'} : '', |
550 |
mylibraryfirst => ( C4::Context->preference("SearchMyLibraryFirst") && C4::Context->userenv ) ? C4::Context->userenv->{'branch'} : '', |
548 |
opaclayoutstylesheet => "" . C4::Context->preference("opaclayoutstylesheet"), |
551 |
opaclayoutstylesheet => "" . C4::Context->preference("opaclayoutstylesheet"), |