mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
#12 현재 기본 패키지에 포함된 블로그/게시판/페이지/외부페이지의 모듈 복사 기능 추가. 추가되는 모듈들도 복사할 수 있도록 module의 기본 기능으로 추가하였음
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2619 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8577a213d4
commit
1d45f520e1
22 changed files with 204 additions and 4 deletions
|
|
@ -78,5 +78,24 @@
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 모듈 복사 기능
|
||||
**/
|
||||
function dispModuleAdminCopyModule() {
|
||||
// 복사하려는 대상 모듈을 구함
|
||||
$module_srl = Context::get('module_srl');
|
||||
|
||||
// 해당 모듈의 정보를 구함
|
||||
$oModuleModel = &getModel('module');
|
||||
$module_info = $oModuleModel->getModuleInfoByModuleSrl($module_srl);
|
||||
Context::set('module_info', $module_info);
|
||||
|
||||
// 레이아웃을 팝업으로 지정
|
||||
$this->setLayoutFile('popup_layout');
|
||||
|
||||
// 템플릿 파일 지정
|
||||
$this->setTemplateFile('copy_module');
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue