HTML::Template => HTML::Template::Pro
[koha.git] / labels / label-create-template.pl
index bd9a5c2..183ae66 100755 (executable)
@@ -6,11 +6,11 @@ use C4::Auth;
 use C4::Context;
 use C4::Output;
 use C4::Labels;
-use HTML::Template;
+use HTML::Template::Pro;
 use POSIX;
 
 #use Data::Dumper;
-use Smart::Comments;
+#use Smart::Comments;
 
 my $dbh   = C4::Context->dbh;
 my $query = new CGI;
@@ -61,10 +61,6 @@ if ( $op eq 'blank' ) {
 
     $template->param(
         units                   => \@units,
-        intranetcolorstylesheet =>
-          C4::Context->preference("intranetcolorstylesheet"),
-        intranetstylesheet => C4::Context->preference("intranetstylesheet"),
-        IntranetNav        => C4::Context->preference("IntranetNav"),
     );
 
 }