쇼핑몰: 상품목록 상품상세보기 링크와 SNS 보내기 링크 분리

This commit is contained in:
whitedot
2013-08-08 16:13:50 +09:00
parent 4c6eaed24f
commit 0b56b1e784
5 changed files with 17 additions and 16 deletions

View File

@ -56,6 +56,10 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
echo "<span class=\"sct_icon\">".item_icon($row)."</span>\n";
}
if ($this->href) {
echo "</a>\n";
}
if ($this->view_sns) {
echo "<div class=\"sct_sns\">";
echo get_sns_share_link('facebook', $sns_url, $sns_title, G4_SHOP_URL.'/img/sns_fb.png');
@ -64,10 +68,6 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
echo "</div>\n";
}
if ($this->href) {
echo "</a>\n";
}
echo "</li>\n";
}