mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
issue 70 list count modified in content admin
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8854 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b87aedbd2b
commit
ac9bf88af4
13 changed files with 355 additions and 183 deletions
|
|
@ -155,16 +155,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
$countOutput = $oFileAdminModel->getFilesCountByGroupValid();
|
||||
$validCount = array();
|
||||
if(is_array($countOutput))
|
||||
{
|
||||
foreach($countOutput AS $key=>$value)
|
||||
{
|
||||
$validCount[$value->isvalid] = $value->count;
|
||||
}
|
||||
}
|
||||
|
||||
Context::set('file_list', $file_list);
|
||||
Context::set('document_list', $document_list);
|
||||
Context::set('comment_list', $comment_list);
|
||||
|
|
@ -173,7 +163,6 @@
|
|||
Context::set('total_page', $output->total_page);
|
||||
Context::set('page', $output->page);
|
||||
Context::set('page_navigation', $output->page_navigation);
|
||||
Context::set('valid_count', $validCount);
|
||||
// Set a template
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('file_list');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue