Lines 150-155
sub get_template_and_user {
Link Here
|
150 |
# user info |
150 |
# user info |
151 |
$template->param( loggedinusername => $user ); |
151 |
$template->param( loggedinusername => $user ); |
152 |
$template->param( sessionID => $sessionID ); |
152 |
$template->param( sessionID => $sessionID ); |
|
|
153 |
$template->param( OpacNotPublic => C4::Context->preference("OpacNotPublic") ) |
154 |
unless ( $template->param( 'loggedinusername' ) ); |
153 |
|
155 |
|
154 |
my ($total, $pubshelves, $barshelves) = C4::Context->get_shelves_userenv(); |
156 |
my ($total, $pubshelves, $barshelves) = C4::Context->get_shelves_userenv(); |
155 |
if (defined($pubshelves)) { |
157 |
if (defined($pubshelves)) { |
Lines 917-922
sub checkauth {
Link Here
|
917 |
virtualshelves => C4::Context->preference("virtualshelves"), |
919 |
virtualshelves => C4::Context->preference("virtualshelves"), |
918 |
LibraryName => C4::Context->preference("LibraryName"), |
920 |
LibraryName => C4::Context->preference("LibraryName"), |
919 |
opacuserlogin => C4::Context->preference("opacuserlogin"), |
921 |
opacuserlogin => C4::Context->preference("opacuserlogin"), |
|
|
922 |
OpacNotPublic => C4::Context->preference("OpacNotPublic"), |
920 |
OpacNav => C4::Context->preference("OpacNav"), |
923 |
OpacNav => C4::Context->preference("OpacNav"), |
921 |
opaccredits => C4::Context->preference("opaccredits"), |
924 |
opaccredits => C4::Context->preference("opaccredits"), |
922 |
opacreadinghistory => C4::Context->preference("opacreadinghistory"), |
925 |
opacreadinghistory => C4::Context->preference("opacreadinghistory"), |