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

(-)a/C4/Auth.pm (-1 / +8 lines)
Lines 1030-1035 sub checkauth { Link Here
1030
    $template->param( OpacPublic => C4::Context->preference("OpacPublic"));
1030
    $template->param( OpacPublic => C4::Context->preference("OpacPublic"));
1031
    $template->param( loginprompt => 1 ) unless $info{'nopermission'};
1031
    $template->param( loginprompt => 1 ) unless $info{'nopermission'};
1032
1032
1033
    if($type eq 'opac'){
1034
        my ($total, $pubshelves) = C4::VirtualShelves::GetSomeShelfNames(undef, 'MASTHEAD');
1035
        $template->param(
1036
            pubshelves     => $total->{pubtotal},
1037
            pubshelvesloop => $pubshelves,
1038
        );
1039
    }
1040
1033
    if ($cas) {
1041
    if ($cas) {
1034
1042
1035
    # Is authentication against multiple CAS servers enabled?
1043
    # Is authentication against multiple CAS servers enabled?
1036
- 

Return to bug 10553