[pLog-svn] r6582 - plog/branches/lifetype-1.2/class/action/admin
mark at devel.lifetype.net
mark at devel.lifetype.net
Thu Jun 19 02:10:26 EDT 2008
Author: mark
Date: 2008-06-19 02:10:26 -0400 (Thu, 19 Jun 2008)
New Revision: 6582
Modified:
plog/branches/lifetype-1.2/class/action/admin/admineditlinkaction.class.php
Log:
We don't need the use registerField here, the filtered input value will carry by _form itself.
Modified: plog/branches/lifetype-1.2/class/action/admin/admineditlinkaction.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/action/admin/admineditlinkaction.class.php 2008-06-19 06:09:17 UTC (rev 6581)
+++ plog/branches/lifetype-1.2/class/action/admin/admineditlinkaction.class.php 2008-06-19 06:10:26 UTC (rev 6582)
@@ -27,12 +27,7 @@
// data validation stuff
$this->registerFieldValidator( "linkId", new IntegerValidator());
- // we need to register the other fields or else the form validation will complain
- // TODO: validate or don't use
- $this->_form->registerField( "linkDescription" );
- $this->_form->registerField( "linkName" );
- $this->_form->registerField( "linkRssFeed" );
- $this->_form->registerField( "linkUrl" );
+
$view = new AdminLinksListView( $this->_blogInfo );
$view->setErrorMessage( $this->_locale->tr("error_fetching_link" ));
$this->setValidationErrorView( $view );
More information about the pLog-svn
mailing list