diff --git a/adm/board_form.php b/adm/board_form.php
index 6855e3cb6..f3870f5ce 100644
--- a/adm/board_form.php
+++ b/adm/board_form.php
@@ -76,6 +76,10 @@ if (!isset($board['bo_mobile_subject'])) {
sql_query(" ALTER TABLE `{$g5['board_table']}` ADD `bo_mobile_subject` VARCHAR(255) NOT NULL DEFAULT '' AFTER `bo_subject` ", false);
}
+if (!isset($board['bo_use_captcha'])) {
+ sql_query(" ALTER TABLE `{$g5['board_table']}` ADD `bo_use_captcha` TINYINT NOT NULL DEFAULT '0' AFTER `bo_use_sns` ");
+}
+
$required = "";
$readonly = "";
if ($w == '') {
@@ -771,6 +775,20 @@ $frm_submit .= '';
전체적용
+
복사, 이동시 로그
@@ -1316,7 +1322,7 @@ $(function(){
}
});
$("#cf_captcha").on("change", function(){
- if ($(this).val() == 'recaptcha') {
+ if ($(this).val() == 'recaptcha' || $(this).val() == 'recaptcha_inv') {
$("[class^='kcaptcha_']").hide();
} else {
$("[class^='kcaptcha_']").show();
diff --git a/bbs/write.php b/bbs/write.php
index 4282142de..7b7d1d4f2 100644
--- a/bbs/write.php
+++ b/bbs/write.php
@@ -386,7 +386,9 @@ else
$captcha_html = '';
$captcha_js = '';
-if ($is_guest) {
+$is_use_captcha = (!empty($board['bo_use_captcha']) || $is_guest) ? 1 : 0;
+
+if ($is_use_captcha) {
$captcha_html = captcha_html();
$captcha_js = chk_captcha_js();
}
diff --git a/bbs/write_update.php b/bbs/write_update.php
index 2dbbddde1..7c6099168 100644
--- a/bbs/write_update.php
+++ b/bbs/write_update.php
@@ -188,7 +188,9 @@ if ($w == '' || $w == 'u') {
alert('w 값이 제대로 넘어오지 않았습니다.');
}
-if ($is_guest && !chk_captcha()) {
+$is_use_captcha = (!empty($board['bo_use_captcha']) || $is_guest) ? 1 : 0;
+
+if ($is_use_captcha && !chk_captcha()) {
alert('자동등록방지 숫자가 틀렸습니다.');
}
diff --git a/css/default.css b/css/default.css
index 00a4a9222..1d013d7da 100644
--- a/css/default.css
+++ b/css/default.css
@@ -130,6 +130,7 @@ a.gnb_2da:hover{background:#f9f9f9;color:#000}
#aside {float:right;width:271px;padding:20px;border-left:1px solid #e8e8e8;margin-left:-1px;height:100%;}
#container {z-index:4;position:relative;float:left;padding:20px 20px 20px 0;width:670px;border-right:1px solid #e8e8e8;min-height:500px;height:auto !important;height:500px;font-size:1em;zoom:1}
+#container.aside_disable {float:none;width:100%;padding-right:0px;border-right:none 0}
#container:after {display:block;visibility:hidden;clear:both;content:""}
#container_title {font-size:1.25em;;font-weight:bold;border-bottom:1px solid #e8e8e8}
#container_title span{margin:0 auto;display:block;width:940px;height:60px;line-height:30px;padding:15px 0;}
diff --git a/head.php b/head.php
index 56bf65e37..6f3fee77c 100644
--- a/head.php
+++ b/head.php
@@ -149,7 +149,7 @@ include_once(G5_LIB_PATH.'/popular.lib.php');
';
+ $html .= '';
+ $html .= '
';
+ $html .= '';
+ $html .= '';
+
+ return $html;
+}
+
+// 캡챠 사용시 자바스크립트에서 입력된 캡챠를 검사함
+function chk_captcha_js()
+{
+ return "if (!chk_captcha()) return false;\n";
+}
+
+function chk_captcha(){
+
+ global $config;
+
+ $resp = null;
+
+ if ( isset($_POST["g-recaptcha-response"]) && !empty($_POST["g-recaptcha-response"]) ) {
+
+ $reCaptcha = new ReCaptcha_GNU( $config['cf_recaptcha_secret_key'] );
+
+ $resp = $reCaptcha->verify($_POST["g-recaptcha-response"], $_SERVER["REMOTE_ADDR"]);
+ }
+
+ if( ! $resp ){
+ return false;
+ }
+
+ if ($resp != null && $resp->success) {
+ return true;
+ }
+
+ return false;
+}
+?>
\ No newline at end of file
diff --git a/plugin/social/register_member.php b/plugin/social/register_member.php
index 03c83b58b..505ea0f86 100644
--- a/plugin/social/register_member.php
+++ b/plugin/social/register_member.php
@@ -3,6 +3,8 @@ include_once('./_common.php');
//include_once(G5_CAPTCHA_PATH.'/captcha.lib.php');
include_once(G5_LIB_PATH.'/register.lib.php');
+define('ASIDE_DISABLE', 1);
+
if( ! $config['cf_social_login_use'] ){
alert('소셜 로그인을 사용하지 않습니다.');
}
diff --git a/skin/board/basic/write.skin.php b/skin/board/basic/write.skin.php
index 57d6c8bda..b84a799f8 100644
--- a/skin/board/basic/write.skin.php
+++ b/skin/board/basic/write.skin.php
@@ -157,7 +157,7 @@ add_stylesheet(' ', 0
-
+
diff --git a/skin/board/gallery/write.skin.php b/skin/board/gallery/write.skin.php
index 13fb02559..e81a329f0 100644
--- a/skin/board/gallery/write.skin.php
+++ b/skin/board/gallery/write.skin.php
@@ -157,7 +157,7 @@ add_stylesheet(' ', 0
-
+
diff --git a/skin/connect/basic/style.css b/skin/connect/basic/style.css
index 1a2149721..4c2b39013 100644
--- a/skin/connect/basic/style.css
+++ b/skin/connect/basic/style.css
@@ -1,4 +1,5 @@
@charset "utf-8";
+#current_connect ul:after{content:"";display:block;clear:both}
#current_connect li{width:208px;float:left;border:1px solid #d8d8d8;margin-left:10px;margin-bottom:10px;text-align:center;position:relative}
#current_connect li:nth-child(3n+1){clear:both;margin-left:0}
#current_connect .crt_name {margin:20px;display:block}
diff --git a/skin/member/basic/register.skin.php b/skin/member/basic/register.skin.php
index ddffa6ad8..d828f77ff 100644
--- a/skin/member/basic/register.skin.php
+++ b/skin/member/basic/register.skin.php
@@ -80,6 +80,17 @@ add_stylesheet(' ',
return true;
}
+ jQuery(function($){
+ $(document).on("click", "#chk_all", function(e){
+
+ if ($(this).prop('checked')) {
+ $( "input[name^='agree']" ).prop('checked', true);
+ } else {
+ $( "input[name^='agree']" ).prop('checked', false);
+ }
+
+ });
+ });
\ No newline at end of file
diff --git a/skin/member/basic/register_form.skin.php b/skin/member/basic/register_form.skin.php
index 0d023398c..2cb9e0c86 100644
--- a/skin/member/basic/register_form.skin.php
+++ b/skin/member/basic/register_form.skin.php
@@ -192,7 +192,7 @@ add_stylesheet(' ',
메일링서비스
>
- 정보 메일을 받겠습니다.
+ 정보 메일을 받겠습니다.
@@ -201,7 +201,7 @@ add_stylesheet(' ',
SMS 수신여부
>
- 휴대폰 문자메세지를 받겠습니다.
+ 휴대폰 문자메세지를 받겠습니다.
@@ -211,7 +211,7 @@ add_stylesheet(' ',
정보공개
id="reg_mb_open">
- 다른분들이 나의 정보를 볼 수 있도록 합니다.
+ 다른분들이 나의 정보를 볼 수 있도록 합니다.
정보공개를 바꾸시면 앞으로 일 이내에는 변경이 안됩니다.
@@ -241,7 +241,7 @@ add_stylesheet(' ',
}
?>
-
+
자동등록방지
diff --git a/skin/social/register_social_member.skin.php b/skin/social/register_social_member.skin.php
index ec8902e24..a18e09869 100644
--- a/skin/social/register_social_member.skin.php
+++ b/skin/social/register_social_member.skin.php
@@ -117,15 +117,9 @@ add_stylesheet(' 기존 계정에 연결하기
- SIR 기존 아이디에 SNS 아이디를 연결합니다.
- SNS 아이디로 로그인 하시면 SIR 아이디로 로그인 됩니다.
+ 기존 아이디에 SNS 아이디를 연결합니다.
-
-
- 닫기
-
-
아이디 필수
diff --git a/theme/basic/css/default.css b/theme/basic/css/default.css
index 11d87e6e3..870473fae 100644
--- a/theme/basic/css/default.css
+++ b/theme/basic/css/default.css
@@ -130,6 +130,7 @@ a.gnb_2da:hover{background:#f9f9f9;color:#000}
#aside {float:right;width:271px;padding:20px;border-left:1px solid #e8e8e8;margin-left:-1px;height:100%;}
#container {z-index:4;position:relative;float:left;padding:20px 20px 20px 0;width:670px;border-right:1px solid #e8e8e8;min-height:500px;height:auto !important;height:500px;font-size:1em;zoom:1}
+#container.aside_disable {float:none;width:100%;padding-right:0px;border-right:none 0}
#container:after {display:block;visibility:hidden;clear:both;content:""}
#container_title {font-size:1.25em;;font-weight:bold;border-bottom:1px solid #e8e8e8}
#container_title span{margin:0 auto;display:block;width:940px;height:60px;line-height:30px;padding:15px 0;}
diff --git a/theme/basic/group.php b/theme/basic/group.php
index 4c47dc818..35583312f 100644
--- a/theme/basic/group.php
+++ b/theme/basic/group.php
@@ -29,8 +29,8 @@ $sql .= " order by bo_order ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {
$lt_style = "";
- if ($i%2==1) $lt_style = "margin-left:20px";
- else $lt_style = "";
+ if ($i%2==1) $lt_style = "margin-left:15px";
+ if ($i%2==0) $lt_style = "clear:both";
?>
\ No newline at end of file
diff --git a/theme/basic/skin/member/basic/register_form.skin.php b/theme/basic/skin/member/basic/register_form.skin.php
index 0d023398c..2cb9e0c86 100644
--- a/theme/basic/skin/member/basic/register_form.skin.php
+++ b/theme/basic/skin/member/basic/register_form.skin.php
@@ -192,7 +192,7 @@ add_stylesheet('
',
메일링서비스
>
- 정보 메일을 받겠습니다.
+ 정보 메일을 받겠습니다.
@@ -201,7 +201,7 @@ add_stylesheet('
',
SMS 수신여부
>
- 휴대폰 문자메세지를 받겠습니다.
+
휴대폰 문자메세지를 받겠습니다.
@@ -211,7 +211,7 @@ add_stylesheet('
',
정보공개
id="reg_mb_open">
- 다른분들이 나의 정보를 볼 수 있도록 합니다.
+
다른분들이 나의 정보를 볼 수 있도록 합니다.
정보공개를 바꾸시면 앞으로 일 이내에는 변경이 안됩니다.
@@ -241,7 +241,7 @@ add_stylesheet('
',
}
?>
-
+
자동등록방지