use strict;
require Exporter;
use CGI;
-
use C4::Auth; # get_template_and_user
+use HTML::Template;
+use C4::Interface::CGI::Output;
my $query = new CGI;
flagsrequired => {borrow => 1},
});
-print $query->header(-cookie => $cookie), $template->output;
+output_html_with_http_headers $query, $cookie, $template->output;