issue 70 document, comment, trackback module UI change.

But not finished yet


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8639 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-07-26 05:39:03 +00:00
parent 5385ebb524
commit 9acd474c52
37 changed files with 1125 additions and 830 deletions

View file

@ -628,5 +628,27 @@
$oModuleController->insertModulePartConfig('comment',$srl,$comment_config);
return new Object();
}
/**
* @brief get comment all list
**/
function procCommentGetList()
{
if(!Context::get('is_logged')) return new Object(-1,'msg_not_permitted');
// Taken from a list of selected sessions
$flagList = $_SESSION['comment_management'];
if(count($flagList)) {
foreach($flagList as $key => $val) {
if(!is_bool($val)) continue;
$commentSrlList[] = $key;
}
}
if(count($commentSrlList)) {
$oCommentModel = &getModel('comment');
$commentList = $oCommentModel->getComments($commentSrlList);
}
$this->add('comment_list', $commentList);
}
}
?>