issue 70 super admin dashboard debug

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8875 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-08-25 02:36:30 +00:00
parent 1d27b6ae7a
commit 0ff789ed42
2 changed files with 12 additions and 8 deletions

View file

@ -91,7 +91,11 @@
$oCacheHandler->delete('comment_list_document_pages');
}
$this->setMessage( sprintf(Context::getLang('msg_checked_comment_is_deleted'), $deleted_count) );
$msgCode = '';
if($isTrash == 'true') $msgCode = 'success_trashed';
else $msgCode = 'success_deleted';
//$this->setMessage( sprintf(Context::getLang('msg_checked_comment_is_deleted'), $deleted_count) );
$this->setMessage($msgCode, 'info');
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispCommentAdminList');