View | Details | Raw Unified | Return to bug 8952
Collapse All | Expand All

(-)a/C4/Auth.pm (-2 / +2 lines)
Lines 306-311 sub get_template_and_user { Link Here
306
    }
306
    }
307
307
308
    # these template parameters are set the same regardless of $in->{'type'}
308
    # these template parameters are set the same regardless of $in->{'type'}
309
    my $https = $in->{query}->https();
309
    $template->param(
310
    $template->param(
310
            "BiblioDefaultView".C4::Context->preference("BiblioDefaultView")         => 1,
311
            "BiblioDefaultView".C4::Context->preference("BiblioDefaultView")         => 1,
311
            EnhancedMessagingPreferences => C4::Context->preference('EnhancedMessagingPreferences'),
312
            EnhancedMessagingPreferences => C4::Context->preference('EnhancedMessagingPreferences'),
Lines 324-330 sub get_template_and_user { Link Here
324
            singleBranchMode             => C4::Context->preference("singleBranchMode"),
325
            singleBranchMode             => C4::Context->preference("singleBranchMode"),
325
            XSLTDetailsDisplay           => C4::Context->preference("XSLTDetailsDisplay"),
326
            XSLTDetailsDisplay           => C4::Context->preference("XSLTDetailsDisplay"),
326
            XSLTResultsDisplay           => C4::Context->preference("XSLTResultsDisplay"),
327
            XSLTResultsDisplay           => C4::Context->preference("XSLTResultsDisplay"),
327
            using_https                  => $in->{'query'}->https() ? 1 : 0,
328
            using_https                  => (defined $https and $https ne 'OFF') ? 1 : 0,
328
            noItemTypeImages             => C4::Context->preference("noItemTypeImages"),
329
            noItemTypeImages             => C4::Context->preference("noItemTypeImages"),
329
            marcflavour                  => C4::Context->preference("marcflavour"),
330
            marcflavour                  => C4::Context->preference("marcflavour"),
330
            persona                      => C4::Context->preference("persona"),
331
            persona                      => C4::Context->preference("persona"),
331
- 

Return to bug 8952