diff --git a/adm/config_form.php b/adm/config_form.php index a6e4f067c..b2fc57f7a 100644 --- a/adm/config_form.php +++ b/adm/config_form.php @@ -177,6 +177,12 @@ if(!isset($config['cf_optimize_date'])) { ADD `cf_optimize_date` date NOT NULL default '0000-00-00' AFTER `cf_popular_del` ", true); } +// 카카오톡링크 api 키 +if(!isset($config['cf_kakao_js_apikey'])) { + sql_query(" ALTER TABLE `{$g5['config_table']}` + ADD `cf_kakao_js_apikey` varchar(255) NOT NULL DEFAULT '' AFTER `cf_googl_shorturl_apikey` ", true); +} + if(!$config['cf_faq_skin']) $config['cf_faq_skin'] = "basic"; if(!$config['cf_mobile_faq_skin']) $config['cf_mobile_faq_skin'] = "basic"; @@ -1056,6 +1062,10 @@ if ($config['cf_icode_id'] && $config['cf_icode_pw']) { API Key 등록하기 + + + 앱 등록하기 + diff --git a/adm/config_form_update.php b/adm/config_form_update.php index db852d38b..33e49d1a4 100644 --- a/adm/config_form_update.php +++ b/adm/config_form_update.php @@ -127,6 +127,7 @@ $sql = " update {$g5['config_table']} cf_icode_server_ip = '{$_POST['cf_icode_server_ip']}', cf_icode_server_port = '{$_POST['cf_icode_server_port']}', cf_googl_shorturl_apikey = '{$_POST['cf_googl_shorturl_apikey']}', + cf_kakao_js_apikey = '{$_POST['cf_kakao_js_apikey']}', cf_facebook_appid = '{$_POST['cf_facebook_appid']}', cf_facebook_secret = '{$_POST['cf_facebook_secret']}', cf_twitter_key = '{$_POST['cf_twitter_key']}', diff --git a/adm/member_form.php b/adm/member_form.php index 3410c242b..dd40d6f28 100644 --- a/adm/member_form.php +++ b/adm/member_form.php @@ -352,8 +352,8 @@ this.form.mb_intercept_date.value=this.form.mb_intercept_date.defaultValue; }"> diff --git a/mobile/skin/board/gallery/style.css b/mobile/skin/board/gallery/style.css index 9fcf341af..4f69e8f65 100644 --- a/mobile/skin/board/gallery/style.css +++ b/mobile/skin/board/gallery/style.css @@ -203,6 +203,7 @@ #bo_vc a {color:#000;text-decoration:none} #bo_vc p {padding:0 0 5px;line-height:1.8em} #bo_vc p a {text-decoration:underline} +#bo_vc p a.s_cmt {text-decoration:none} #bo_vc_empty {margin:0;padding:15px !important;text-align:center} #bo_vc #bo_vc_winfo {float:left} #bo_vc footer {zoom:1} diff --git a/mobile/skin/board/gallery/view_comment.skin.php b/mobile/skin/board/gallery/view_comment.skin.php index 7ebcce47d..946d56c44 100644 --- a/mobile/skin/board/gallery/view_comment.skin.php +++ b/mobile/skin/board/gallery/view_comment.skin.php @@ -309,7 +309,12 @@ var char_max = parseInt(); // 최대 // sns 등록 $(function() { - $("#bo_vc_send_sns").load( "/view_comment_write.sns.skin.php?bo_table=" ); + $("#bo_vc_send_sns").load( + "/view_comment_write.sns.skin.php?bo_table=", + function() { + save_html = document.getElementById('bo_vc_w').innerHTML; + } + ); }); diff --git a/plugin/sns/icon/kakaotalk.png b/plugin/sns/icon/kakaotalk.png new file mode 100644 index 000000000..78fe26ca7 Binary files /dev/null and b/plugin/sns/icon/kakaotalk.png differ diff --git a/plugin/sns/icon/kakaotalk_off.png b/plugin/sns/icon/kakaotalk_off.png new file mode 100644 index 000000000..c3acc1337 Binary files /dev/null and b/plugin/sns/icon/kakaotalk_off.png differ diff --git a/plugin/sns/view.sns.skin.php b/plugin/sns/view.sns.skin.php index 204d372a3..0af55cbca 100644 --- a/plugin/sns/view.sns.skin.php +++ b/plugin/sns/view.sns.skin.php @@ -21,8 +21,21 @@ $facebook_url = $sns_send.'&sns=facebook'; $twitter_url = $sns_send.'&sns=twitter'; $gplus_url = $sns_send.'&sns=gplus'; ?> + + + + + + + diff --git a/skin/board/basic/style.css b/skin/board/basic/style.css index 7b6510eff..29a31a5f4 100644 --- a/skin/board/basic/style.css +++ b/skin/board/basic/style.css @@ -236,6 +236,7 @@ html.no-overflowscrolling #autosave_pop {height:auto;max-height:10000px !importa #bo_vc a {color:#000;text-decoration:none} #bo_vc p {padding:0 0 5px;line-height:1.8em} #bo_vc p a {text-decoration:underline} +#bo_vc p a.s_cmt {text-decoration:none} #bo_vc_empty {margin:0;padding:20px !important;text-align:center} #bo_vc #bo_vc_winfo {float:left} #bo_vc footer {zoom:1} diff --git a/skin/board/basic/view_comment.skin.php b/skin/board/basic/view_comment.skin.php index db0d2f9ff..287c7a29c 100644 --- a/skin/board/basic/view_comment.skin.php +++ b/skin/board/basic/view_comment.skin.php @@ -317,7 +317,12 @@ comment_box('', 'c'); // 댓글 입력폼이 보이도록 처리하기위해서 // sns 등록 $(function() { - $("#bo_vc_send_sns").load( "/view_comment_write.sns.skin.php?bo_table=" ); + $("#bo_vc_send_sns").load( + "/view_comment_write.sns.skin.php?bo_table=", + function() { + save_html = document.getElementById('bo_vc_w').innerHTML; + } + ); }); diff --git a/skin/board/gallery/style.css b/skin/board/gallery/style.css index bfb4c3956..43bea9758 100644 --- a/skin/board/gallery/style.css +++ b/skin/board/gallery/style.css @@ -229,6 +229,7 @@ html.no-overflowscrolling #autosave_pop {height:auto;max-height:10000px !importa #bo_vc a {color:#000;text-decoration:none} #bo_vc p {padding:0 0 5px;line-height:1.8em} #bo_vc p a {text-decoration:underline} +#bo_vc p a.s_cmt {text-decoration:none} #bo_vc_empty {margin:0;padding:20px !important;text-align:center} #bo_vc #bo_vc_winfo {float:left} #bo_vc footer {zoom:1} diff --git a/skin/board/gallery/view_comment.skin.php b/skin/board/gallery/view_comment.skin.php index 56e62aa0e..97529e075 100644 --- a/skin/board/gallery/view_comment.skin.php +++ b/skin/board/gallery/view_comment.skin.php @@ -317,7 +317,12 @@ comment_box('', 'c'); // 댓글 입력폼이 보이도록 처리하기위해서 // sns 등록 $(function() { - $("#bo_vc_send_sns").load( "/view_comment_write.sns.skin.php?bo_table=" ); + $("#bo_vc_send_sns").load( + "/view_comment_write.sns.skin.php?bo_table=", + function() { + save_html = document.getElementById('bo_vc_w').innerHTML; + } + ); });