[pLog-svn] r5849 - plog/trunk/class/action/admin
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Mon Aug 20 16:21:35 EDT 2007
Author: oscar
Date: 2007-08-20 16:21:35 -0400 (Mon, 20 Aug 2007)
New Revision: 5849
Modified:
plog/trunk/class/action/admin/admindeletetemplatefileaction.class.php
plog/trunk/class/action/admin/adminedittemplatefileaction.class.php
plog/trunk/class/action/admin/adminupdatetemplatefileaction.class.php
Log:
And a few more.
Modified: plog/trunk/class/action/admin/admindeletetemplatefileaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindeletetemplatefileaction.class.php 2007-08-20 20:20:39 UTC (rev 5848)
+++ plog/trunk/class/action/admin/admindeletetemplatefileaction.class.php 2007-08-20 20:21:35 UTC (rev 5849)
@@ -24,7 +24,7 @@
$view = new AdminErrorDialogView( $this->_blogInfo, $this->_locale->tr( "error_deleting_template_file" ));
$this->setValidationErrorView( $view );
- $this->requirePermission( "edit_site_template" );
+ $this->requireAdminPermission( "edit_site_template" );
}
function validate()
Modified: plog/trunk/class/action/admin/adminedittemplatefileaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminedittemplatefileaction.class.php 2007-08-20 20:20:39 UTC (rev 5848)
+++ plog/trunk/class/action/admin/adminedittemplatefileaction.class.php 2007-08-20 20:21:35 UTC (rev 5849)
@@ -28,7 +28,7 @@
$view->setErrorMessage( $this->_locale->tr( "error_loading_template_set" ));
$this->setValidationErrorView( $view );
- $this->requirePermission( "edit_site_template" );
+ $this->requireAdminPermission( "edit_site_template" );
}
function validate()
Modified: plog/trunk/class/action/admin/adminupdatetemplatefileaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminupdatetemplatefileaction.class.php 2007-08-20 20:20:39 UTC (rev 5848)
+++ plog/trunk/class/action/admin/adminupdatetemplatefileaction.class.php 2007-08-20 20:21:35 UTC (rev 5849)
@@ -24,7 +24,7 @@
$view->setErrorMessage( $this->_locale->tr( "error_loading_template_file" ));
$this->setValidationErrorView( $view );
- $this->requirePermission( "edit_global_template" );
+ $this->requireAdminPermission( "edit_global_template" );
}
function validate()
More information about the pLog-svn
mailing list