[vhffs-dev] [2193] Fixed template path when a domain mail cannot be created due to access denied

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


Revision: 2193
Author:   gradator
Date:     2012-05-31 12:21:57 +0200 (Thu, 31 May 2012)
Log Message:
-----------
Fixed template path when a domain mail cannot be created due to access denied

Modified Paths:
--------------
    branches/vhffs-4.4/vhffs-api/src/Vhffs/Panel/Mail.pm
    trunk/vhffs-api/src/Vhffs/Panel/Mail.pm

Modified: branches/vhffs-4.4/vhffs-api/src/Vhffs/Panel/Mail.pm
===================================================================
--- branches/vhffs-4.4/vhffs-api/src/Vhffs/Panel/Mail.pm	2012-05-12 22:29:35 UTC (rev 2192)
+++ branches/vhffs-4.4/vhffs-api/src/Vhffs/Panel/Mail.pm	2012-05-31 10:21:57 UTC (rev 2193)
@@ -131,7 +131,7 @@
 
 	my $group = Vhffs::Group::get_by_groupname( $vhffs , $cgi->param('group') );
 	unless( defined $group and $user->can_modify( $group ) ) {
-		$panel->render('message/misc.tt', { message => gettext( 'You\'re not allowed to do this (ACL rights)' ) } );
+		$panel->render('misc/message.tt', { message => gettext( 'You\'re not allowed to do this (ACL rights)' ) } );
 		return;
 	}
 	$panel->set_group( $group );

Modified: trunk/vhffs-api/src/Vhffs/Panel/Mail.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Mail.pm	2012-05-12 22:29:35 UTC (rev 2192)
+++ trunk/vhffs-api/src/Vhffs/Panel/Mail.pm	2012-05-31 10:21:57 UTC (rev 2193)
@@ -97,7 +97,7 @@
 
 	my $group = Vhffs::Group::get_by_groupname( $vhffs , $cgi->param('group') );
 	unless( defined $group and $user->can_modify( $group ) ) {
-		$panel->render('message/misc.tt', { message => gettext( 'You\'re not allowed to do this (ACL rights)' ) } );
+		$panel->render('misc/message.tt', { message => gettext( 'You\'re not allowed to do this (ACL rights)' ) } );
 		return;
 	}
 	$panel->set_group( $group );


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