52ad82bc9a
use C4::Interface::CGI::Output; at beginning
19 lines
480 B
Perl
19 lines
480 B
Perl
#!/usr/bin/perl
|
|
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;
|
|
|
|
my ($template, $borrowernumber, $cookie)
|
|
= get_template_and_user({template_name => "opac-membership.tmpl",
|
|
query => $query,
|
|
type => "opac",
|
|
authnotrequired => 1,
|
|
flagsrequired => {borrow => 1},
|
|
});
|
|
|
|
output_html_with_http_headers $query, $cookie, $template->output;
|