| Lines 442-452
          sub get_template_and_user {
      
      
        Link Here | 
        
          | 442 |  | 442 |  | 
        
          | 443 |     # Sysprefs disabled via URL param | 443 |     # Sysprefs disabled via URL param | 
        
          | 444 |     # Note that value must be defined in order to override via ENV | 444 |     # Note that value must be defined in order to override via ENV | 
          
            
              | 445 |     foreach my $syspref ( qw( OPACUserCSS OPACUserJS IntranetUserCSS IntranetUserJS ) ) { | 445 |     foreach my $syspref ( | 
            
              | 446 |         $ENV{"OVERRIDE_SYSPREF_$syspref"} = q{ } if $in->{'query'}->param("DISABLE_SYSPREF_$syspref"); | 446 |         qw( | 
            
              | 447 |     } | 447 |             OPACUserCSS | 
            
              | 448 |     foreach my $syspref ( qw( OpacAdditionalStylesheet opaclayoutstylesheet intranetcolorstylesheet intranetstylesheet ) ) { | 448 |             OPACUserJS | 
            
              | 449 |         $ENV{"OVERRIDE_SYSPREF_$syspref"} = 0 if $in->{'query'}->param("DISABLE_SYSPREF_$syspref"); | 449 |             IntranetUserCSS | 
            
              |  |  | 450 |             IntranetUserJS | 
            
              | 451 |             OpacAdditionalStylesheet | 
            
              | 452 |             opaclayoutstylesheet | 
            
              | 453 |             intranetcolorstylesheet | 
            
              | 454 |             intranetstylesheet | 
            
              | 455 |         ) | 
            
              | 456 |       ) | 
            
              | 457 |     { | 
            
              | 458 |         $ENV{"OVERRIDE_SYSPREF_$syspref"} = q{} | 
            
              | 459 |           if $in->{'query'}->param("DISABLE_SYSPREF_$syspref"); | 
        
          | 450 |     } | 460 |     } | 
        
          | 451 |  | 461 |  | 
        
          | 452 |     # Anonymous opac search history | 462 |     # Anonymous opac search history | 
            
              | 453 | -  |  |  |