From d0662d53b7c2ea0348ccb624f3faf91a0ff1472a Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 26 Aug 2013 18:49:44 +0900 Subject: [PATCH 1/2] =?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; + + +
@@ -263,46 +266,43 @@ $(function() { $("#reg_zip_find").css("display", "inline-block"); $("#reg_mb_zip1, #reg_mb_zip2, #reg_mb_addr1").attr("readonly", true); - - - - // KCB 아이핀인증 + + // 아이핀인증 $("#win_ipin_cert").click(function() { if(!cert_confirm()) return false; var url = "/ipin1.php"; - var popupWindow = window.open( url, "kcbPop", "left=200, top=100, status=0, width=450, height=550" ); - popupWindow.focus(); + certify_win_open('kcb-ipin', url); return; }); - - - // KCB 휴대폰인증 + + + // 휴대폰인증 $("#win_hp_cert").click(function() { if(!cert_confirm()) return false; - var url = "/hpcert1.php"; - var popupWindow = window.open( url, "auth_popup", "left=200, top=100, width=430, height=590, scrollbar=yes" ); - popupWindow.focus(); + + + certify_win_open("", ""); return; }); - - - // KCP 휴대폰인증 - $("#win_hp_cert").click(function() { - if(!cert_confirm()) - return false; - - auth_type_check($("#reg_mb_name").val()); - return false; - }); - - - }); // 인증체크 @@ -322,7 +322,7 @@ function cert_confirm() return true; } - if(confirm("이미 "+type+" 본인확인을 완료하셨습니다.\n\n이전 인증을 취소하고 다시 인증하시겠습니까?")) + if(confirm("이미 "+type+"으로 본인확인을 완료하셨습니다.\n\n이전 인증을 취소하고 다시 인증하시겠습니까?")) return true; else return false; diff --git a/plugin/kcpcert/kcpcert_config.php b/plugin/kcpcert/kcpcert_config.php index eccce3b72..921fe5287 100644 --- a/plugin/kcpcert/kcpcert_config.php +++ b/plugin/kcpcert/kcpcert_config.php @@ -1,5 +1,8 @@ \ No newline at end of file diff --git a/plugin/kcpcert/kcpcert_result.php b/plugin/kcpcert/kcpcert_result.php index a067d245c..3621f2af4 100644 --- a/plugin/kcpcert/kcpcert_result.php +++ b/plugin/kcpcert/kcpcert_result.php @@ -1,5 +1,6 @@ "); + $opener.$("input[name=mb_name]").val("").attr("readonly", true); $opener.$("input[name=mb_hp]").val("").attr("readonly", true); alert("본인의 휴대폰번호로 확인 되었습니다."); window.close(); diff --git a/plugin/okname/hpcert1.php b/plugin/okname/hpcert1.php index 30420c1d1..067c99e5d 100644 --- a/plugin/okname/hpcert1.php +++ b/plugin/okname/hpcert1.php @@ -1,5 +1,9 @@ $b) { @@ -124,6 +127,7 @@ $(function() { $opener.$("input[name=cert_type]").val(""); $opener.$("input[name=mb_name]").val("").attr("readonly", true); $opener.$("input[name=mb_hp]").val("").attr("readonly", true); + alert("본인의 휴대폰번호로 확인 되었습니다."); window.close(); }); diff --git a/plugin/okname/ipin1.php b/plugin/okname/ipin1.php index d69c2d77a..aed8c6c01 100644 --- a/plugin/okname/ipin1.php +++ b/plugin/okname/ipin1.php @@ -1,5 +1,9 @@ + + + @@ -251,84 +254,52 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
- -