git-svn-id: http://xe-core.googlecode.com/svn/trunk@847 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-01 01:51:24 +00:00
parent 57d849dfa2
commit 9344643632
5 changed files with 9 additions and 10 deletions

View file

@ -15,9 +15,9 @@
function moduleInstall() {
// action forward에 등록 (관리자 모드에서 사용하기 위함)
$oModuleController = &getController('module');
$oModuleController->insertActionForward('addon', 'view', 'dispAddonIndex');
$oModuleController->insertActionForward('addon', 'view', 'dispAddonInfo');
$oModuleController->insertActionForward('addon', 'controller', 'procAddonToggleActivate');
$oModuleController->insertActionForward('addon', 'view', 'dispAddonAdminIndex');
$oModuleController->insertActionForward('addon', 'view', 'dispAddonAdminInfo');
$oModuleController->insertActionForward('addon', 'controller', 'procAddonAdminToggleActivate');
// 몇가진 애드온을 기본으로 설치 상태로 지정
$oAddonController = &getController('addon');

View file

@ -11,6 +11,7 @@
* @brief 초기화
**/
function init() {
$this->setTemplatePath($this->module_path.'tpl');
}
/**
@ -23,7 +24,6 @@
Context::set('addon_list', $addon_list);
// 템플릿 패스 및 파일을 지정
$this->setTemplatePath($this->module_path.'tpl');
$this->setTemplateFile('addon_list');
}
@ -43,7 +43,6 @@
$this->setLayoutFile('popup_layout');
// 템플릿 패스 및 파일을 지정
$this->setTemplatePath($this->module_path.'tpl');
$this->setTemplateFile('addon_info');
}