Lines 798-804
sub checkauth {
Link Here
|
798 |
my $template_name = shift; |
798 |
my $template_name = shift; |
799 |
$type = 'opac' unless $type; |
799 |
$type = 'opac' unless $type; |
800 |
|
800 |
|
801 |
unless ( C4::Context->preference("OpacPublic") ) { |
801 |
if ( $type eq 'opac' && !C4::Context->preference("OpacPublic") ) { |
802 |
my @allowed_scripts_for_private_opac = qw( |
802 |
my @allowed_scripts_for_private_opac = qw( |
803 |
opac-memberentry.tt |
803 |
opac-memberentry.tt |
804 |
opac-registration-email-sent.tt |
804 |
opac-registration-email-sent.tt |
805 |
- |
|
|