X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=reports%2Freports-home.pl;h=6bcc996466f04b19906e330153ab7d37b5daccf6;hb=4ec5a67c6f989635b14f048c3720bea7a8d86d38;hp=d536b01c1e8203742384e8e451b49f4216f09690;hpb=068e5be6395088793aeab66d67c36c2b9da2c5d9;p=srvgit diff --git a/reports/reports-home.pl b/reports/reports-home.pl index d536b01c1e..6bcc996466 100755 --- a/reports/reports-home.pl +++ b/reports/reports-home.pl @@ -4,23 +4,22 @@ # # 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 Modern::Perl; +use CGI qw ( -utf8 ); use C4::Auth; use C4::Output; use C4::Context; @@ -28,7 +27,7 @@ use C4::Context; my $query = new CGI; my ($template, $loggedinuser, $cookie) -= get_template_and_user({template_name => "reports/reports-home.tmpl", += get_template_and_user({template_name => "reports/reports-home.tt", query => $query, type => "intranet", authnotrequired => 0,