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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt (-2 / +2 lines)
Lines 5-11 Link Here
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% BLOCK cssinclude %][% END %]
6
[% BLOCK cssinclude %][% END %]
7
</head>
7
</head>
8
<body id="advsearch" class="scrollto">
8
<body id="advsearch" class="scrollto[% IF ( homebranch ) %] [%homebranch%] [% END %]">
9
[% INCLUDE 'masthead.inc' %]
9
[% INCLUDE 'masthead.inc' %]
10
<form action="/cgi-bin/koha/opac-search.pl" method="get">
10
<form action="/cgi-bin/koha/opac-search.pl" method="get">
11
    <div class="main">
11
    <div class="main">
Lines 392-395 Link Here
392
    });
392
    });
393
    //]]>
393
    //]]>
394
</script>
394
</script>
395
[% END %]
395
[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt (-1 / +1 lines)
Lines 4-10 Link Here
4
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %][% END %]
5
[% BLOCK cssinclude %][% END %]
6
</head>
6
</head>
7
<body id="opac-main">
7
<body id="opac-main" [% IF ( homebranch ) %] class="[%homebranch%]" [% END %]>
8
[% INCLUDE 'masthead.inc' %]
8
[% INCLUDE 'masthead.inc' %]
9
9
10
<div class="main">
10
<div class="main">
(-)a/opac/opac-main.pl (+4 lines)
Lines 39-44 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
39
    }
39
    }
40
);
40
);
41
41
42
if (C4::Context->userenv) {
43
    $template->param(homebranch => C4::Context->userenv->{'branch'},);
44
}
45
42
my $casAuthentication = C4::Context->preference('casAuthentication');
46
my $casAuthentication = C4::Context->preference('casAuthentication');
43
$template->param(
47
$template->param(
44
    casAuthentication   => $casAuthentication,
48
    casAuthentication   => $casAuthentication,
(-)a/opac/opac-search.pl (-1 / +5 lines)
Lines 120-125 else { Link Here
120
    authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),
120
    authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),
121
    }
121
    }
122
);
122
);
123
124
if (C4::Context->userenv) {
125
    $template->param(homebranch => C4::Context->userenv->{'branch'},);
126
}
127
123
if ($template_name eq 'opac-results.tmpl') {
128
if ($template_name eq 'opac-results.tmpl') {
124
   $template->param('COinSinOPACResults' => C4::Context->preference('COinSinOPACResults'));
129
   $template->param('COinSinOPACResults' => C4::Context->preference('COinSinOPACResults'));
125
}
130
}
126
- 

Return to bug 12162