From c3de1572b3989d3447ca05391c16699fc377a66a Mon Sep 17 00:00:00 2001 From: zero Date: Wed, 14 Mar 2007 07:20:43 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/trunk@415 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/plugin/conf/module.xml | 2 +- modules/plugin/plugin.model.php | 9 ++++++++- .../tpl.admin/downloaded_layout_list.html | 18 ++++++++++-------- 3 files changed, 19 insertions(+), 10 deletions(-) diff --git a/modules/plugin/conf/module.xml b/modules/plugin/conf/module.xml index 8e23d9c97..9bda6d9fd 100644 --- a/modules/plugin/conf/module.xml +++ b/modules/plugin/conf/module.xml @@ -1,6 +1,6 @@ - + diff --git a/modules/plugin/plugin.model.php b/modules/plugin/plugin.model.php index b65420766..f74741e68 100644 --- a/modules/plugin/plugin.model.php +++ b/modules/plugin/plugin.model.php @@ -57,7 +57,7 @@ * @brief 모듈의 conf/info.xml 을 읽어서 정보를 구함 * 이것 역시 캐싱을 통해서 xml parsing 시간을 줄인다.. **/ - function getPluginInfo($plugin, $plugin_srl = 0, $plugin_title = "", $vars = null) { + function getPluginInfo($plugin) { // 요청된 모듈의 경로를 구한다. 없으면 return $plugin_path = $this->getPluginPath($plugin); if(!$plugin_path) return; @@ -119,5 +119,12 @@ } } + $buff = ''; + FileHandler::writeFile($cache_file, $buff); + + if(file_exists($cache_file)) include $cache_file; + return $plugin_info; + } + } ?> diff --git a/modules/plugin/tpl.admin/downloaded_layout_list.html b/modules/plugin/tpl.admin/downloaded_layout_list.html index 786a49ee4..e5784325a 100644 --- a/modules/plugin/tpl.admin/downloaded_layout_list.html +++ b/modules/plugin/tpl.admin/downloaded_layout_list.html @@ -1,31 +1,33 @@ - + +{@print_r($plugin_list)} + - +
- + - + - + - - + +
{$lang->layout_name}{$lang->plugin_name} {$lang->version} {$lang->author} {$lang->menu_count} {$lang->date} {$lang->path}{$lang->layout_info}{$lang->plugin_info} {$lang->cmd_make}
{$val->title}
- ({$val->layout}) + ({$val->plugin})
{$val->version} {$val->author->name} {$val->menu_count} {$val->author->date} {$val->path}{$lang->cmd_view}{$lang->cmd_make}{$lang->cmd_view}{$lang->cmd_make}