[vhffs-dev] [736] Fixes template paths

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


Revision: 736
Author:   gradator
Date:     2007-07-30 21:56:24 +0000 (Mon, 30 Jul 2007)

Log Message:
-----------
Fixes template paths

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


Modified: trunk/vhffs-api/src/Vhffs/Panel/Main.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Main.pm	2007-07-29 15:55:30 UTC (rev 735)
+++ trunk/vhffs-api/src/Vhffs/Panel/Main.pm	2007-07-30 21:56:24 UTC (rev 736)
@@ -615,13 +615,13 @@
 
 	$maintemplate->param( CENTRE => $content );
     if(@{$panel->{errors}} > 0) {
-        my $tmplerrors = new HTML::Template( filename => $panel->{templatedir}.'/misc/errors.tmpl' );
+        my $tmplerrors = new HTML::Template( filename => $panel->{templatedir}.'/panel/misc/errors.tmpl' );
         $tmplerrors->param( ERRORS => $panel->{errors} );
         $maintemplate->param( ERRORS => $tmplerrors->output );
     }
 
     if(@{$panel->{infos}} > 0) {
-        my $tmplinfos = new HTML::Template( filename => $panel->{templatedir}.'/misc/infos.tmpl' );
+        my $tmplinfos = new HTML::Template( filename => $panel->{templatedir}.'/panel/misc/infos.tmpl' );
         $tmplinfos->param( INFOS => $panel->{infos} );
         $maintemplate->param( INFOS => $tmplinfos->output );
     }
@@ -694,7 +694,7 @@
 	my $theme = get_theme( $panel->{'vhffs'} );
 	$template->param( THEME => $theme );
     if(@{$panel->{errors}} > 0) {
-        my $tmplerrors = new HTML::Template( filename => $panel->{templatedir}."/misc/errors.tmpl" );
+        my $tmplerrors = new HTML::Template( filename => $panel->{templatedir}."/panel/misc/errors.tmpl" );
         $tmplerrors->param( ERRORS => $panel->{errors} );
         $template->param( ERRORS => $tmplerrors->output );
     }


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