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

(-)a/opac/opac-cmspages.pl (-2 / +1 lines)
Lines 18-24 Link Here
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
19
20
use Modern::Perl;
20
use Modern::Perl;
21
use CGI;
21
use CGI qw( -utf8 );
22
use C4::Auth;
22
use C4::Auth;
23
use C4::Output;
23
use C4::Output;
24
use C4::Languages qw( getTranslatedLanguages accept_language );
24
use C4::Languages qw( getTranslatedLanguages accept_language );
Lines 36-42 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
36
        type            => "opac",
36
        type            => "opac",
37
        query           => $input,
37
        query           => $input,
38
        authnotrequired => ( C4::Context->preference( "OpacPublic" ) ? 1 : 0 ),
38
        authnotrequired => ( C4::Context->preference( "OpacPublic" ) ? 1 : 0 ),
39
        flagsrequired   => { borrow => 1 },
40
    }
39
    }
41
);
40
);
42
41
(-)a/opac/opac-main.pl (-2 / +1 lines)
Lines 120-126 $template->param( Link Here
120
    parent_list => $parent_list,
120
    parent_list => $parent_list,
121
    );
121
    );
122
122
123
123
# If GoogleIndicTransliteration system preference is On Set parameter to load Google's javascript in OPAC search screens
124
124
125
if (C4::Context->preference('GoogleIndicTransliteration')) {
125
if (C4::Context->preference('GoogleIndicTransliteration')) {
126
        $template->param('GoogleIndicTransliteration' => 1);
126
        $template->param('GoogleIndicTransliteration' => 1);
127
- 

Return to bug 15326