|
diff --git a/plugin/kcpcert/kcpcert_form.php b/plugin/kcpcert/kcpcert_form.php
index 8a62e0c39..42bcec548 100644
--- a/plugin/kcpcert/kcpcert_form.php
+++ b/plugin/kcpcert/kcpcert_form.php
@@ -41,7 +41,17 @@ $up_hash = $ct_cert->make_hash_data( $home_dir, $hash_data );
$ct_cert->mf_clear();
?>
-
\ No newline at end of file
+window.onload = function() {
+ cert_page();
+}
+
+// 인증 요청 시 호출 함수
+function cert_page()
+{
+ var frm = document.form_auth;
+
+ if ( ( frm.req_tx.value == "auth" || frm.req_tx.value == "otp_auth" ) )
+ {
+ frm.action="./kcpcert_result.php";
+
+ // MOBILE
+ if( ( navigator.userAgent.indexOf("Android") > - 1 || navigator.userAgent.indexOf("iPhone") > - 1 ) )
+ {
+ self.name="kcp_cert";
+ }
+ // PC
+ else
+ {
+ frm.target="kcp_cert";
+ }
+
+ frm.submit();
+
+ window.close();
+ }
+
+ else if ( frm.req_tx.value == "cert" )
+ {
+ if( ( navigator.userAgent.indexOf("Android") > - 1 || navigator.userAgent.indexOf("iPhone") > - 1 ) ) // 스마트폰인 경우
+ {
+ window.parent.$("input[name=veri_up_hash]").val(frm.up_hash.value); // up_hash 데이터 검증을 위한 필드
+ self.name="auth_popup";
+ }
+ else // 스마트폰 아닐때
+ {
+ window.opener.$("input[name=veri_up_hash]").val(frm.up_hash.value); // up_hash 데이터 검증을 위한 필드
+ frm.target = "auth_popup";
+ }
+
+ frm.action="";
+ frm.submit();
+ }
+}
+
+
+
+
\ No newline at end of file
diff --git a/plugin/kcpcert/kcpcert_result.php b/plugin/kcpcert/kcpcert_result.php
index 255122187..5eaab75ab 100644
--- a/plugin/kcpcert/kcpcert_result.php
+++ b/plugin/kcpcert/kcpcert_result.php
@@ -180,9 +180,26 @@ else if( $cert_enc_use != "Y" )
$ct_cert->mf_clear();
?>
+
+
diff --git a/skin/member/basic/register_form.skin.php b/skin/member/basic/register_form.skin.php
index 3f2076758..436bee0e9 100644
--- a/skin/member/basic/register_form.skin.php
+++ b/skin/member/basic/register_form.skin.php
@@ -10,7 +10,7 @@ add_stylesheet('',
-
+
|
-
+