모바일: #466 SNS 스킨, 모바일에서는 댓글에서도 큰 아이콘으로
This commit is contained in:
@ -1,14 +1,18 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
$mobile_sns_icon = '';
|
||||
if (G4_IS_MOBILE) $sns_mc_icon = '';
|
||||
else $sns_mc_icon = '_cmt';
|
||||
|
||||
if (!$board['bo_use_sns']) return;
|
||||
?>
|
||||
<?php if ($list[$i]['wr_facebook_user']) { ?>
|
||||
<a href="https://www.facebook.com/profile.php?id=<?php echo $list[$i]['wr_facebook_user']; ?>" target="_blank"><img src="<?php echo G4_SNS_URL; ?>/icon/facebook_cmt.png" alt="페이스북에도 등록됨"></a>
|
||||
<a href="https://www.facebook.com/profile.php?id=<?php echo $list[$i]['wr_facebook_user']; ?>" target="_blank"><img src="<?php echo G4_SNS_URL; ?>/icon/facebook<?php echo $sns_mc_icon; ?>.png" alt="페이스북에도 등록됨"></a>
|
||||
<?php } ?>
|
||||
<?php if ($list[$i]['wr_twitter_user']) { ?>
|
||||
<a href="https://www.twitter.com/<?php echo $list[$i]['wr_twitter_user']; ?>" target="_blank"><img src="<?php echo G4_SNS_URL; ?>/icon/twitter_cmt.png" alt="트위터에도 등록됨"></a>
|
||||
<a href="https://www.twitter.com/<?php echo $list[$i]['wr_twitter_user']; ?>" target="_blank"><img src="<?php echo G4_SNS_URL; ?>/icon/twitter<?php echo $sns_mc_icon; ?>.png" alt="트위터에도 등록됨"></a>
|
||||
<?php } ?>
|
||||
<?php if ($list[$i]['wr_me2day_user']) { ?>
|
||||
<a href="http://me2day.net/<?php echo $list[$i]['wr_me2day_user']; ?>" target="_blank"><img src="<?php echo G4_SNS_URL; ?>/icon/me2day_cmt.png" alt="미투데이에도 등록됨"></a>
|
||||
<a href="http://me2day.net/<?php echo $list[$i]['wr_me2day_user']; ?>" target="_blank"><img src="<?php echo G4_SNS_URL; ?>/icon/me2day<?php echo $sns_mc_icon; ?>.png" alt="미투데이에도 등록됨"></a>
|
||||
<?php } ?>
|
||||
|
||||
Reference in New Issue
Block a user