From 057d6c6c81519ea8e3f3163ff606e1fe9a05bb2a Mon Sep 17 00:00:00 2001 From: gnuboard Date: Fri, 26 Apr 2013 16:34:02 +0900 Subject: [PATCH 01/13] =?UTF-8?q?=ED=9A=8C=EC=9B=90=EC=A0=95=EB=B3=B4?= =?UTF-8?q?=EC=88=98=EC=A0=95=EC=8B=9C=20=EC=9D=B4=EB=A6=84=EC=9D=84=20?= =?UTF-8?q?=EB=B0=98=EB=93=9C=EC=8B=9C=20=ED=95=9C=EA=B8=80=EB=A1=9C=20?= =?UTF-8?q?=ED=95=98=EC=A7=80=20=EC=95=8A=EC=95=84=EB=8F=84=20=EC=9E=85?= =?UTF-8?q?=EB=A0=A5=EB=90=98=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/member_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adm/member_form.php b/adm/member_form.php index 7aa3186e9..e89d4d747 100644 --- a/adm/member_form.php +++ b/adm/member_form.php @@ -122,7 +122,7 @@ include_once('./admin.head.php'); - + From c2fc37d0e498a2b54d1a892f04e75e28a186a9d4 Mon Sep 17 00:00:00 2001 From: gnuboard Date: Fri, 26 Apr 2013 16:35:02 +0900 Subject: [PATCH 02/13] =?UTF-8?q?=EB=A9=94=EC=84=B8=EC=A7=80=20=EC=B6=9C?= =?UTF-8?q?=EB=A0=A5=EC=8B=9C=20=ED=9C=B4=EB=8C=80=ED=8F=B0=EB=B2=88?= =?UTF-8?q?=ED=98=B8=EB=8F=84=20=EA=B0=99=EC=9D=B4=20=EB=85=B8=EC=B6=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/register.lib.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/register.lib.php b/lib/register.lib.php index 85a5d29da..9ec857267 100644 --- a/lib/register.lib.php +++ b/lib/register.lib.php @@ -160,13 +160,15 @@ function exist_mb_hp($reg_mb_hp, $reg_mb_id) { global $g4; + if (!trim($reg_mb_hp)) return ""; + $reg_mb_hp = hyphen_hp_number($reg_mb_hp); $sql = "select count(*) as cnt from {$g4['member_table']} where mb_hp = '$reg_mb_hp' and mb_id <> '$reg_mb_id' "; $row = sql_fetch($sql); if($row['cnt']) - return "이미 사용 중인 핸드폰번호입니다."; + return " 이미 사용 중인 핸드폰번호입니다. ".$reg_mb_hp; else return ""; } From 41d434aa530015f65e7de682c15929dafcadc5fc Mon Sep 17 00:00:00 2001 From: gnuboard Date: Fri, 26 Apr 2013 16:35:41 +0900 Subject: [PATCH 03/13] =?UTF-8?q?=ED=9C=B4=EB=8C=80=ED=8F=B0=EB=B2=88?= =?UTF-8?q?=ED=98=B8=20=EC=B2=B4=ED=81=AC=EC=8B=9C=20=EC=88=AB=EC=9E=90?= =?UTF-8?q?=EC=99=B8=EC=97=90=EB=8A=94=20=EB=AA=A8=EB=91=90=20=EA=B3=B5?= =?UTF-8?q?=EB=B0=B1=EC=9C=BC=EB=A1=9C=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/kcp/kcpcert.head.skin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/kcp/kcpcert.head.skin.php b/plugin/kcp/kcpcert.head.skin.php index b997e1d87..87baa3982 100644 --- a/plugin/kcp/kcpcert.head.skin.php +++ b/plugin/kcp/kcpcert.head.skin.php @@ -5,7 +5,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 if ($msg = valid_mb_hp($mb_hp)) alert($msg, "", true, true); if ($msg = exist_mb_hp($mb_hp, $mb_id)) alert($msg, "", true, true); -$reg_hp = hyphen_hp_number($mb_hp); +$reg_hp = preg_replace("/[^0-9]/", "", trim($_POST['mb_hp'])); /* ======================================================================================================= */ /* = 휴대폰인증 및 성인인증 = */ @@ -23,7 +23,7 @@ if($w == '') { } else if($w == 'u') { // 휴대폰번호 변경체크 - $old_hp = preg_replace("/[^0-9]/", "", $_POST['old_mb_hp']); + $old_hp = preg_replace("/[^0-9]/", "", trim($_POST['old_mb_hp'])); if($old_hp !== $reg_hp) { // 본인인증체크 From 67462b47549379093dbcf3d181031a2144a7d104 Mon Sep 17 00:00:00 2001 From: gnuboard Date: Fri, 26 Apr 2013 16:51:22 +0900 Subject: [PATCH 04/13] =?UTF-8?q?=ED=95=B8=EB=93=9C=ED=8F=B0=EC=9D=84=20?= =?UTF-8?q?=ED=9C=B4=EB=8C=80=ED=8F=B0=EC=9C=BC=EB=A1=9C=20=EC=9A=A9?= =?UTF-8?q?=EC=96=B4=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/member_form.php | 2 +- adm/member_form_update.php | 2 +- adm/member_list.php | 2 +- lib/register.lib.php | 4 ++-- mobile/skin/member/basic/register_form.skin.php | 2 +- plugin/kcp/kcpcert.head.skin.php | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/adm/member_form.php b/adm/member_form.php index e89d4d747..0474d95dc 100644 --- a/adm/member_form.php +++ b/adm/member_form.php @@ -141,7 +141,7 @@ include_once('./admin.head.php'); - + diff --git a/adm/member_form_update.php b/adm/member_form_update.php index d8f50f95f..d1be76a99 100644 --- a/adm/member_form_update.php +++ b/adm/member_form_update.php @@ -16,7 +16,7 @@ if ($member['mb_password'] != sql_password($_POST['admin_password'])) { $mb_id = escape_trim($_POST['mb_id']); -// 핸드폰번호 체크 +// 휴대폰번호 체크 $mb_hp = $_POST['mb_hp']; if($mb_hp) { $result = exist_mb_hp($mb_hp, $mb_id); diff --git a/adm/member_list.php b/adm/member_list.php index 28afd87fb..6eb982770 100644 --- a/adm/member_list.php +++ b/adm/member_list.php @@ -85,7 +85,7 @@ $colspan = 15; - + diff --git a/lib/register.lib.php b/lib/register.lib.php index 9ec857267..7d5d0309d 100644 --- a/lib/register.lib.php +++ b/lib/register.lib.php @@ -147,7 +147,7 @@ function valid_mb_hp($reg_mb_hp) { $reg_mb_hp = preg_replace("/[^0-9]/", "", $reg_mb_hp); if(!$reg_mb_hp) - return "핸드폰번호를 입력해 주십시오."; + return "휴대폰번호를 입력해 주십시오."; else { if(preg_match("/^01[0-9]{8,9}$/", $reg_mb_hp)) return ""; @@ -168,7 +168,7 @@ function exist_mb_hp($reg_mb_hp, $reg_mb_id) $row = sql_fetch($sql); if($row['cnt']) - return " 이미 사용 중인 핸드폰번호입니다. ".$reg_mb_hp; + return " 이미 사용 중인 휴대폰번호입니다. ".$reg_mb_hp; else return ""; } diff --git a/mobile/skin/member/basic/register_form.skin.php b/mobile/skin/member/basic/register_form.skin.php index 74fd42942..e2fd41a87 100644 --- a/mobile/skin/member/basic/register_form.skin.php +++ b/mobile/skin/member/basic/register_form.skin.php @@ -179,7 +179,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 > - 핸드폰 문자메세지를 받겠습니다. + 휴대폰 문자메세지를 받겠습니다. diff --git a/plugin/kcp/kcpcert.head.skin.php b/plugin/kcp/kcpcert.head.skin.php index 87baa3982..0d34c64f0 100644 --- a/plugin/kcp/kcpcert.head.skin.php +++ b/plugin/kcp/kcpcert.head.skin.php @@ -1,7 +1,7 @@ Date: Mon, 29 Apr 2013 10:10:16 +0900 Subject: [PATCH 05/13] =?UTF-8?q?=ED=9C=B4=EB=8C=80=ED=8F=B0=20=EB=B3=B8?= =?UTF-8?q?=EC=9D=B8=ED=99=95=EC=9D=B8=EC=8B=9C=20=EC=9E=84=EC=9D=98?= =?UTF-8?q?=EB=A1=9C=20=ED=8F=BC=EA=B0=92=EC=9D=84=20=EB=B3=80=EA=B2=BD?= =?UTF-8?q?=EC=8B=9C=ED=82=A4=EB=8A=94=20=EA=B2=BD=EC=9A=B0=20=EC=84=B8?= =?UTF-8?q?=EC=85=98=EA=B0=92=EA=B3=BC=20=EB=B9=84=EA=B5=90=ED=95=98?= =?UTF-8?q?=EC=97=AC=20=EB=B3=80=EA=B2=BD=EB=90=9C=20=EA=B0=92=EC=9D=B4=20?= =?UTF-8?q?=EC=9E=88=EB=8A=94=EC=A7=80=20=EA=B2=80=EC=82=AC=ED=95=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/kcp/kcpcert.ajax.php | 27 ++++++++++++++------------- plugin/kcp/kcpcert_result.php | 4 +--- 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/plugin/kcp/kcpcert.ajax.php b/plugin/kcp/kcpcert.ajax.php index f8c7e013d..159a58e47 100644 --- a/plugin/kcp/kcpcert.ajax.php +++ b/plugin/kcp/kcpcert.ajax.php @@ -1,23 +1,24 @@ "); $opener.$("input[name=mb_name]").val(""); - //$opener.$("input[name=kcpcert_no]").val(""); - //$opener.$("input[name=kcpcert_time]").val(""); + alert("본인의 휴대폰번호로 확인 되었습니다."); window.close(); }); From ead1b117dea42462a70bce9b3051ad0868566b53 Mon Sep 17 00:00:00 2001 From: whitedot Date: Mon, 29 Apr 2013 14:59:23 +0900 Subject: [PATCH 06/13] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90:=20gnb=20?= =?UTF-8?q?=EC=95=84=EC=9D=B4=EB=94=94=20=ED=81=B4=EB=9E=98=EC=8A=A4?= =?UTF-8?q?=EB=AA=85=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/default.css | 42 ++++++++++++++++++++++-------------------- head.php | 10 +++++----- js/jquery.menu.js | 38 +++++++++++++++++++------------------- 3 files changed, 46 insertions(+), 44 deletions(-) diff --git a/css/default.css b/css/default.css index c498d85bb..03c579a64 100644 --- a/css/default.css +++ b/css/default.css @@ -75,28 +75,30 @@ a:active {color:#000;text-decoration:underline} /* gnb js off */ #gnb {z-index:10;margin:-1px 0 0;border-top:1px solid #e7f1ed;border-bottom:1px solid #c3c7c5;background:#f0f4f8} #gnb h2 {position:absolute;margin:0;padding:0;font-size:0;line-height:0;overflow:hidden} -#gnb_ul {margin:0 auto;padding:0;width:980px;zoom:1} -#gnb_ul:after {display:block;visibility:hidden;clear:both;content:""} -.gnb_1depth {z-index:10;clear:both;zoom:1} -.gnb_1depth:after {display:block;visibility:hidden;clear:both;content:""} -.gnb_1depth a {display:block;float:left;width:80px;height:35px;font-weight:bold;line-height:2.95em;text-decoration:none} -.gnb_1depth a:focus, -.gnb_1depth a:hover {text-decoration:none} -.gnb_1depth ul {float:left;width:auto} -.gnb_2depth {float:left} -.gnb_2depth a {font-weight:normal} +#gnb_1dul {margin:0 auto;padding:0;width:980px;zoom:1} +#gnb_1dul:after {display:block;visibility:hidden;clear:both;content:""} +.gnb_1dli {z-index:10;clear:both;zoom:1} +.gnb_1dli:after {display:block;visibility:hidden;clear:both;content:""} +.gnb_1da {display:block;float:left;width:80px;height:35px;font-weight:bold;line-height:2.95em;text-decoration:none} +.gnb_1da:focus, +.gnb_1da:hover {text-decoration:none} +.gnb_2dul {float:left;width:auto} +.gnb_2dli {float:left} +.gnb_2da {display:block;float:left;width:80px;height:35px;line-height:2.95em;text-decoration:none} +.gnb_2da:focus, +.gnb_2da:hover {text-decoration:none} /* gnb js on */ .gnb_js {} -.gnb_js #gnb_ul {zoom:1} -.gnb_js #gnb_ul:after {display:block;visibility:hidden;clear:both;content:""} -.gnb_js .gnb_1depth {clear:none;position:relative;float:left} -.gnb_js .gnb_1depth a {text-align:center} -.gnb_js .gnb_1depth_air a {float:none;background:#f7f7f2;color:#000} -.gnb_js .gnb_1depth_on a {float:none;border-color:#e0e5e9;background:#fff;color:#000} -.gnb_js .gnb_sub_ul {position:absolute;top:35px;width:1px;height:1px;overflow:hidden} -.gnb_js .gnb_2depth a {display:inline-block;float:none !important;padding:0 10px;width:161px;text-align:left} -.gnb_1depth_over .gnb_sub_ul {left:-1px;width:181px;height:auto;border:1px solid #c3c7c5;border-top:0;background:#fff} -.gnb_1depth_over2 .gnb_sub_ul {right:-1px;width:181px;height:auto;border:1px solid #c3c7c5;border-top:0;background:#fff} +.gnb_js #gnb_1dul {zoom:1} +.gnb_js #gnb_1dul:after {display:block;visibility:hidden;clear:both;content:""} +.gnb_js .gnb_1dli {clear:none;position:relative;float:left} +.gnb_js .gnb_1da {text-align:center} +.gnb_js .gnb_1dli_air a {float:none;background:#f7f7f2;color:#000} +.gnb_js .gnb_1dli_on a {float:none;border-color:#e0e5e9;background:#fff;color:#000} +.gnb_js .gnb_2dul {position:absolute;top:35px;width:1px;height:1px;overflow:hidden} +.gnb_js .gnb_2da {display:inline-block;float:none !important;padding:0 10px;width:161px;text-align:left} +.gnb_1dli_over .gnb_2dul {left:-1px;width:181px;height:auto;border:1px solid #c3c7c5;border-top:0;background:#fff} +.gnb_1dli_over2 .gnb_2dul {right:-1px;width:181px;height:auto;border:1px solid #c3c7c5;border-top:0;background:#fff} .gnb_empty {width:100%;height:35px;text-align:center;line-height:2.95em} diff --git a/head.php b/head.php index ff2ad4bd8..18f66bd95 100644 --- a/head.php +++ b/head.php @@ -132,21 +132,21 @@ if ($config['cf_include_head']) {