From d930b36d6102e675a52f278ca3731830993207b9 Mon Sep 17 00:00:00 2001 From: thisgun Date: Thu, 18 Oct 2018 18:44:24 +0900 Subject: [PATCH] =?UTF-8?q?LGU=20=EB=B3=B8=EC=9D=B8=EA=B2=B0=EC=A0=9C=20?= =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC=EC=97=90=EC=84=9C=20=EC=B6=9C?= =?UTF-8?q?=EB=A0=A5=EC=95=88=EB=90=98=EB=8A=94=20=EB=AC=B8=EC=A0=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/certify.js | 7 ++++++- mobile/skin/member/basic/register_form.skin.php | 16 ++++++++++------ .../skin/member/basic/register_form.skin.php | 16 ++++++++++------ 3 files changed, 26 insertions(+), 13 deletions(-) diff --git a/js/certify.js b/js/certify.js index d98c59785..bcf4f9ed8 100644 --- a/js/certify.js +++ b/js/certify.js @@ -1,6 +1,11 @@ // 본인확인 인증창 호출 -function certify_win_open(type, url) +function certify_win_open(type, url, event) { + + if (typeof event == "undefined") { + event = window.event; + } + if(type == 'kcb-ipin') { var popupWindow = window.open( url, "kcbPop", "left=200, top=100, status=0, width=450, height=550" ); diff --git a/mobile/skin/member/basic/register_form.skin.php b/mobile/skin/member/basic/register_form.skin.php index 7719e0deb..bcd18bfd5 100644 --- a/mobile/skin/member/basic/register_form.skin.php +++ b/mobile/skin/member/basic/register_form.skin.php @@ -52,7 +52,7 @@ add_stylesheet('', if($config['cf_cert_use']) { if($config['cf_cert_ipin']) echo ''.PHP_EOL; - if($config['cf_cert_hp'] && $config['cf_cert_hp'] != 'lg') + if($config['cf_cert_hp']) echo ''.PHP_EOL; echo ''.PHP_EOL; @@ -106,7 +106,7 @@ add_stylesheet('',
  • - " maxlength="255" placeholder="홈페이지"> + " maxlength="255" placeholder="홈페이지">
  • @@ -272,19 +272,19 @@ add_stylesheet('', // 아이핀인증 - $("#win_ipin_cert").click(function() { + $("#win_ipin_cert").click(function(e) { if(!cert_confirm()) return false; var url = "/ipin1.php"; - certify_win_open('kcb-ipin', url); + certify_win_open('kcb-ipin', url, e); return; }); // 휴대폰인증 - $("#win_hp_cert").click(function() { + $("#win_hp_cert").click(function(e) { if(!cert_confirm()) return false; @@ -298,6 +298,10 @@ add_stylesheet('', $cert_url = G5_KCPCERT_URL.'/kcpcert_form.php'; $cert_type = 'kcp-hp'; break; + case 'lg': + $cert_url = G5_LGXPAY_URL.'/AuthOnlyReq.php'; + $cert_type = 'lg-hp'; + break; default: echo 'alert("기본환경설정에서 휴대폰 본인확인 설정을 해주십시오");'; echo 'return false;'; @@ -305,7 +309,7 @@ add_stylesheet('', } ?> - certify_win_open("", ""); + certify_win_open("", "", e); return; }); diff --git a/theme/basic/mobile/skin/member/basic/register_form.skin.php b/theme/basic/mobile/skin/member/basic/register_form.skin.php index 3e11894c1..6f9137059 100644 --- a/theme/basic/mobile/skin/member/basic/register_form.skin.php +++ b/theme/basic/mobile/skin/member/basic/register_form.skin.php @@ -52,7 +52,7 @@ add_stylesheet('', if($config['cf_cert_use']) { if($config['cf_cert_ipin']) echo ''.PHP_EOL; - if($config['cf_cert_hp'] && $config['cf_cert_hp'] != 'lg') + if($config['cf_cert_hp']) echo ''.PHP_EOL; echo ''.PHP_EOL; @@ -106,7 +106,7 @@ add_stylesheet('',
  • - " maxlength="255" placeholder="홈페이지"> + " maxlength="255" placeholder="홈페이지">
  • @@ -272,19 +272,19 @@ add_stylesheet('', // 아이핀인증 - $("#win_ipin_cert").click(function() { + $("#win_ipin_cert").click(function(e) { if(!cert_confirm()) return false; var url = "/ipin1.php"; - certify_win_open('kcb-ipin', url); + certify_win_open('kcb-ipin', url, e); return; }); // 휴대폰인증 - $("#win_hp_cert").click(function() { + $("#win_hp_cert").click(function(e) { if(!cert_confirm()) return false; @@ -298,6 +298,10 @@ add_stylesheet('', $cert_url = G5_KCPCERT_URL.'/kcpcert_form.php'; $cert_type = 'kcp-hp'; break; + case 'lg': + $cert_url = G5_LGXPAY_URL.'/AuthOnlyReq.php'; + $cert_type = 'lg-hp'; + break; default: echo 'alert("기본환경설정에서 휴대폰 본인확인 설정을 해주십시오");'; echo 'return false;'; @@ -305,7 +309,7 @@ add_stylesheet('', } ?> - certify_win_open("", ""); + certify_win_open("", "", e); return; });