From 9bc8a365a86d4eb2791daba3d66698ff987f0183 Mon Sep 17 00:00:00 2001 From: zero Date: Wed, 14 Mar 2007 07:28:42 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/trunk@416 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/plugin/conf/module.xml | 1 + modules/plugin/lang/ko.lang.php | 2 + modules/plugin/plugin.view.php | 3 +- ..._list.html => downloaded_plugin_list.html} | 8 +-- .../plugin/tpl.admin/plugin_detail_info.html | 56 +++++++++++++++++++ 5 files changed, 61 insertions(+), 9 deletions(-) rename modules/plugin/tpl.admin/{downloaded_layout_list.html => downloaded_plugin_list.html} (89%) create mode 100644 modules/plugin/tpl.admin/plugin_detail_info.html diff --git a/modules/plugin/conf/module.xml b/modules/plugin/conf/module.xml index 9bda6d9fd..1961e7cbd 100644 --- a/modules/plugin/conf/module.xml +++ b/modules/plugin/conf/module.xml @@ -2,5 +2,6 @@ + diff --git a/modules/plugin/lang/ko.lang.php b/modules/plugin/lang/ko.lang.php index 939625b3b..9e39b6101 100644 --- a/modules/plugin/lang/ko.lang.php +++ b/modules/plugin/lang/ko.lang.php @@ -4,4 +4,6 @@ * @author zero * @brief 플러그인(plugin) 모듈의 기본 언어팩 **/ + + $lang->plugin_info = "플러그인 정보"; ?> diff --git a/modules/plugin/plugin.view.php b/modules/plugin/plugin.view.php index 8ffe3b167..e44b4ab17 100644 --- a/modules/plugin/plugin.view.php +++ b/modules/plugin/plugin.view.php @@ -25,13 +25,12 @@ Context::set('plugin_info', $plugin_info); // 플러그인을 팝업으로 지정 - $this->setPluginFile('popup_plugin'); + $this->setLayoutFile('popup_plugin'); // 템플릿 파일 지정 $this->setTemplateFile('plugin_detail_info'); } - /** * @brief 플러그인 목록을 보여줌 **/ diff --git a/modules/plugin/tpl.admin/downloaded_layout_list.html b/modules/plugin/tpl.admin/downloaded_plugin_list.html similarity index 89% rename from modules/plugin/tpl.admin/downloaded_layout_list.html rename to modules/plugin/tpl.admin/downloaded_plugin_list.html index e5784325a..6876750d4 100644 --- a/modules/plugin/tpl.admin/downloaded_layout_list.html +++ b/modules/plugin/tpl.admin/downloaded_plugin_list.html @@ -1,7 +1,3 @@ - -{@print_r($plugin_list)} - -
@@ -9,7 +5,6 @@ - @@ -23,14 +18,13 @@ - - diff --git a/modules/plugin/tpl.admin/plugin_detail_info.html b/modules/plugin/tpl.admin/plugin_detail_info.html new file mode 100644 index 000000000..9701df98f --- /dev/null +++ b/modules/plugin/tpl.admin/plugin_detail_info.html @@ -0,0 +1,56 @@ +
{$lang->plugin_name} {$lang->version} {$lang->author}{$lang->menu_count} {$lang->date} {$lang->path} {$lang->plugin_info} {$val->version} {$val->author->name}{$val->menu_count} {$val->author->date} {$val->path} {$lang->cmd_view} {$lang->cmd_make}
+ {nl2br($val->author->description)}
+++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{$lang->plugin_maker}
{$lang->title}{$plugin_info->title} ver {$plugin_info->version}
{$lang->author}{$plugin_info->author->name}
{$lang->homepage}{$plugin_info->author->homepage}
{$lang->regdate}{$plugin_info->author->date}
{$lang->description}{nl2br($plugin_info->author->description)}
{$lang->plugin_history}
{$lang->name}{$history->name}
{$lang->homepage}{$history->homepage}
{$lang->regdate}{$history->date}
{$lang->description}{nl2br($history->description)}
+ {$lang->cmd_close} +