modify manange page

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12347 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2012-12-05 01:29:23 +00:00
parent 7c5c3a5d4f
commit 2e26ee83b1
5 changed files with 25 additions and 10 deletions

View file

@ -67,6 +67,11 @@ class pageAdminView extends page
$page_list = $oModuleModel->addModuleExtraVars($output->data);
moduleModel::syncModuleToSite($page_list);
$oModuleAdminModel = &getAdminModel('module');
$tabChoice = array('tab1'=>1, 'tab3'=>1);
$selected_manage_content = $oModuleAdminModel->getSelectedManageHTML($this->xml_info->grant, $tabChoice);
Context::set('selected_manage_content', $selected_manage_content);
// To write to a template context:: set
Context::set('total_count', $output->total_count);
Context::set('total_page', $output->total_page);