projects
/
koha.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
merged in changes from the rel-1-2 branch into the main branch. Some of the default...
[koha.git]
/
opac
/
opac-main.pl
1
#!/usr/bin/perl
2
use strict;
3
require Exporter;
4
use CGI;
5
use HTML::Template;
6
7
use C4::Auth; # get_template_and_user
8
9
my $query = new CGI;
10
11
my ($template, $borrowernumber, $cookie)
12
= get_template_and_user({template_name => "opac-main.tmpl",
13
query => $query,
14
type => "opac",
15
authnotrequired => 1,
16
flagsrequired => {borrow => 1},
17
});
18
19
print $query->header(-cookie => $cookie), $template->output;