X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=reports%2Fstats.screen.pl;h=9ce4fe89170bff3974a904a762e6c213d8bb64f8;hb=6cd592ba3b18236a3c0f82873d4444c1f884f37c;hp=47c4b4d3b6740045d497930703d48af3b39f45ff;hpb=108e901043f0766f8c103f3826b5af1cdb6daaa4;p=koha.git diff --git a/reports/stats.screen.pl b/reports/stats.screen.pl index 47c4b4d3b6..9ce4fe8917 100755 --- a/reports/stats.screen.pl +++ b/reports/stats.screen.pl @@ -4,23 +4,23 @@ # # This file is part of Koha. # -# Koha is free software; you can redistribute it and/or modify it under the -# terms of the GNU General Public License as published by the Free Software -# Foundation; either version 2 of the License, or (at your option) any later -# version. +# Koha is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. # -# Koha is distributed in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# Koha is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License along -# with Koha; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# You should have received a copy of the GNU General Public License +# along with Koha; if not, see . use strict; #use warnings; FIXME - Bug 2505 -use CGI; +use CGI qw ( -utf8 ); use C4::Output; use C4::Auth; use C4::Context; @@ -36,12 +36,10 @@ my $op = $input->param('submit'); my ( $template, $loggedinuser, $cookie ) = get_template_and_user( { - template_name => "reports/stats_screen.tmpl", + template_name => "reports/stats_screen.tt", query => $input, type => "intranet", - authnotrequired => 1, flagsrequired => { reports => '*' }, - debug => 1, } ); @@ -261,7 +259,6 @@ else { totalwritten => $totalwritten, totalrefund => $totalrefunds, totalcash => $totalcash, - DHTMLcalendar_dateformat => C4::Dates->DHTMLcalendar(), ); output_html_with_http_headers $input, $cookie, $template->output; }