From d0662d53b7c2ea0348ccb624f3faf91a0ff1472a Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 26 Aug 2013 18:49:44 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B2=8C=EC=8B=9C=EA=B8=80=20=EC=9E=91?= =?UTF-8?q?=EC=84=B1=EC=8B=9C=20=EC=B5=9C=EC=86=8C=20=EC=B5=9C=EB=8C=80=20?= =?UTF-8?q?=EA=B8=80=EC=9E=90=EC=88=98=20=EC=B2=B4=ED=81=AC=20=EC=8A=A4?= =?UTF-8?q?=ED=81=AC=EB=A6=BD=ED=8A=B8=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/write.php | 11 +++++ mobile/skin/board/basic/write.skin.php | 61 ++++++++++++----------- mobile/skin/board/gallery/write.skin.php | 63 +++++++++++++----------- skin/board/basic/write.skin.php | 37 +++++++++++++- skin/board/gallery/write.skin.php | 37 +++++++++++++- 5 files changed, 149 insertions(+), 60 deletions(-) diff --git a/bbs/write.php b/bbs/write.php index 71099e646..c77121443 100644 --- a/bbs/write.php +++ b/bbs/write.php @@ -198,6 +198,17 @@ if ($config['cf_kcpcert_use'] != '' && !$is_admin) { } } +// 글자수 제한 설정값 +if ($is_admin || $board['bo_use_dhtml_editor']) +{ + $write_min = $write_max = 0; +} +else +{ + $write_min = (int)$board['bo_write_min']; + $write_max = (int)$board['bo_write_max']; +} + $g4['title'] = $board['bo_subject']." ".$title_msg; $is_notice = false; diff --git a/mobile/skin/board/basic/write.skin.php b/mobile/skin/board/basic/write.skin.php index 429e91276..39c1c1264 100644 --- a/mobile/skin/board/basic/write.skin.php +++ b/mobile/skin/board/basic/write.skin.php @@ -107,9 +107,15 @@ echo $option_hidden; -

이 게시판은 최소 글자 초과, 최대 글자 미만까지 글을 쓰실 수 있습니다.

+ + +

이 게시판은 최소 글자 이상, 최대 글자 이하까지 글을 쓰실 수 있습니다.

+ -
글자
+ + +
글자
+ @@ -157,34 +163,19 @@ echo $option_hidden; diff --git a/skin/board/basic/write.skin.php b/skin/board/basic/write.skin.php index 84fe392ec..153f3aaaa 100644 --- a/skin/board/basic/write.skin.php +++ b/skin/board/basic/write.skin.php @@ -123,9 +123,15 @@ echo $option_hidden; -

이 게시판은 최소 글자 초과, 최대 글자 미만까지 글을 쓰실 수 있습니다.

+ + +

이 게시판은 최소 글자 이상, 최대 글자 이하까지 글을 쓰실 수 있습니다.

+ -
글자
+ + +
글자
+ @@ -173,6 +179,19 @@ echo $option_hidden;