diff --git a/common/lang/ko.lang.php b/common/lang/ko.lang.php
index f064798c9..c2d40815c 100644
--- a/common/lang/ko.lang.php
+++ b/common/lang/ko.lang.php
@@ -83,6 +83,7 @@
$lang->ipaddress = "IP 주소";
$lang->path = "경로";
$lang->layout = "레이아웃";
+ $lang->plugin = "플러그인 ";
$lang->document_url = '게시글 주소';
$lang->trackback_url = '엮인글 주소';
diff --git a/modules/layout/layout.view.php b/modules/layout/layout.view.php
index 093d32d6d..5b6e0593c 100644
--- a/modules/layout/layout.view.php
+++ b/modules/layout/layout.view.php
@@ -61,7 +61,7 @@
* @brief 레이아웃의 상세 정보(conf/info.xml)를 팝업 출력
**/
function dispLayoutInfo() {
- // 모듈 목록을 구해서
+ // 선택된 레이아웃 정보를 구함
$oLayoutModel = &getModel('layout');
$layout_info = $oLayoutModel->getLayoutInfo(Context::get('selected_layout'));
Context::set('layout_info', $layout_info);
diff --git a/modules/plugin/conf/module.xml b/modules/plugin/conf/module.xml
index 1961e7cbd..1268a023a 100644
--- a/modules/plugin/conf/module.xml
+++ b/modules/plugin/conf/module.xml
@@ -3,5 +3,6 @@
+
diff --git a/modules/plugin/lang/ko.lang.php b/modules/plugin/lang/ko.lang.php
index 75fc88dc0..9b9c5160f 100644
--- a/modules/plugin/lang/ko.lang.php
+++ b/modules/plugin/lang/ko.lang.php
@@ -5,6 +5,8 @@
* @brief 플러그인(plugin) 모듈의 기본 언어팩
**/
+ $lang->cmd_make_code = '코드생성';
+
$lang->plugin_maker = '플러그인 제작자';
$lang->plugin_history = '변경사항';
$lang->plugin_info = '플러그인 정보';
diff --git a/modules/plugin/plugin.view.php b/modules/plugin/plugin.view.php
index ac33b0193..f4ba77f01 100644
--- a/modules/plugin/plugin.view.php
+++ b/modules/plugin/plugin.view.php
@@ -13,24 +13,7 @@
function init() {
$this->setTemplatePath($this->module_path.'tpl.admin');
}
-
- /**
- /**
- * @brief 플러그인의 상세 정보(conf/info.xml)를 팝업 출력
- **/
- function dispPluginInfo() {
- // 모듈 목록을 구해서
- $oPluginModel = &getModel('plugin');
- $plugin_info = $oPluginModel->getPluginInfo(Context::get('selected_plugin'));
- Context::set('plugin_info', $plugin_info);
-
- // 플러그인을 팝업으로 지정
- $this->setLayoutFile('popup_layout');
-
- // 템플릿 파일 지정
- $this->setTemplateFile('plugin_detail_info');
- }
-
+
/**
* @brief 플러그인 목록을 보여줌
**/
@@ -43,6 +26,37 @@
$this->setTemplateFile('downloaded_plugin_list');
}
+ /**
+ * @brief 플러그인의 상세 정보(conf/info.xml)를 팝업 출력
+ **/
+ function dispPluginInfo() {
+ // 선택된 플러그인 정보를 구함
+ $oPluginModel = &getModel('plugin');
+ $plugin_info = $oPluginModel->getPluginInfo(Context::get('selected_plugin'));
+ Context::set('plugin_info', $plugin_info);
+
+ // 플러그인을 팝업으로 지정
+ $this->setLayoutFile('popup_layout');
+
+ // 템플릿 파일 지정
+ $this->setTemplateFile('plugin_detail_info');
+ }
+
+ /**
+ * @brief 플러그인의 상세 정보(conf/info.xml)를 팝업 출력
+ **/
+ function dispMakeCode() {
+ // 선택된 플러그인 정보를 구함
+ $oPluginModel = &getModel('plugin');
+ $plugin_info = $oPluginModel->getPluginInfo(Context::get('selected_plugin'));
+ Context::set('plugin_info', $plugin_info);
+
+ // 플러그인을 팝업으로 지정
+ $this->setLayoutFile('popup_layout');
+
+ // 템플릿 파일 지정
+ $this->setTemplateFile('plugin_make_code');
+ }
}
?>
diff --git a/modules/plugin/tpl.admin/downloaded_plugin_list.html b/modules/plugin/tpl.admin/downloaded_plugin_list.html
index 92ade1878..b8d65fa93 100644
--- a/modules/plugin/tpl.admin/downloaded_plugin_list.html
+++ b/modules/plugin/tpl.admin/downloaded_plugin_list.html
@@ -7,6 +7,7 @@
{$lang->author} |
{$lang->date} |
{$lang->path} |
+ {$lang->cmd_make_code} |
{$lang->plugin_info} |
@@ -19,10 +20,11 @@
{$val->author->name} |
{$val->author->date} |
{$val->path} |
+ {$lang->cmd_make_code} |
{$lang->cmd_view} |
- |
+ |
{nl2br($val->author->description)}
|
diff --git a/modules/plugin/tpl.admin/plugin_make_code.html b/modules/plugin/tpl.admin/plugin_make_code.html
new file mode 100644
index 000000000..15ac5f22e
--- /dev/null
+++ b/modules/plugin/tpl.admin/plugin_make_code.html
@@ -0,0 +1,34 @@
+
+
diff --git a/plugins/newest_document/conf/info.xml b/plugins/newest_document/conf/info.xml
index a67520490..1ac8ca28a 100644
--- a/plugins/newest_document/conf/info.xml
+++ b/plugins/newest_document/conf/info.xml
@@ -28,5 +28,10 @@
list_count
text
+
+ 대상 모듈
+ target modules
+ module_list
+