Bug 11944: use CGI( -utf8 ) everywhere
[srvgit] / opac / sco / help.pl
index b3f4398..e94f00b 100755 (executable)
 
 use strict;
 use warnings;
-use CGI;
+use CGI qw ( -utf8 );
 
 use C4::Auth   qw(get_template_and_user);
 use C4::Output qw(output_html_with_http_headers);
 
 my $query = new CGI;
 my ($template, $borrowernumber, $cookie) = get_template_and_user({
-    template_name => "sco/help.tmpl",
+    template_name => "sco/help.tt",
     query => $query,
      type => "opac",
     debug => 1,
@@ -52,5 +52,10 @@ if (C4::Context->preference('SelfCheckHelpMessage')) {
     $template->param(SelfCheckHelpMessage => C4::Context->preference('SelfCheckHelpMessage'));
 }
 
+$template->param(
+    SCOUserJS  => C4::Context->preference('SCOUserJS'),
+    SCOUserCSS => C4::Context->preference('SCOUserCSS'),
+);
+
 output_html_with_http_headers $query, $cookie, $template->output;