koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha/C4 Output.pm,1.6.2.18,1.6.2.19


From: Finlay Thompson
Subject: [Koha-cvs] CVS: koha/C4 Output.pm,1.6.2.18,1.6.2.19
Date: Sun, 15 Sep 2002 22:58:28 -0700

Update of /cvsroot/koha/koha/C4
In directory usw-pr-cvs1:/tmp/cvs-serv14861/C4

Modified Files:
      Tag: rel-1-2
        Output.pm 
Log Message:

Added the "global_vars" option to the gettemplate sub.


Index: Output.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Output.pm,v
retrieving revision 1.6.2.18
retrieving revision 1.6.2.19
diff -C2 -r1.6.2.18 -r1.6.2.19
*** Output.pm   12 Sep 2002 04:22:35 -0000      1.6.2.18
--- Output.pm   16 Sep 2002 05:58:26 -0000      1.6.2.19
***************
*** 93,98 ****
      my ($theme, $lang) = themelanguage($htdocs, $tmplbase);
  
!     my $template = HTML::Template->new(filename          => 
"$htdocs/$theme/$lang/$tmplbase", 
!                                  die_on_bad_params => 0, 
                                   path              => 
["$htdocs/$theme/$lang/includes"]);
  
--- 93,99 ----
      my ($theme, $lang) = themelanguage($htdocs, $tmplbase);
  
!     my $template = HTML::Template->new(filename      => 
"$htdocs/$theme/$lang/$tmplbase", 
!                                  die_on_bad_params => 0,
!                                  global_vars       => 1,
                                   path              => 
["$htdocs/$theme/$lang/includes"]);
  
***************
*** 136,140 ****
    $sth->finish;
    my @languages = split " ", $lang;
-   warn "Lang = @languages\n";
  
  # theme preferences....
--- 137,140 ----
***************
*** 144,148 ****
    $sth->finish;
    my @themes = split " ", $theme;
-   warn "Theme = @themes \n";
  
    $dbh->disconnect;
--- 144,147 ----




reply via email to

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