diff --git a/modules/plugin/conf/info.xml b/modules/plugin/conf/info.xml
index 35dacc6a7..65b426576 100644
--- a/modules/plugin/conf/info.xml
+++ b/modules/plugin/conf/info.xml
@@ -1,11 +1,8 @@
- 플러그인 관리
- plugin management
-
- 제로
- zero
- 플러그인 관리 모듈
- plugin management
-
+ 플러그인 관리
+
+ 제로
+ 플러그인 관리 모듈
+
diff --git a/modules/plugin/conf/module.xml b/modules/plugin/conf/module.xml
index 875f476eb..f4eab565a 100644
--- a/modules/plugin/conf/module.xml
+++ b/modules/plugin/conf/module.xml
@@ -1,12 +1,13 @@
-
-
-
+
+
-
-
+
+
+
+
diff --git a/modules/plugin/plugin.class.php b/modules/plugin/plugin.class.php
index 7c452f7ea..6c6d3957d 100644
--- a/modules/plugin/plugin.class.php
+++ b/modules/plugin/plugin.class.php
@@ -11,6 +11,15 @@
* @brief 설치시 추가 작업이 필요할시 구현
**/
function moduleInstall() {
+ // action forward에 등록 (관리자 모드에서 사용하기 위함)
+ $oModuleController = &getController('module');
+ $oModuleController->insertActionFoward('plugin', 'view', 'dispPluginInfo');
+ $oModuleController->insertActionFoward('plugin', 'view', 'dispPluginGenerateCode');
+ $oModuleController->insertActionFoward('plugin', 'view', 'dispPluginGenerateCodePage');
+ $oModuleController->insertActionFoward('plugin', 'view', 'dispPluginAdminDownloadedList');
+ $oModuleController->insertActionFoward('plugin', 'controller', 'procPluginGenerateCode');
+ $oModuleController->insertActionFoward('plugin', 'controller', 'procPluginGetColorsetList');
+
// plugin 에서 사용할 cache디렉토리 생성
FileHandler::makeDir('./files/cache/plugin');
diff --git a/modules/plugin/plugin.controller.php b/modules/plugin/plugin.controller.php
index bd38299f8..38299c760 100644
--- a/modules/plugin/plugin.controller.php
+++ b/modules/plugin/plugin.controller.php
@@ -16,7 +16,7 @@
/**
* @brief 플러그인의 생성된 코드를 return
**/
- function procGenerateCode() {
+ function procPluginGenerateCode() {
// 변수 정리
$vars = Context::getRequestVars();
$plugin = $vars->selected_plugin;
@@ -43,7 +43,7 @@
/**
* @brief 선택된 플러그인 - 스킨의 컬러셋을 return
**/
- function procGetColorsetList() {
+ function procPluginGetColorsetList() {
$plugin = Context::get('selected_plugin');
$skin = Context::get('skin');
diff --git a/modules/plugin/plugin.view.php b/modules/plugin/plugin.view.php
index d50aee327..014756ea0 100644
--- a/modules/plugin/plugin.view.php
+++ b/modules/plugin/plugin.view.php
@@ -17,7 +17,7 @@
/**
* @brief 플러그인 목록을 보여줌
**/
- function dispDownloadedPluginList() {
+ function dispPluginAdminDownloadedList() {
// 플러그인 목록을 세팅
$oPluginModel = &getModel('plugin');
$plugin_list = $oPluginModel->getDownloadedPluginList();
@@ -45,7 +45,7 @@
/**
* @brief 플러그인의 코드 생성기
**/
- function dispGenerateCode() {
+ function dispPluginGenerateCode() {
// 선택된 플러그인 정보를 구함
$oPluginModel = &getModel('plugin');
$plugin_info = $oPluginModel->getPluginInfo(Context::get('selected_plugin'));
@@ -70,7 +70,7 @@
/**
* @brief 페이지 관리에서 사용될 코드 생성 팝업
**/
- function dispGenerateCodeInPage() {
+ function dispPluginGenerateCodeInPage() {
$this->dispGenerateCode();
$this->setTemplateFile('plugin_generate_code_in_page');
}
diff --git a/modules/plugin/tpl.admin/css/plugin.css b/modules/plugin/tpl/css/plugin.css
similarity index 100%
rename from modules/plugin/tpl.admin/css/plugin.css
rename to modules/plugin/tpl/css/plugin.css
diff --git a/modules/plugin/tpl.admin/downloaded_plugin_list.html b/modules/plugin/tpl/downloaded_plugin_list.html
similarity index 100%
rename from modules/plugin/tpl.admin/downloaded_plugin_list.html
rename to modules/plugin/tpl/downloaded_plugin_list.html
diff --git a/modules/plugin/tpl.admin/filter/generate_code.xml b/modules/plugin/tpl/filter/generate_code.xml
similarity index 100%
rename from modules/plugin/tpl.admin/filter/generate_code.xml
rename to modules/plugin/tpl/filter/generate_code.xml
diff --git a/modules/plugin/tpl.admin/filter/generate_code_in_page.xml b/modules/plugin/tpl/filter/generate_code_in_page.xml
similarity index 100%
rename from modules/plugin/tpl.admin/filter/generate_code_in_page.xml
rename to modules/plugin/tpl/filter/generate_code_in_page.xml
diff --git a/modules/plugin/tpl.admin/js/admin.js b/modules/plugin/tpl/js/admin.js
similarity index 100%
rename from modules/plugin/tpl.admin/js/admin.js
rename to modules/plugin/tpl/js/admin.js
diff --git a/modules/plugin/tpl.admin/plugin_detail_info.html b/modules/plugin/tpl/plugin_detail_info.html
similarity index 100%
rename from modules/plugin/tpl.admin/plugin_detail_info.html
rename to modules/plugin/tpl/plugin_detail_info.html
diff --git a/modules/plugin/tpl.admin/plugin_generate_code.html b/modules/plugin/tpl/plugin_generate_code.html
similarity index 100%
rename from modules/plugin/tpl.admin/plugin_generate_code.html
rename to modules/plugin/tpl/plugin_generate_code.html
diff --git a/modules/plugin/tpl.admin/plugin_generate_code_in_page.html b/modules/plugin/tpl/plugin_generate_code_in_page.html
similarity index 100%
rename from modules/plugin/tpl.admin/plugin_generate_code_in_page.html
rename to modules/plugin/tpl/plugin_generate_code_in_page.html