Bug 31420: Managing funds: Labels of statistic fields overlap with pull downs
[koha-ffzg.git] / clubs / templates-add-modify.pl
index da4ef21..f32a6d1 100755 (executable)
@@ -21,10 +21,10 @@ use Modern::Perl;
 
 use CGI;
 
-use C4::Auth;
-use C4::Output;
+use C4::Auth qw( get_template_and_user );
+use C4::Output qw( output_html_with_http_headers );
 
-use Koha::DateUtils qw(dt_from_string);
+use Koha::DateUtils qw( dt_from_string );
 use Koha::Club::Templates;
 use Koha::Club::Template::Fields;
 use Koha::Club::Template::EnrollmentFields;
@@ -32,7 +32,7 @@ use Koha::Club::Template::EnrollmentFields;
 use Koha::Database;
 my $schema = Koha::Database->new()->schema();
 
-my $cgi = new CGI;
+my $cgi = CGI->new;
 
 my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
     {