3 # This code (originally from circulation.pl) has been modified by:
12 use C4::Auth qw(get_template_and_user);
13 use C4::Output qw(output_html_with_http_headers);
16 my ($template, $borrowernumber, $cookie) = get_template_and_user({
17 template_name => "sco/help.tmpl",
22 flagsrequired => {circulate => "circulate_remaining_permissions"},
25 if (C4::Context->preference('SelfCheckoutByLogin')) {
26 $template->param(SelfCheckoutByLogin => 1);
28 my $selfchecktimeout = 120;
29 if (C4::Context->preference('SelfCheckTimeout')) {
30 $selfchecktimeout = C4::Context->preference('SelfCheckTimeout');
33 $template->param(SelfCheckTimeout => $selfchecktimeout);
35 if (C4::Context->preference('SelfCheckHelpMessage')) {
36 $template->param(SelfCheckHelpMessage => C4::Context->preference('SelfCheckHelpMessage'));
39 output_html_with_http_headers $query, $cookie, $template->output;