issue 70 super admin dashboard and site admin dashboard developement

yet site admin not completed


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8813 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-08-19 09:35:53 +00:00
parent 84888b172b
commit 59cab1cc60
13 changed files with 212 additions and 23 deletions

View file

@ -152,8 +152,9 @@
/**
* @brief get the total number of comments in corresponding with document_srl.
**/
function getCommentCountByDate($date = '') {
function getCommentCountByDate($date = '', $moduleSrlList = array()) {
if($date) $args->regDate = date('Ymd', strtotime($date));
if(count($moduleSrlList)>0) $args->module_srl = $moduleSrlList;
$output = executeQuery('comment.getCommentCount', $args);
if(!$output->toBool()) return 0;