koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/C4 Output.pm [rel_3_0]


From: Henri-Damien LAURENT
Subject: [Koha-cvs] koha/C4 Output.pm [rel_3_0]
Date: Tue, 05 Sep 2006 21:33:14 +0000

CVSROOT:        /cvsroot/koha
Module name:    koha
Branch:         rel_3_0
Changes by:     Henri-Damien LAURENT <hdl>      06/09/05 21:33:14

Modified files:
        C4             : Output.pm 

Log message:
        Using HTML::Template::Pro to fix UTF8 issues.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Output.pm?cvsroot=koha&only_with_tag=rel_3_0&r1=1.56&r2=1.56.2.1

Patches:
Index: Output.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Output.pm,v
retrieving revision 1.56
retrieving revision 1.56.2.1
diff -u -b -r1.56 -r1.56.2.1
--- Output.pm   11 Aug 2006 10:03:13 -0000      1.56
+++ Output.pm   5 Sep 2006 21:33:14 -0000       1.56.2.1
@@ -1,6 +1,6 @@
 package C4::Output;
 
-# $Id: Output.pm,v 1.56 2006/08/11 10:03:13 tipaul Exp $
+# $Id: Output.pm,v 1.56.2.1 2006/09/05 21:33:14 hdl Exp $
 
 #package to deal with marking up output
 #You will need to edit parts of this pm
@@ -32,7 +32,7 @@
 
 use C4::Context;
 use C4::Database;
-use HTML::Template;
+use HTML::Template::Pro;
 
 use vars qw($VERSION @ISA @EXPORT);
 
@@ -75,9 +75,10 @@
     warn "PATH : $path";
        my ($theme, $lang) = themelanguage($htdocs, $tmplbase, $opac, $query);
        my $opacstylesheet = C4::Context->preference('opacstylesheet');
-       my $template = HTML::Template->new(filename      => 
"$htdocs/$theme/$lang/$tmplbase",
+       my $template = HTML::Template::Pro->new(filename      => 
"$htdocs/$theme/$lang/$tmplbase",
                                   die_on_bad_params => 0,
                                   global_vars       => 1,
+                   case_sensitive    => 1,
                                   path              => 
["$htdocs/$theme/$lang/$path"]);
 
        $template->param(themelang => ($opac ne 'intranet'? '/opac-tmpl': 
'/intranet-tmpl') . "/$theme/$lang",




reply via email to

[Prev in Thread] Current Thread [Next in Thread]