diff --git a/bbs/register_form_update.php b/bbs/register_form_update.php index 994b0eec0..4d79cee6a 100644 --- a/bbs/register_form_update.php +++ b/bbs/register_form_update.php @@ -110,7 +110,7 @@ if ($w == '' || $w == 'u') { if ($msg = prohibit_mb_email($mb_email))alert($msg, "", true, true); // 휴대폰 필수입력일 경우 휴대폰번호 유효성 체크 - if (($config['cf_use_hp'] || $config['cf_cert_hp']) && $config['cf_req_hp']) { + if ($config['cf_use_hp'] || ($config['cf_cert_hp'] || $config['cf_cert_sa']) && $config['cf_req_hp']) { if ($msg = valid_mb_hp($mb_hp)) alert($msg, "", true, true); } diff --git a/mobile/skin/member/basic/register.skin.php b/mobile/skin/member/basic/register.skin.php index 9282ae925..9c9141423 100644 --- a/mobile/skin/member/basic/register.skin.php +++ b/mobile/skin/member/basic/register.skin.php @@ -49,7 +49,7 @@ add_stylesheet('', 이용자 식별 및 본인여부 확인 - 아이디, 이름, 비밀번호 + 아이디, 이름, 비밀번호 회원 탈퇴 시까지 diff --git a/mobile/skin/member/basic/register_form.skin.php b/mobile/skin/member/basic/register_form.skin.php index 65b0cb336..d11e183ad 100644 --- a/mobile/skin/member/basic/register_form.skin.php +++ b/mobile/skin/member/basic/register_form.skin.php @@ -52,10 +52,10 @@ add_stylesheet('', if($config['cf_cert_use']) { // #TODO 조건 추가 필요 if($config['cf_cert_sa']) { - echo ''.PHP_EOL; - echo ''.PHP_EOL; - echo ''.PHP_EOL; - echo ''.PHP_EOL; + echo ''.PHP_EOL; + echo ''.PHP_EOL; + echo ''.PHP_EOL; + echo ''.PHP_EOL; } if($config['cf_cert_hp']) echo ''.PHP_EOL; @@ -129,12 +129,12 @@ add_stylesheet('', - +
  • class="frm_input full_input " maxlength="20" placeholder="휴대폰번호"> - + @@ -289,62 +289,65 @@ add_stylesheet('', - + @@ -51,12 +51,12 @@ add_stylesheet('', 토스 인증'.PHP_EOL; - echo ''.PHP_EOL; - echo ''.PHP_EOL; - echo ''.PHP_EOL; - // } + if($config['cf_cert_sa']) { + echo ''.PHP_EOL; + echo ''.PHP_EOL; + echo ''.PHP_EOL; + echo ''.PHP_EOL; + } if($config['cf_cert_hp']) echo ''.PHP_EOL; if($config['cf_cert_ipin']) @@ -67,10 +67,17 @@ add_stylesheet('', ?>
    본인확인성인인증 완료 @@ -121,12 +128,12 @@ add_stylesheet('',
  • - +
  • class="frm_input full_input " maxlength="20" placeholder="휴대폰번호"> - + @@ -281,28 +288,66 @@ add_stylesheet('', - + @@ -56,13 +56,12 @@ add_stylesheet('',
  • 토스 인증'.PHP_EOL; - echo ''.PHP_EOL; - echo ''.PHP_EOL; - echo ''.PHP_EOL; - // } + if($config['cf_cert_sa']) { + echo ''.PHP_EOL; + echo ''.PHP_EOL; + echo ''.PHP_EOL; + echo ''.PHP_EOL; + } if($config['cf_cert_hp']) echo ''.PHP_EOL; if($config['cf_cert_ipin']) @@ -73,10 +72,17 @@ add_stylesheet('', ?>
    본인확인성인인증 완료 @@ -110,11 +116,11 @@ add_stylesheet('', - + + -
  • @@ -132,11 +138,11 @@ add_stylesheet('',
  • - + class="frm_input full_input " maxlength="20" placeholder="휴대폰번호"> - + @@ -294,14 +300,52 @@ gif, jpg, png파일만 가능하며 용량 $(function() { $("#reg_zip_find").css("display", "inline-block"); + var pageTypeParam = "pageType=register"; + + // TOSS 통합인증 + var url = "/kg_request.php"; + var type = ""; + var params = ""; + var request_url = ""; + + + $(".win_sa_cert").click(function() { + if(!cert_confirm()) return false; + type = $(this).data("type"); + switch(type) { + case "TOSS" : + params = "?directAgency=" + type + "&" + pageTypeParam; + request_url = url + params; + call_sa(request_url); + break; + case "PASS" : + params = "?directAgency=" + type + "&" + pageTypeParam; + request_url = url + params; + call_sa(request_url); + break; + case "PAYCO" : + params = "?directAgency=" + type + "&" + pageTypeParam; + request_url = url + params; + call_sa(request_url); + break; + case "KFTC" : + params = "?directAgency=" + type + "&" + pageTypeParam; + request_url = url + params; + call_sa(request_url); + break; + default : + return; + } + }); + // 아이핀인증 + var params = ""; $("#win_ipin_cert").click(function() { - if(!cert_confirm()) - return false; - - var url = "/ipin1.php"; + if(!cert_confirm()) return false; + params = "?" + pageTypeParam; + var url = "/ipin1.php"+params; certify_win_open('kcb-ipin', url); return; }); @@ -309,13 +353,13 @@ $(function() { // 휴대폰인증 + var params = ""; $("#win_hp_cert").click(function() { - if(!cert_confirm()) - return false; - - - - certify_win_open("", ""); + + certify_win_open("", ""+params); return; });