Koha/opac/opac-membership.pl
tipaul 52ad82bc9a fixes missing
use C4::Interface::CGI::Output;
at beginning
2003-03-19 15:14:42 +00:00

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;