[pLog-svn] r2242 - plog/branches/plog-1.0.2/class/action/admin
mark at devel.plogworld.net
mark at devel.plogworld.net
Thu Jun 16 08:54:28 GMT 2005
Author: mark
Date: 2005-06-16 08:54:27 +0000 (Thu, 16 Jun 2005)
New Revision: 2242
Modified:
plog/branches/plog-1.0.2/class/action/admin/adminxmlsavedraftaction.class.php
Log:
We really need to check all place where filterAllHTML() use. For example, if we put them in saveDraftPost(), it will remove all HTML tags in postText, PostExntentText and PostTopic ..... it is really not make sense.
Mark
Modified: plog/branches/plog-1.0.2/class/action/admin/adminxmlsavedraftaction.class.php
===================================================================
--- plog/branches/plog-1.0.2/class/action/admin/adminxmlsavedraftaction.class.php 2005-06-15 21:11:00 UTC (rev 2241)
+++ plog/branches/plog-1.0.2/class/action/admin/adminxmlsavedraftaction.class.php 2005-06-16 08:54:27 UTC (rev 2242)
@@ -17,9 +17,9 @@
function validate()
{
- $this->_postText = Textfilter::filterAllHTML($this->_request->getValue( "postText" ));
- $this->_postExtendedText = Textfilter::filterAllHTML($this->_request->getValue( "postExtendedText" ));
- $this->_postTopic = Textfilter::filterAllHTML($this->_request->getValue( "postTopic" ));
+ $this->_postText = $this->_request->getValue( "postText" );
+ $this->_postExtendedText = $this->_request->getValue( "postExtendedText" );
+ $this->_postTopic = $this->_request->getValue( "postTopic" );
// if there is no text, extended text or topic there is no point in saving anything
if( $this->_postText == "" && $this->_postExtendedTExt == "" &&
More information about the pLog-svn
mailing list