diff --git a/lib/shop.lib.php b/lib/shop.lib.php
index d2f904887..0142d99a7 100644
--- a/lib/shop.lib.php
+++ b/lib/shop.lib.php
@@ -1422,7 +1422,7 @@ function get_sns_share_link($sns, $url, $title, $img)
$str = '
';
break;
case 'kakaotalk':
- $str = '';
+ $str = '
';
break;
}
diff --git a/mobile/shop/kakaolinkform.php b/mobile/shop/kakaolinkform.php
new file mode 100644
index 000000000..999c00020
--- /dev/null
+++ b/mobile/shop/kakaolinkform.php
@@ -0,0 +1,15 @@
+'.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 a2b6b4e37..6794afda5 100644
--- a/mobile/skin/shop/basic/item.form.skin.php
+++ b/mobile/skin/shop/basic/item.form.skin.php
@@ -6,8 +6,7 @@ add_stylesheet('',
?>
-
-
+" method="post" onsubmit="return fitem_submit(this);">
@@ -458,51 +457,4 @@ function fitem_submit(f)
return true;
}
-
-// 카카오톡 링크 보내기 메세지 입력
-function kakaolink_message()
-{
- var popup = "";
- popup += "";
- popup += "
";
-
- $("form[name=fitem]").before(popup);
-}
-
-function send_cancel()
-{
- $("#kakao_message").remove();
-}
-
-// 카카오톡 링크 보내기
-function kakaolink_send(f)
-{
- var msg = f.message.value;
- if(!msg) {
- alert("메세지를 입력해 주세요");
- return false;
- }
-
- /*
- msg, url, appid, appname은 실제 서비스에서 사용하는 정보로 업데이트되어야 합니다.
- */
- kakao.link("talk").send({
- msg : msg,
- url : "",
- appid : "",
- appver : "2.0",
- appname : "",
- type : "link"
- });
-
- $("#kakao_message").remove();
-
- return false;
-
-}
\ No newline at end of file
diff --git a/mobile/skin/shop/basic/iteminfo.relation.skin.php b/mobile/skin/shop/basic/iteminfo.relation.skin.php
index 51405b182..7ae3118fe 100644
--- a/mobile/skin/shop/basic/iteminfo.relation.skin.php
+++ b/mobile/skin/shop/basic/iteminfo.relation.skin.php
@@ -11,9 +11,10 @@ add_stylesheet('',
set_mobile(true);
$list->set_query($sql);
+ $list->set_view('sns', true);
echo $list->run();
?>
diff --git a/mobile/skin/shop/basic/kakaolinkform.skin.php b/mobile/skin/shop/basic/kakaolinkform.skin.php
new file mode 100644
index 000000000..fab9e85ab
--- /dev/null
+++ b/mobile/skin/shop/basic/kakaolinkform.skin.php
@@ -0,0 +1,45 @@
+', 0);
+?>
+
+
+
+
+
+
\ No newline at end of file
diff --git a/mobile/skin/shop/basic/item.relation.skin.php b/mobile/skin/shop/basic/relation.10.skin.php
similarity index 95%
rename from mobile/skin/shop/basic/item.relation.skin.php
rename to mobile/skin/shop/basic/relation.10.skin.php
index e88af5e23..7807b304b 100644
--- a/mobile/skin/shop/basic/item.relation.skin.php
+++ b/mobile/skin/shop/basic/relation.10.skin.php
@@ -79,6 +79,8 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
}
if ($this->view_sns) {
+ $sns_url = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];
+ $sns_title = get_text($row['it_name']).' | '.get_text($config['cf_title']);
echo "";
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');
diff --git a/mobile/skin/shop/basic/relation.skin.php b/mobile/skin/shop/basic/relation.skin.php
deleted file mode 100644
index a3be0b7d7..000000000
--- a/mobile/skin/shop/basic/relation.skin.php
+++ /dev/null
@@ -1,101 +0,0 @@
-', 0);
-?>
-
-
-
-
-css) {
- echo "
css}\">\n";
- } else {
- echo "\n";
- }
- }
-
- echo "- img_width}px\">\n";
-
- if ($this->href) {
- echo "href}{$row['it_id']}\" class=\"sct_a sct_img\">\n";
- }
-
- if ($this->view_it_img) {
- echo get_it_image($row['it_id'], $this->img_width, $this->img_height, '', '', stripslashes($row['it_name']))."\n";
- }
-
- if ($this->href) {
- echo "\n";
- }
-
- if ($this->view_it_id) {
- echo "<".stripslashes($row['it_id']).">\n";
- }
-
- if ($this->href) {
- echo "href}{$row['it_id']}\" class=\"sct_a sct_txt\">\n";
- }
-
- if ($this->view_it_name) {
- echo stripslashes($row['it_name'])."\n";
- }
-
- if ($this->href) {
- echo "\n";
- }
-
- if ($this->view_it_basic && $row['it_basic']) {
- echo "
".stripslashes($row['it_basic'])."
\n";
- }
-
- if ($this->view_it_cust_price || $this->view_it_price) {
-
- echo "\n";
-
- if ($this->view_it_cust_price && $row['it_cust_price']) {
- echo "".display_price($row['it_cust_price'])."\n";
- }
-
- if ($this->view_it_price) {
- echo display_price(get_price($row), $row['it_tel_inq'])."\n";
- }
-
- echo "
\n";
-
- }
-
- if ($this->view_it_icon) {
- echo "".item_icon($row)."
\n";
- }
-
- if ($this->view_sns) {
- echo "";
- 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";
- }
-
- if ($this->href) {
- echo "\n";
- }
-
- echo " \n";
-}
-
-if ($i > 0) echo "
\n";
-
-if($i == 0) echo "등록된 상품이 없습니다.
\n";
-?>
-
-
-
\ No newline at end of file