From 4a08caab41ff95229f62dee1e9c473143dbfa0a8 Mon Sep 17 00:00:00 2001 From: zero Date: Fri, 2 Mar 2007 08:54:03 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/trunk@218 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/board/board.view.php | 4 ++++ modules/board/lang/ko.lang.php | 5 +++++ modules/board/tpl.admin/board_info.html | 12 +++++++++-- modules/board/tpl.admin/board_insert.html | 21 ++++++++++++++++--- .../board/tpl.admin/filter/insert_board.xml | 6 +++++- 5 files changed, 42 insertions(+), 6 deletions(-) diff --git a/modules/board/board.view.php b/modules/board/board.view.php index 09812ab1f..945949d5a 100644 --- a/modules/board/board.view.php +++ b/modules/board/board.view.php @@ -59,6 +59,10 @@ if($this->module_srl) Context::set('module_srl',$this->module_srl); } + // 기본 모듈 정보들 설정 + $this->list_count = $this->module_info->list_count?$this->module_info->list_count:20; + $this->page_count = $this->module_info->page_count?$this->module_info->page_count:10; + // 템플릿 경로 지정 $this->setTemplatePath($template_path); } diff --git a/modules/board/lang/ko.lang.php b/modules/board/lang/ko.lang.php index 974663b33..91ae340bb 100644 --- a/modules/board/lang/ko.lang.php +++ b/modules/board/lang/ko.lang.php @@ -19,6 +19,8 @@ $lang->footer_text = "하단 내용"; $lang->skin = "스킨"; $lang->use_category = "분류 사용"; + $lang->list_count = "목록 수"; + $lang->page_count = "페이지 수"; $lang->category_title = "분류명"; $lang->module = "모듈"; @@ -52,6 +54,9 @@ $lang->about_footer_text = "모듈의 하단에 표시되는 내용입니다 (html 태그 사용 가능)"; $lang->about_skin = "모듈의 스킨을 선택하실 수 있습니다"; $lang->about_use_category = "선택하시면 분류기능을 사용할 수 있습니다"; + $lang->about_list_count = "한페이지에 표시될 글의 수를 지정하실 수 있습니다. (기본 20개)"; + $lang->about_page_count = "목록 하단 페이지 이동 하는 링크의 수를 지정하실 수 있습니다. (기본 10개)"; + $lang->about_admin_id = "해당 모듈에 대해 최고 권한을 가지는 관리자를 지정할 수 있습니다. ,(콤마)로 다수 아이디 지정이 가능합니다. (관리자페이지 접근은 불가능)"; $lang->about_grant = "특정 권한의 대상을 모두 해제하시면 로그인하지 않은 회원까지 권한을 가질 수 있습니다"; diff --git a/modules/board/tpl.admin/board_info.html b/modules/board/tpl.admin/board_info.html index 02defa1b2..67572dbf4 100644 --- a/modules/board/tpl.admin/board_info.html +++ b/modules/board/tpl.admin/board_info.html @@ -5,13 +5,21 @@ {$lang->skin} {$module_info->skin} + + {$lang->browser_title} + {$module_info->browser_title} + {$lang->use_category} {$lang->use}{$lang->notuse} - {$lang->browser_title} - {$module_info->browser_title} + {$lang->list_count} + {$module_info->list_count?$module_info->list_count:20} + + + {$lang->page_count} + {$module_info->page_count?$module_info->page_count:10} {$lang->description} diff --git a/modules/board/tpl.admin/board_insert.html b/modules/board/tpl.admin/board_insert.html index 0a988284f..793969af5 100644 --- a/modules/board/tpl.admin/board_insert.html +++ b/modules/board/tpl.admin/board_insert.html @@ -27,6 +27,13 @@ {$lang->about_mid} + + {$lang->browser_title} + + + + {$lang->about_browser_title} + {$lang->skin} @@ -48,12 +55,20 @@ {$lang->about_use_category} - {$lang->browser_title} - + {$lang->list_count} + - {$lang->about_browser_title} + {$lang->about_list_count} + + {$lang->page_count} + + + + {$lang->about_page_count} + + {$lang->is_default} diff --git a/modules/board/tpl.admin/filter/insert_board.xml b/modules/board/tpl.admin/filter/insert_board.xml index 4c0da1308..438c70204 100644 --- a/modules/board/tpl.admin/filter/insert_board.xml +++ b/modules/board/tpl.admin/filter/insert_board.xml @@ -2,13 +2,17 @@
+ + - + + +