[pLog-svn] r6268 - in plog/trunk/class: action/admin view/admin
mark at devel.lifetype.net
mark at devel.lifetype.net
Tue Mar 25 00:18:39 EDT 2008
Author: mark
Date: 2008-03-25 00:18:38 -0400 (Tue, 25 Mar 2008)
New Revision: 6268
Modified:
plog/trunk/class/action/admin/admineditcommentaction.class.php
plog/trunk/class/view/admin/adminarticlecommentslistview.class.php
Log:
Fixed the editComments function
Modified: plog/trunk/class/action/admin/admineditcommentaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admineditcommentaction.class.php 2008-03-24 21:03:51 UTC (rev 6267)
+++ plog/trunk/class/action/admin/admineditcommentaction.class.php 2008-03-25 04:18:38 UTC (rev 6268)
@@ -81,17 +81,7 @@
function performAjax()
{
- $this->_view = new AdminAjaxView( $this->_blogInfo );
- if(( $comment = $this->getComment())) {
- $this->_view->setSuccess( true );
- $this->_view->setResult( $comment );
- }
- else {
- $this->_view->setSuccess( false );
- $this->_view->setErrorMessage( $this->_locale->tr( "error_incorrect_comment_id" ));
- }
-
- return( true );
+ return( $this->perform() );
}
}
?>
\ No newline at end of file
Modified: plog/trunk/class/view/admin/adminarticlecommentslistview.class.php
===================================================================
--- plog/trunk/class/view/admin/adminarticlecommentslistview.class.php 2008-03-24 21:03:51 UTC (rev 6267)
+++ plog/trunk/class/view/admin/adminarticlecommentslistview.class.php 2008-03-25 04:18:38 UTC (rev 6268)
@@ -137,6 +137,7 @@
$this->setValue( "commentstatus", $statusList );
$this->setValue( "commentstatusWithoutAll", $statusListWithoutAll );
$this->setValue( "currentstatus", $this->_commentStatus );
+ $this->setValue( "showType", $this->_commentType );
$this->setValue( "searchTerms", $this->_searchTerms );
// pass the common data to the templates
More information about the pLog-svn
mailing list