Lines 458-463
sub get_template_and_user {
Link Here
|
458 |
SyndeticsCoverImageSize => C4::Context->preference("SyndeticsCoverImageSize"), |
458 |
SyndeticsCoverImageSize => C4::Context->preference("SyndeticsCoverImageSize"), |
459 |
OPACLocalCoverImages => C4::Context->preference("OPACLocalCoverImages"), |
459 |
OPACLocalCoverImages => C4::Context->preference("OPACLocalCoverImages"), |
460 |
PatronSelfRegistration => C4::Context->preference("PatronSelfRegistration"), |
460 |
PatronSelfRegistration => C4::Context->preference("PatronSelfRegistration"), |
|
|
461 |
PatronSelfRegistrationDefaultCategory => C4::Context->preference("PatronSelfRegistrationDefaultCategory"), |
461 |
); |
462 |
); |
462 |
|
463 |
|
463 |
$template->param(OpacPublic => '1') if ($user || C4::Context->preference("OpacPublic")); |
464 |
$template->param(OpacPublic => '1') if ($user || C4::Context->preference("OpacPublic")); |
Lines 969-974
sub checkauth {
Link Here
|
969 |
AutoLocation => C4::Context->preference("AutoLocation"), |
970 |
AutoLocation => C4::Context->preference("AutoLocation"), |
970 |
wrongip => $info{'wrongip'}, |
971 |
wrongip => $info{'wrongip'}, |
971 |
PatronSelfRegistration => C4::Context->preference("PatronSelfRegistration"), |
972 |
PatronSelfRegistration => C4::Context->preference("PatronSelfRegistration"), |
|
|
973 |
PatronSelfRegistrationDefaultCategory => C4::Context->preference("PatronSelfRegistrationDefaultCategory"), |
972 |
); |
974 |
); |
973 |
|
975 |
|
974 |
$template->param( OpacPublic => C4::Context->preference("OpacPublic")); |
976 |
$template->param( OpacPublic => C4::Context->preference("OpacPublic")); |