모바일쇼핑몰 카카오톡 링크 보내기 기능 추가

This commit is contained in:
chicpro
2014-02-21 14:34:38 +09:00
parent 1c4f1d6518
commit d8441c31df
3 changed files with 147 additions and 0 deletions

View File

@ -1421,6 +1421,9 @@ function get_sns_share_link($sns, $url, $title, $img)
case 'googleplus':
$str = '<a href="https://plus.google.com/share?url='.urlencode($url).'" class="share-googleplus" target="_blank"><img src="'.$img.'" alt="구글플러스에 공유"></a>';
break;
case 'kakaotalk':
$str = '<button type="button" onclick="kakaolink_message(this);"><img src="'.$img.'" alt="카카오톡링크 보내기"></button>';
break;
}
return $str;