Bug 11944: use CGI( -utf8 ) everywhere
[koha.git] / test / progressbar.pl
index 142184b..bdd8b4d 100755 (executable)
@@ -3,11 +3,11 @@
 # Script for testing progressbar, part 1 - initial screem
 # it is split into two scripts so we can use firebug to debug it
 
-# Koha library project  www.koha.org
+# Koha library project  www.koha-community.org
 
 # Licensed under the GPL
 
-# Copyright 2000-2002 Katipo Communications
+# Copyright 2010 Catalyst IT, Ltd
 #
 # This file is part of Koha.
 #
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 use strict;
-#use warnings; FIXME - Bug 2505
+use warnings;
 
 # standard or CPAN modules used
-use CGI;
+use CGI qw ( -utf8 );
 use CGI::Cookie;
 
 # Koha modules used
@@ -42,7 +42,7 @@ my $dbh = C4::Context->dbh;
 $dbh->{AutoCommit} = 0;
 
 my ($template, $loggedinuser, $cookie)
-       = get_template_and_user({template_name => "test/progressbar.tmpl",
+    = get_template_and_user({template_name => "test/progressbar.tt",
                                        query => $input,
                                        type => "intranet",
                                        debug => 1,