From f65139105121881e0ba549361e2492a4b12efb2c Mon Sep 17 00:00:00 2001 From: chschy Date: Wed, 7 Sep 2011 12:08:00 +0000 Subject: [PATCH] Modify add lang file (module page) git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9095 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/module/lang/lang.xml | 22 ++++- modules/module/module.admin.view.php | 2 +- modules/module/tpl/module_list.html | 110 +++++++++++++--------- modules/module/tpl/spInstalledModule.html | 66 ------------- 4 files changed, 87 insertions(+), 113 deletions(-) delete mode 100644 modules/module/tpl/spInstalledModule.html diff --git a/modules/module/lang/lang.xml b/modules/module/lang/lang.xml index b1ed2d099..4bd04019d 100644 --- a/modules/module/lang/lang.xml +++ b/modules/module/lang/lang.xml @@ -1,5 +1,25 @@ - + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/module/module.admin.view.php b/modules/module/module.admin.view.php index ad451d4ed..cadeaff8b 100644 --- a/modules/module/module.admin.view.php +++ b/modules/module/module.admin.view.php @@ -60,7 +60,7 @@ Context::set('favoriteModuleList', $favoriteModuleList); Context::set('module_list', $module_list); // Set a template file - $this->setTemplateFile('spInstalledModule'); + $this->setTemplateFile('module_list'); } diff --git a/modules/module/tpl/module_list.html b/modules/module/tpl/module_list.html index 5956650d5..4a2c2c423 100644 --- a/modules/module/tpl/module_list.html +++ b/modules/module/tpl/module_list.html @@ -1,46 +1,66 @@ - - + - -
- -
-

{$lang->module}

- - - - - - - - - - - - - - - - - - - - - - - -
{$lang->module_name}
{$lang->version}
{$lang->author}
{$lang->table_count}
{$lang->path}
{$lang->module_action}
{$val->title} ({$val->module}){$val->version} - - {$author->name} - - - {$val->created_table_count}/{$val->table_count} - {$val->path} - - {$lang->cmd_install} - - {$lang->cmd_update} - - - - -
+ + +
+

Installed Module

+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ All({count($module_list)}) +
{$lang->favorite}{$lang->module_name}{$lang->version}{$lang->author}{$lang->path}{$lang->cmd_delete}
+ + {$lang->favorite}({$lang->on}) + + {$lang->favorite}({$lang->off}) + + +

{$val->title}

+

{$val->description}

+

{$lang->msg_avail_install} {$lang->msg_do_you_like_install}

+

{$lang->msg_avail_updaet} {$lang->msg_do_you_like_update}

+

{$lang->msg_avail_easy_update}{$lang->msg_do_you_like_update}

+
{$val->version} + + + + + {$author->name} + + + + + {$val->path} + + {$lang->cmd_delete} + +
+
+
diff --git a/modules/module/tpl/spInstalledModule.html b/modules/module/tpl/spInstalledModule.html deleted file mode 100644 index 6c7db3429..000000000 --- a/modules/module/tpl/spInstalledModule.html +++ /dev/null @@ -1,66 +0,0 @@ - - - - -
-

Installed Module

-
- - - - - - - - - - - - - - - - - - - - - - - - - -
- All({count($module_list)}) -
{$lang->favorite}{$lang->module_name}{$lang->version}{$lang->author}{$lang->path}{$lang->cmd_delete}
- - {$lang->favorite}({$lang->on}) - - {$lang->favorite}({$lang->off}) - - -

{$val->title}

-

{$val->description}

-

이 항목 설치가 가능합니다. 설치 하시겠습니까?

-

이 항목 업데이트가 가능합니다. 업데이트 하시겠습니까?

-

이 항목의 새로운 버전이 있습니다. 업데이트 하시겠습니까?

-
{$val->version} - - - - - {$author->name} - - - - - {$val->path} - - {$lang->cmd_delete} - -
-
-