From 934464363223df6a282ca76d7f53a56448557375 Mon Sep 17 00:00:00 2001 From: zero Date: Sun, 1 Apr 2007 01:51:24 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/trunk@847 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/addon/addon.class.php | 6 +++--- modules/addon/addon.view.php | 3 +-- modules/admin/tpl/layout.html | 6 +++--- modules/plugin/plugin.view.php | 2 +- modules/plugin/tpl/plugin_generate_code.html | 2 +- 5 files changed, 9 insertions(+), 10 deletions(-) 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 @@
- zeroboard XE + zeroboard XE
@@ -14,7 +14,7 @@
module)-->class="selected"> - {$val->title} + {$val->title} [{$lang->cmd_management}] @@ -23,7 +23,7 @@
- {$selected_module_info->title} (ver {$selected_module_info->version}) + {$selected_module_info->title} (ver {$selected_module_info->version})
diff --git a/modules/plugin/plugin.view.php b/modules/plugin/plugin.view.php index 014756ea0..eb3bc5965 100644 --- a/modules/plugin/plugin.view.php +++ b/modules/plugin/plugin.view.php @@ -11,7 +11,7 @@ * @brief 초기화 **/ function init() { - $this->setTemplatePath($this->module_path.'tpl.admin'); + $this->setTemplatePath($this->module_path.'tpl'); } /** diff --git a/modules/plugin/tpl/plugin_generate_code.html b/modules/plugin/tpl/plugin_generate_code.html index f613cda49..4401c530d 100644 --- a/modules/plugin/tpl/plugin_generate_code.html +++ b/modules/plugin/tpl/plugin_generate_code.html @@ -27,7 +27,7 @@