X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;ds=inline;f=admin%2Fprinters.pl;h=9e0163bc7796eb77e7e93fc87535a953592ed8fe;hb=84e8cafca5e07ad4c2a7cf7129615d20cd9f5ab8;hp=c7e7492edabcb044076d83f4011675280a7e8047;hpb=98a207ef955effae8d6b26a1c74bddd9a3c9a801;p=koha.git diff --git a/admin/printers.pl b/admin/printers.pl index c7e7492eda..9e0163bc77 100755 --- a/admin/printers.pl +++ b/admin/printers.pl @@ -24,22 +24,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 CGI qw ( -utf8 ); use C4::Context; use C4::Output; use C4::Auth; @@ -67,14 +67,16 @@ my $pagesize=20; my $op = $input->param('op'); $searchfield=~ s/\,//g; -my ($template, $loggedinuser, $cookie) = get_template_and_user({ - template_name => "admin/printers.tmpl", - query => $input, - type => "intranet", - authnotrequired => 0, - flagsrequired => {parameters => 'parameters_remaining_permissions'}, - debug => 1, -}); +my ($template, $loggedinuser, $cookie) = get_template_and_user( + { + template_name => "admin/printers.tt", + query => $input, + type => "intranet", + authnotrequired => 0, + flagsrequired => {parameters => 'parameters_remaining_permissions'}, + debug => 1, + } +); $template->param(searchfield => $searchfield, script_name => $script_name);