From a502aa1c76029927d1c3403b2430c86d75acf7c0 Mon Sep 17 00:00:00 2001 From: Paul POULAIN Date: Thu, 29 Nov 2007 14:22:57 -0600 Subject: [PATCH] HTML::Template => HTML::Template::Pro HTML::Template is no more used, some were remaining, fixing the "use ...;" to H::T::Pro only Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- catalogue/export.pl | 2 +- help.pl | 2 +- installer/install.pl | 4 ++-- labels/label-create-layout.pl | 2 +- labels/label-create-template.pl | 2 +- labels/label-edit-layout.pl | 2 +- labels/label-edit-template.pl | 2 +- labels/label-home.pl | 2 +- labels/label-item-search.pl | 2 +- labels/label-manager.pl | 2 +- labels/label-print-pdf.pl | 2 +- labels/label-save-template.pl | 2 +- labels/label-select-pdf.pl | 2 +- labels/label-templates.pl | 2 +- opac/opac-export.pl | 2 +- opac/opac-logout.pl | 2 +- opac/sco/abort.pl | 2 +- opac/sco/help.pl | 2 +- opac/sco/printer.pl | 2 +- opac/sco/sco-circ.pl | 2 +- opac/sco/sco-main.pl | 2 +- 21 files changed, 22 insertions(+), 22 deletions(-) diff --git a/catalogue/export.pl b/catalogue/export.pl index 11ec6d51c0..758afd3fa7 100755 --- a/catalogue/export.pl +++ b/catalogue/export.pl @@ -1,5 +1,5 @@ #!/usr/bin/perl -use HTML::Template; +use HTML::Template::Pro; use strict; require Exporter; use C4::Record; diff --git a/help.pl b/help.pl index 3d59165cd2..b2f7482663 100755 --- a/help.pl +++ b/help.pl @@ -1,5 +1,5 @@ #!/usr/bin/perl -use HTML::Template; +use HTML::Template::Pro; use strict; require Exporter; use C4::Output; # contains gettemplate diff --git a/installer/install.pl b/installer/install.pl index 8105c821bb..21ec5d800f 100755 --- a/installer/install.pl +++ b/installer/install.pl @@ -87,10 +87,10 @@ if ( $step && $step == 1 ) { unless ( eval { require DBD::mysql } ) { push @missing, { name => "DBD::mysql" }; } - unless ( eval { require HTML::Template } ) { + unless ( eval { require HTML::Template::Pro } ) { push @missing, { name => "HTML::Template::Pro" }; } - unless ( eval { require HTML::Template } ) { + unless ( eval { require Date::Calc } ) { push @missing, { name => "Date::Calc" }; } unless ( eval { require Digest::MD5 } ) { diff --git a/labels/label-create-layout.pl b/labels/label-create-layout.pl index d0a5190540..dc5f389d8b 100755 --- a/labels/label-create-layout.pl +++ b/labels/label-create-layout.pl @@ -6,7 +6,7 @@ use C4::Auth; use C4::Output; use C4::Labels; use C4::Context; -use HTML::Template; +use HTML::Template::Pro; #use Data::Dumper; #use Smart::Comments; diff --git a/labels/label-create-template.pl b/labels/label-create-template.pl index fa7262f5cf..183ae66fb6 100755 --- a/labels/label-create-template.pl +++ b/labels/label-create-template.pl @@ -6,7 +6,7 @@ use C4::Auth; use C4::Context; use C4::Output; use C4::Labels; -use HTML::Template; +use HTML::Template::Pro; use POSIX; #use Data::Dumper; diff --git a/labels/label-edit-layout.pl b/labels/label-edit-layout.pl index 31951b5c29..0ed39a8b51 100755 --- a/labels/label-edit-layout.pl +++ b/labels/label-edit-layout.pl @@ -6,7 +6,7 @@ use C4::Auth; use C4::Context; use C4::Output; use C4::Labels; -use HTML::Template; +use HTML::Template::Pro; use POSIX; #use Data::Dumper; diff --git a/labels/label-edit-template.pl b/labels/label-edit-template.pl index 2aae476fe5..1cc6804fe2 100755 --- a/labels/label-edit-template.pl +++ b/labels/label-edit-template.pl @@ -6,7 +6,7 @@ use C4::Auth; use C4::Context; use C4::Output; use C4::Labels; -use HTML::Template; +use HTML::Template::Pro; use POSIX; # use Data::Dumper; diff --git a/labels/label-home.pl b/labels/label-home.pl index e75b611f02..9c69367e0c 100755 --- a/labels/label-home.pl +++ b/labels/label-home.pl @@ -7,7 +7,7 @@ use C4::Output; use C4::Labels; use C4::Output; use C4::Context; -use HTML::Template; +use HTML::Template::Pro; # use Smart::Comments; diff --git a/labels/label-item-search.pl b/labels/label-item-search.pl index f32294c5c0..d5d555a592 100755 --- a/labels/label-item-search.pl +++ b/labels/label-item-search.pl @@ -22,7 +22,7 @@ use strict; require Exporter; use CGI; use C4::Auth; -use HTML::Template; +use HTML::Template::Pro; use C4::Context; use C4::Search; use C4::Auth; diff --git a/labels/label-manager.pl b/labels/label-manager.pl index 450135a8da..3ce7cfb662 100755 --- a/labels/label-manager.pl +++ b/labels/label-manager.pl @@ -5,7 +5,7 @@ use CGI; use C4::Auth; use C4::Labels; use C4::Output; -use HTML::Template; +use HTML::Template::Pro; use POSIX; #use Data::Dumper; diff --git a/labels/label-print-pdf.pl b/labels/label-print-pdf.pl index 26bd0d7b66..efdbed86ca 100755 --- a/labels/label-print-pdf.pl +++ b/labels/label-print-pdf.pl @@ -6,7 +6,7 @@ use C4::Labels; use C4::Auth; use C4::Output; use C4::Context; -use HTML::Template; +use HTML::Template::Pro; use PDF::Reuse; use PDF::Reuse::Barcode; use POSIX; diff --git a/labels/label-save-template.pl b/labels/label-save-template.pl index 5eeda638fe..4a5192cca6 100755 --- a/labels/label-save-template.pl +++ b/labels/label-save-template.pl @@ -6,7 +6,7 @@ use C4::Auth; use C4::Context; use C4::Output; use C4::Labels; -use HTML::Template; +use HTML::Template::Pro; use POSIX; #use Data::Dumper; diff --git a/labels/label-select-pdf.pl b/labels/label-select-pdf.pl index b796178624..e0e891fecf 100755 --- a/labels/label-select-pdf.pl +++ b/labels/label-select-pdf.pl @@ -9,7 +9,7 @@ use C4::Labels; use C4::Auth; use C4::Output; use C4::Context; -use HTML::Template; +use HTML::Template::Pro; use Data::Dumper; diff --git a/labels/label-templates.pl b/labels/label-templates.pl index 1c0e6b7e63..04570fdc9b 100755 --- a/labels/label-templates.pl +++ b/labels/label-templates.pl @@ -6,7 +6,7 @@ use C4::Auth; use C4::Context; use C4::Output; use C4::Labels; -use HTML::Template; +use HTML::Template::Pro; use POSIX; #use Data::Dumper; diff --git a/opac/opac-export.pl b/opac/opac-export.pl index 11ec6d51c0..758afd3fa7 100755 --- a/opac/opac-export.pl +++ b/opac/opac-export.pl @@ -1,5 +1,5 @@ #!/usr/bin/perl -use HTML::Template; +use HTML::Template::Pro; use strict; require Exporter; use C4::Record; diff --git a/opac/opac-logout.pl b/opac/opac-logout.pl index a64af0b88c..ab141c47ce 100755 --- a/opac/opac-logout.pl +++ b/opac/opac-logout.pl @@ -19,7 +19,7 @@ use CGI; use C4::Context; use C4::Auth qw/:DEFAULT get_session/; use C4::Output; -use HTML::Template; +use HTML::Template::Pro; use CGI::Session; my $query=new CGI; diff --git a/opac/sco/abort.pl b/opac/sco/abort.pl index 45d9788b65..caa183d415 100755 --- a/opac/sco/abort.pl +++ b/opac/sco/abort.pl @@ -22,7 +22,7 @@ use strict; use CGI; use C4::Output; use C4::Auth; -use HTML::Template; +use HTML::Template::Pro; my $query = new CGI; diff --git a/opac/sco/help.pl b/opac/sco/help.pl index 2e65045638..300c65c4ae 100755 --- a/opac/sco/help.pl +++ b/opac/sco/help.pl @@ -5,7 +5,7 @@ use CGI; use C4::Auth; use C4::Output; -use HTML::Template; +use HTML::Template::Pro; # begin code modifed by dan my $query = new CGI; diff --git a/opac/sco/printer.pl b/opac/sco/printer.pl index 4da12614cb..32c4a131a8 100755 --- a/opac/sco/printer.pl +++ b/opac/sco/printer.pl @@ -33,7 +33,7 @@ use DBI; use C4::Authsco; use C4::Output; use C4::Koha; -use HTML::Template; +use HTML::Template::Pro; use C4::Date; my $query=new CGI; diff --git a/opac/sco/sco-circ.pl b/opac/sco/sco-circ.pl index c83b5decdc..d01eb3af0e 100755 --- a/opac/sco/sco-circ.pl +++ b/opac/sco/sco-circ.pl @@ -36,7 +36,7 @@ use DBI; use C4::Auth; use C4::Output; use C4::Koha; -use HTML::Template; +use HTML::Template::Pro; use C4::Date; my $query=new CGI; diff --git a/opac/sco/sco-main.pl b/opac/sco/sco-main.pl index 9745d73af0..5d7a764d7f 100755 --- a/opac/sco/sco-main.pl +++ b/opac/sco/sco-main.pl @@ -17,7 +17,7 @@ use C4::Reserves; use C4::Search; use C4::Output; use C4::Members; -use HTML::Template; +use HTML::Template::Pro; use C4::Date; use C4::Biblio; -- 2.39.5