Lines 454-459
sub get_template_and_user {
Link Here
|
454 |
SyndeticsSeries => C4::Context->preference("SyndeticsSeries"), |
454 |
SyndeticsSeries => C4::Context->preference("SyndeticsSeries"), |
455 |
SyndeticsCoverImageSize => C4::Context->preference("SyndeticsCoverImageSize"), |
455 |
SyndeticsCoverImageSize => C4::Context->preference("SyndeticsCoverImageSize"), |
456 |
); |
456 |
); |
|
|
457 |
|
458 |
$template->param(OpacPublic => '1') |
459 |
if ($template->param( 'loggedinusername') || C4::Context->preference("OpacPublic")); |
457 |
} |
460 |
} |
458 |
$template->param(listloop=>[{shelfname=>"Freelist", shelfnumber=>110}]); |
461 |
$template->param(listloop=>[{shelfname=>"Freelist", shelfnumber=>110}]); |
459 |
return ( $template, $borrowernumber, $cookie, $flags); |
462 |
return ( $template, $borrowernumber, $cookie, $flags); |
Lines 942-947
sub checkauth {
Link Here
|
942 |
AutoLocation => C4::Context->preference("AutoLocation"), |
945 |
AutoLocation => C4::Context->preference("AutoLocation"), |
943 |
wrongip => $info{'wrongip'} |
946 |
wrongip => $info{'wrongip'} |
944 |
); |
947 |
); |
|
|
948 |
$template->param( OpacPublic => C4::Context->preference("OpacPublic")); |
945 |
$template->param( loginprompt => 1 ) unless $info{'nopermission'}; |
949 |
$template->param( loginprompt => 1 ) unless $info{'nopermission'}; |
946 |
|
950 |
|
947 |
if ($cas) { |
951 |
if ($cas) { |