6 use C4::Output; # contains gettemplate
7 use C4::Interface::CGI::Output;
12 my ($template, $loggedinuser, $cookie)
13 = get_template_and_user({template_name => "intranet-main.tmpl",
17 flagsrequired => {catalogue => 1, circulate => 1,
18 parameters => 1, borrowers => 1,
19 permissions =>1, reserveforothers=>1,
20 borrow => 1, reserveforself => 1,
21 editcatalogue => 1, updatecharges => 1, },
25 my $marc_p = C4::Context->boolean_preference("marc");
26 $template->param(NOTMARC => !$marc_p);
28 output_html_with_http_headers $query, $cookie, $template->output;