mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@152 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b293901543
commit
693103aaa0
1 changed files with 12 additions and 3 deletions
|
|
@ -369,12 +369,21 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief 게시판의 정보 출력
|
||||
* @brief 선택된 게시판의 정보 출력
|
||||
**/
|
||||
function dispAdminBoardInfo() {
|
||||
if(!Context::get('module_srl')) return $this->dispContent();
|
||||
// module_srl 값이 없다면 그냥 index 페이지를 보여줌
|
||||
if(!Context::get('module_srl')) return $this->dispAdminContent();
|
||||
|
||||
$module_info = Context::get('module_info');
|
||||
// template 경로를 변경
|
||||
$this->setTemplatePath(
|
||||
|
||||
// 요청받은 모듈의 정보를 구함
|
||||
$oModuleModel = &getModel('module');
|
||||
$module_info = $oModuleModel->getModuleInfoByModuleSrl($module_srl);
|
||||
|
||||
// template에서 사용하기 위해 설정
|
||||
Context::set('module_info',$module_info);
|
||||
|
||||
// 템플릿 파일 지정
|
||||
$this->setTemplateFile('info');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue