[vhffs-dev] [570] Ignore i18n makefiles, fixed a typo which caused error when template dir wasn't ending by /

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 570
Author:   beuss
Date:     2007-04-17 20:32:37 +0000 (Tue, 17 Apr 2007)

Log Message:
-----------
Ignore i18n makefiles, fixed a typo which caused error when template dir wasn't ending by /

Modified Paths:
--------------
    trunk/vhffs-api/src/Vhffs/Panel/Main.pm

Property Changed:
----------------
    trunk/vhffs-intl/


Modified: trunk/vhffs-api/src/Vhffs/Panel/Main.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Main.pm	2007-04-16 21:59:04 UTC (rev 569)
+++ trunk/vhffs-api/src/Vhffs/Panel/Main.pm	2007-04-17 20:32:37 UTC (rev 570)
@@ -654,7 +654,7 @@
     }
 
     if(@{$panel->{infos}} > 0) {
-        my $tmplinfos = new HTML::Template( filename => $panel->{templatedir}.'misc/infos.tmpl' );
+        my $tmplinfos = new HTML::Template( filename => $panel->{templatedir}.'/misc/infos.tmpl' );
         $tmplinfos->param( INFOS => $panel->{infos} );
         $maintemplate->param( INFOS => $tmplinfos->output );
     }


Property changes on: trunk/vhffs-intl
___________________________________________________________________
Name: svn:ignore
   + Makefile.in
Makefile



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/