|
Lines 440-445
sub get_template_and_user {
Link Here
|
| 440 |
} |
440 |
} |
| 441 |
} |
441 |
} |
| 442 |
|
442 |
|
|
|
443 |
# Sysprefs disabled via URL param |
| 444 |
# Note that value must be defined in order to override via ENV |
| 445 |
foreach my $syspref ( qw( OPACUserCSS OPACUserJS IntranetUserCSS IntranetUserJS ) ) { |
| 446 |
$ENV{"OVERRIDE_SYSPREF_$syspref"} = q{ } if $in->{'query'}->param("DISABLE_SYSPREF_$syspref"); |
| 447 |
} |
| 448 |
foreach my $syspref ( qw( intranetcolorstylesheet intranetstylesheet ) ) { |
| 449 |
$ENV{"OVERRIDE_SYSPREF_$syspref"} = 0 if $in->{'query'}->param("DISABLE_SYSPREF_$syspref"); |
| 450 |
} |
| 451 |
|
| 443 |
# Anonymous opac search history |
452 |
# Anonymous opac search history |
| 444 |
# If opac search history is enabled and at least one search has already been performed |
453 |
# If opac search history is enabled and at least one search has already been performed |
| 445 |
if ( C4::Context->preference('EnableOpacSearchHistory') ) { |
454 |
if ( C4::Context->preference('EnableOpacSearchHistory') ) { |
| 446 |
- |
|
|