Koha/opac/sco/help.pl
John Beppu c15e1206fd bug 2874 [3/3] flagsrequired => { circulate => "circulate_remaining_permissions" }
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2008-12-23 17:02:04 -06:00

28 lines
763 B
Perl
Executable file

#!/usr/bin/perl
# This code has been modified by Trendsetters (originally from circulation.pl)
use strict;
use CGI;
use C4::Auth;
use C4::Output;
use HTML::Template::Pro;
# begin code modifed by dan
my $query = new CGI;
my ($template, $borrowernumber, $cookie)
#Begin code modified by Christina Lee
# function comes from C4::Auth
= get_template_and_user({template_name => "sco/help.tmpl",
#End code modified by Christina Lee
query => $query,
type => "opac",
authnotrequired => 1,
flagsrequired => {circulate => "circulate_remaining_permissions"},
debug => 1,
});
# end code modified by dan
# function comes from C4::Interface::CGI::Output
output_html_with_http_headers $query, $cookie, $template->output;