Lines 823-829
sub checkauth {
Link Here
|
823 |
my $template_name = shift; |
823 |
my $template_name = shift; |
824 |
$type = 'opac' unless $type; |
824 |
$type = 'opac' unless $type; |
825 |
|
825 |
|
826 |
unless ( C4::Context->preference("OpacPublic") ) { |
826 |
if ( $type eq 'opac' && !C4::Context->preference("OpacPublic") ) { |
827 |
my @allowed_scripts_for_private_opac = qw( |
827 |
my @allowed_scripts_for_private_opac = qw( |
828 |
opac-memberentry.tt |
828 |
opac-memberentry.tt |
829 |
opac-registration-email-sent.tt |
829 |
opac-registration-email-sent.tt |
830 |
- |
|
|