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 |
|