From d0c8f54ed8c9ae6c88f45670cdc6e194361865f8 Mon Sep 17 00:00:00 2001 From: zero Date: Thu, 12 Jul 2007 09:23:17 +0000 Subject: [PATCH] =?UTF-8?q?=EC=9D=B8=EC=87=84=20=EA=B8=B0=EB=8A=A5=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/trunk@1912 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- classes/module/ModuleObject.class.php | 8 ++++ common/lang/en.lang.php | 1 + common/lang/es.lang.php | 1 + common/lang/jp.lang.php | 1 + common/lang/ko.lang.php | 1 + common/lang/zh-CN.lang.php | 1 + modules/blog/skins/default/view_document.html | 2 + modules/blog/skins/xe_blog/view_document.html | 2 + .../board/skins/default/view_document.html | 1 + .../board/skins/xe_gallery/view_document.html | 1 + .../board/skins/xe_list/view_document.html | 1 + .../board/skins/xe_webzine/view_document.html | 1 + modules/document/conf/module.xml | 2 + modules/document/document.class.php | 1 + modules/document/document.view.php | 45 +++++++++++++++++++ modules/document/tpl/css/document.css | 1 + modules/document/tpl/print_page.html | 11 +++++ 17 files changed, 81 insertions(+) create mode 100644 modules/document/document.view.php create mode 100644 modules/document/tpl/css/document.css create mode 100644 modules/document/tpl/print_page.html diff --git a/classes/module/ModuleObject.class.php b/classes/module/ModuleObject.class.php index e96ad2dad..c38a66cc6 100644 --- a/classes/module/ModuleObject.class.php +++ b/classes/module/ModuleObject.class.php @@ -101,6 +101,14 @@ } } + if($module_info->grants) { + foreach($module_info->grants as $key => $val) { + if(!$xml_info->grant->{$key}) { + $xml_info->grant->{$key}->title = $key; + } + } + } + // 권한 설정 if($xml_info->grant) { diff --git a/common/lang/en.lang.php b/common/lang/en.lang.php index 207aa14c4..da78127c4 100644 --- a/common/lang/en.lang.php +++ b/common/lang/en.lang.php @@ -45,6 +45,7 @@ $lang->cmd_apply = 'Apply'; $lang->cmd_open_calendar = 'Select a Date'; $lang->cmd_send = 'Send'; + $lang->cmd_print = 'Print'; $lang->enable = 'Enable'; $lang->disable = 'Disable'; diff --git a/common/lang/es.lang.php b/common/lang/es.lang.php index d7dad14bc..b631ca7e8 100644 --- a/common/lang/es.lang.php +++ b/common/lang/es.lang.php @@ -45,6 +45,7 @@ $lang->cmd_apply = 'Applicar'; $lang->cmd_open_calendar = 'Seleccionar la fecha'; $lang->cmd_send = 'Enviar'; + $lang->cmd_print = 'Print'; $lang->enable = 'Enable'; $lang->disable = 'Disable'; diff --git a/common/lang/jp.lang.php b/common/lang/jp.lang.php index eec572b55..b63ded37c 100644 --- a/common/lang/jp.lang.php +++ b/common/lang/jp.lang.php @@ -45,6 +45,7 @@ $lang->cmd_apply = '適用'; $lang->cmd_open_calendar = 'カレンダを開く'; $lang->cmd_send = '送信'; + $lang->cmd_print = 'Print'; $lang->enable = '可'; $lang->disable = '不可'; diff --git a/common/lang/ko.lang.php b/common/lang/ko.lang.php index acbafc35f..6df3c1312 100644 --- a/common/lang/ko.lang.php +++ b/common/lang/ko.lang.php @@ -45,6 +45,7 @@ $lang->cmd_apply = '적용'; $lang->cmd_open_calendar = '날짜 선택'; $lang->cmd_send = '발송'; + $lang->cmd_print = '인쇄'; $lang->enable = '가능'; $lang->disable = '불가능'; diff --git a/common/lang/zh-CN.lang.php b/common/lang/zh-CN.lang.php index d0d91c8cf..97e7a9888 100644 --- a/common/lang/zh-CN.lang.php +++ b/common/lang/zh-CN.lang.php @@ -45,6 +45,7 @@ $lang->cmd_apply = '适用'; $lang->cmd_open_calendar = '选择日期'; $lang->cmd_send = '发送'; + $lang->cmd_print = 'Print'; $lang->enable = '使用'; $lang->disable = '禁用'; diff --git a/modules/blog/skins/default/view_document.html b/modules/blog/skins/default/view_document.html index b4584a83d..d7d3ebb5c 100644 --- a/modules/blog/skins/default/view_document.html +++ b/modules/blog/skins/default/view_document.html @@ -63,6 +63,8 @@ + + {$lang->cmd_print} diff --git a/modules/blog/skins/xe_blog/view_document.html b/modules/blog/skins/xe_blog/view_document.html index 2929c43ed..4c382ba14 100644 --- a/modules/blog/skins/xe_blog/view_document.html +++ b/modules/blog/skins/xe_blog/view_document.html @@ -68,6 +68,8 @@