diff --git a/js/kakao.link.js b/js/kakao.link.js deleted file mode 100644 index 872b6f296..000000000 --- a/js/kakao.link.js +++ /dev/null @@ -1,95 +0,0 @@ -/* - Copyright 2012 KAKAO - */ - -(function (window, undefined) { - var kakao = {}; - window.kakao = window.kakao || kakao; - - var uagent = navigator.userAgent.toLocaleLowerCase(); - if (uagent.search("android") > -1) { - kakao.os = "android"; - if (uagent.search("chrome") > -1) { - kakao.browser = "android+chrome"; - } - } else if (uagent.search("iphone") > -1 || uagent.search("ipod") > -1 || uagent.search("ipad") > -1) { - kakao.os = "ios"; - } - - var app = { - talk: { - base_url: "kakaolink://sendurl?", - apiver: "2.0.1", - store: { - android: "market://details?id=com.kakao.talk", - ios: "http://itunes.apple.com/app/id362057947" - }, - package: "com.kakao.talk" - }, - story: { - base_url: "storylink://posting?", - apiver: "1.0", - store: { - android: "market://details?id=com.kakao.story", - ios: "http://itunes.apple.com/app/id486244601" - }, - package: "com.kakao.story" - } - }; - - kakao.link = function (name) { - var link_app = app[name]; - if (!link_app) return { send: function () { - throw "No App exists"; - }}; - return { - send: function (params) { - var _app = this.app; - params['apiver'] = _app.apiver; - var full_url = _app.base_url + serialized(params); - - var install_block = (function (os) { - return function () { - window.location = _app.store[os]; - }; - })(this.os); - - if (this.os == "ios") { - var timer = setTimeout(install_block, 2 * 1000); - window.addEventListener('pagehide', clearTimer(timer)); - window.location = full_url; - } else if (this.os == "android") { - if (this.browser == "android+chrome") { - window.location = "intent:" + full_url + "#Intent;package=" + _app.package + ";end;"; - } else { - var iframe = document.createElement('iframe'); - iframe.style.display = 'none'; - iframe.src = full_url; - iframe.onload = install_block; - document.body.appendChild(iframe); - } - } - }, - app: link_app, - os: kakao.os, - browser: kakao.browser - }; - - function serialized(params) { - var stripped = []; - for (var k in params) { - if (params.hasOwnProperty(k)) { - stripped.push(k + "=" + encodeURIComponent(params[k])); - } - } - return stripped.join("&"); - } - - function clearTimer(timer) { - return function () { - clearTimeout(timer); - window.removeEventListener('pagehide', arguments.callee); - }; - } - }; -}(window)); diff --git a/lib/shop.lib.php b/lib/shop.lib.php index 8ccfd9d0e..d236133e4 100644 --- a/lib/shop.lib.php +++ b/lib/shop.lib.php @@ -1444,9 +1444,6 @@ function get_sns_share_link($sns, $url, $title, $img) case 'googleplus': $str = '구글플러스에 공유'; break; - case 'kakaotalk': - $str = '카카오톡링크 보내기'; - break; } return $str; diff --git a/mobile/shop/kakaolinkform.php b/mobile/shop/kakaolinkform.php deleted file mode 100644 index 204469b84..000000000 --- a/mobile/shop/kakaolinkform.php +++ /dev/null @@ -1,15 +0,0 @@ -'.str_replace(G5_PATH.'/', '', $skin).' 파일이 존재하지 않습니다.'; - -include_once(G5_PATH.'/tail.sub.php'); -?> \ No newline at end of file diff --git a/mobile/skin/shop/basic/item.form.skin.php b/mobile/skin/shop/basic/item.form.skin.php index fad25a81f..899a4ddf4 100644 --- a/mobile/skin/shop/basic/item.form.skin.php +++ b/mobile/skin/shop/basic/item.form.skin.php @@ -65,7 +65,6 @@ add_stylesheet('', 0 - diff --git a/mobile/skin/shop/basic/kakaolinkform.skin.php b/mobile/skin/shop/basic/kakaolinkform.skin.php deleted file mode 100644 index 4b2cb9008..000000000 --- a/mobile/skin/shop/basic/kakaolinkform.skin.php +++ /dev/null @@ -1,51 +0,0 @@ -', 0); -?> - - - -
-

카카오톡으로 보내기

- -
-
-
- - -
-
- - -
- -
- - \ No newline at end of file diff --git a/mobile/skin/shop/basic/list.10.skin.php b/mobile/skin/shop/basic/list.10.skin.php index 08eae29fa..77bb686e6 100644 --- a/mobile/skin/shop/basic/list.10.skin.php +++ b/mobile/skin/shop/basic/list.10.skin.php @@ -79,7 +79,6 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_fb.png'); echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_twt.png'); echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_goo.png'); - echo get_sns_share_link('kakaotalk', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_kakao.png'); echo "\n"; } diff --git a/mobile/skin/shop/basic/main.10.skin.php b/mobile/skin/shop/basic/main.10.skin.php index 38d05804a..b3963054d 100644 --- a/mobile/skin/shop/basic/main.10.skin.php +++ b/mobile/skin/shop/basic/main.10.skin.php @@ -79,7 +79,6 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_fb.png'); echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_twt.png'); echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_goo.png'); - echo get_sns_share_link('kakaotalk', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_kakao.png'); echo "\n"; } diff --git a/mobile/skin/shop/basic/relation.10.skin.php b/mobile/skin/shop/basic/relation.10.skin.php index 76b30a640..77c1b1d78 100644 --- a/mobile/skin/shop/basic/relation.10.skin.php +++ b/mobile/skin/shop/basic/relation.10.skin.php @@ -79,7 +79,6 @@ for ($i=0; $row=sql_fetch_array($result); $i++) { echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_fb.png'); echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_twt.png'); echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_goo.png'); - echo get_sns_share_link('kakaotalk', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_kakao.png'); echo "\n"; } diff --git a/mobile/skin/shop/basic/style.css b/mobile/skin/shop/basic/style.css index 0f9faf61b..25e0dc6a9 100644 --- a/mobile/skin/shop/basic/style.css +++ b/mobile/skin/shop/basic/style.css @@ -251,10 +251,6 @@ #sit_qa_w {display:none} -/* 카카오톡 보내기 */ -#kakao_message label {display:block;margin:0 0 10px} -#kakao_title {margin:0 0 20px} - /* 쇼핑몰 이벤트 */ #sev {margin:0;padding:0;min-height:150px;list-style:none} #sev li {position:relative;margin:-1px 0 0;border-bottom:1px solid #e9e9e9}