[pLog-svn] r5823 - plog/trunk/class/action/admin
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Tue Aug 14 17:02:40 EDT 2007
Author: oscar
Date: 2007-08-14 17:02:39 -0400 (Tue, 14 Aug 2007)
New Revision: 5823
Modified:
plog/trunk/class/action/admin/adminedittemplatefileaction.class.php
Log:
One small fix.
Modified: plog/trunk/class/action/admin/adminedittemplatefileaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminedittemplatefileaction.class.php 2007-08-13 20:18:53 UTC (rev 5822)
+++ plog/trunk/class/action/admin/adminedittemplatefileaction.class.php 2007-08-14 21:02:39 UTC (rev 5823)
@@ -24,7 +24,8 @@
$this->registerFieldValidator( "templateId", new TemplateNameValidator(), false);
$this->registerFieldValidator( "path", new StringValidator(), true );
$this->registerFieldValidator( "file", new StringValidator(), false );
- $view = new AdminErrorDialogView( $this->_blogInfo, $this->_locale->tr( "error_loading_template_file" ));
+ $view = new AdminSiteTemplatesListView( $this->_blogInfo );
+ $view->setErrorMessage( $this->_locale->tr( "error_loading_template" ));
$this->setValidationErrorView( $view );
$this->requirePermission( "edit_site_template" );
More information about the pLog-svn
mailing list