7 use C4::Auth; # get_template_and_user
8 use C4::Interface::CGI::Output;
12 my ($template, $borrowernumber, $cookie)
13 = get_template_and_user({template_name => "opac-main.tmpl",
17 flagsrequired => {borrow => 1},
20 output_html_with_http_headers $query, $cookie, $template->output;