diff --git a/modules/addon/addon.class.php b/modules/addon/addon.class.php index e6aadb180..526790470 100644 --- a/modules/addon/addon.class.php +++ b/modules/addon/addon.class.php @@ -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'); diff --git a/modules/addon/addon.view.php b/modules/addon/addon.view.php index b8e94a2e8..fc25a8451 100644 --- a/modules/addon/addon.view.php +++ b/modules/addon/addon.view.php @@ -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'); } diff --git a/modules/admin/tpl/layout.html b/modules/admin/tpl/layout.html index 11b3b6c91..e92f1fd62 100644 --- a/modules/admin/tpl/layout.html +++ b/modules/admin/tpl/layout.html @@ -2,7 +2,7 @@