|
Lines 501-508
sub get_template_and_user {
Link Here
|
| 501 |
EnableBorrowerFiles => C4::Context->preference('EnableBorrowerFiles'), |
501 |
EnableBorrowerFiles => C4::Context->preference('EnableBorrowerFiles'), |
| 502 |
UseKohaPlugins => C4::Context->preference('UseKohaPlugins'), |
502 |
UseKohaPlugins => C4::Context->preference('UseKohaPlugins'), |
| 503 |
UseCourseReserves => C4::Context->preference("UseCourseReserves"), |
503 |
UseCourseReserves => C4::Context->preference("UseCourseReserves"), |
| 504 |
useDischarge => C4::Context->preference('useDischarge'), |
504 |
useDischarge => C4::Context->preference('useDischarge') |
| 505 |
KOHA_VERSION => C4::Context->preference('Version'), |
|
|
| 506 |
); |
505 |
); |
| 507 |
} |
506 |
} |
| 508 |
else { |
507 |
else { |
|
Lines 576-582
sub get_template_and_user {
Link Here
|
| 576 |
OpacTopissue => C4::Context->preference("OpacTopissue"), |
575 |
OpacTopissue => C4::Context->preference("OpacTopissue"), |
| 577 |
RequestOnOpac => C4::Context->preference("RequestOnOpac"), |
576 |
RequestOnOpac => C4::Context->preference("RequestOnOpac"), |
| 578 |
'Version' => C4::Context->preference('Version'), |
577 |
'Version' => C4::Context->preference('Version'), |
| 579 |
KOHA_VERSION => C4::Context->preference('Version'), |
|
|
| 580 |
hidelostitems => C4::Context->preference("hidelostitems"), |
578 |
hidelostitems => C4::Context->preference("hidelostitems"), |
| 581 |
mylibraryfirst => ( C4::Context->preference("SearchMyLibraryFirst") && C4::Context->userenv ) ? C4::Context->userenv->{'branch'} : '', |
579 |
mylibraryfirst => ( C4::Context->preference("SearchMyLibraryFirst") && C4::Context->userenv ) ? C4::Context->userenv->{'branch'} : '', |
| 582 |
opaclayoutstylesheet => "" . C4::Context->preference("opaclayoutstylesheet"), |
580 |
opaclayoutstylesheet => "" . C4::Context->preference("opaclayoutstylesheet"), |
|
Lines 1292-1299
sub checkauth {
Link Here
|
| 1292 |
PatronSelfRegistration => C4::Context->preference("PatronSelfRegistration"), |
1290 |
PatronSelfRegistration => C4::Context->preference("PatronSelfRegistration"), |
| 1293 |
PatronSelfRegistrationDefaultCategory => C4::Context->preference("PatronSelfRegistrationDefaultCategory"), |
1291 |
PatronSelfRegistrationDefaultCategory => C4::Context->preference("PatronSelfRegistrationDefaultCategory"), |
| 1294 |
opac_css_override => $ENV{'OPAC_CSS_OVERRIDE'}, |
1292 |
opac_css_override => $ENV{'OPAC_CSS_OVERRIDE'}, |
| 1295 |
too_many_login_attempts => ( $patron and $patron->account_locked ), |
1293 |
too_many_login_attempts => ( $patron and $patron->account_locked ) |
| 1296 |
KOHA_VERSION => C4::Context->preference('Version'), |
|
|
| 1297 |
); |
1294 |
); |
| 1298 |
|
1295 |
|
| 1299 |
$template->param( SCO_login => 1 ) if ( $query->param('sco_user_login') ); |
1296 |
$template->param( SCO_login => 1 ) if ( $query->param('sco_user_login') ); |