mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-18 09:52:17 +09:00
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:
parent
7c5c3a5d4f
commit
2e26ee83b1
5 changed files with 25 additions and 10 deletions
|
|
@ -54,7 +54,7 @@ class moduleAdminModel extends module
|
|||
return $output;
|
||||
}
|
||||
|
||||
function getSelectedManageHTML($grantList)
|
||||
function getSelectedManageHTML($grantList, $tabChoice = array())
|
||||
{
|
||||
// Grant virtual permission for access and manager
|
||||
$grantList->access->title = Context::getLang('grant_access');
|
||||
|
|
@ -85,6 +85,12 @@ class moduleAdminModel extends module
|
|||
$output = ModuleHandler::triggerCall('module.dispAdditionSetup', 'after', $content);
|
||||
Context::set('setup_content', $content);
|
||||
|
||||
if(count($tabChoice) == 0)
|
||||
{
|
||||
$tabChoice = array('tab1'=>1, 'tab2'=>1, 'tab3'=>1);
|
||||
}
|
||||
Context::set('tabChoice', $tabChoice);
|
||||
|
||||
// Get information of module_grants
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
return $oTemplate->compile($this->module_path.'tpl', 'include.manage_selected.html');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue