mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 00:32:15 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@174 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9c81a2ce69
commit
3de7cf9648
18 changed files with 113 additions and 105 deletions
|
|
@ -30,7 +30,10 @@
|
|||
if(!$module_info) {
|
||||
Context::set('module_srl','');
|
||||
$this->act = 'list';
|
||||
} else Context::set('module_info',$module_info);
|
||||
} else {
|
||||
$this->module_info = $module_info;
|
||||
Context::set('module_info',$module_info);
|
||||
}
|
||||
}
|
||||
|
||||
// 일반 action일 경우
|
||||
|
|
@ -391,13 +394,6 @@
|
|||
// module_srl 값이 없다면 그냥 index 페이지를 보여줌
|
||||
if(!Context::get('module_srl')) return $this->dispAdminContent();
|
||||
|
||||
// 요청받은 모듈의 정보를 구함
|
||||
$oModuleModel = &getModel('module');
|
||||
$module_info = $oModuleModel->getModuleInfoByModuleSrl($module_srl);
|
||||
|
||||
// template에서 사용하기 위해 설정
|
||||
Context::set('module_info',$module_info);
|
||||
|
||||
// 템플릿 파일 지정
|
||||
$this->setTemplateFile('board_info');
|
||||
}
|
||||
|
|
@ -499,8 +495,6 @@
|
|||
|
||||
// module.xml에서 권한 관련 목록을 구해옴
|
||||
$grant_list = $this->xml_info->grant;
|
||||
|
||||
// 권한 목록 세팅
|
||||
Context::set('grant_list', $grant_list);
|
||||
|
||||
// 권한 그룹의 목록을 가져온다
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue