답변 1개 / 댓글 1개
채택된 답변
+20 포인트
skin/board/gallery/list.skin.php 파일에서..
<?php echo utf8_strcut(strip_tags($list[$i]['wr_content']), 68, '..'); ?>
여기를 이렇게 수정.
<?php echo ($list[$i]['icon_secret']) ? '비밀글입니다' : utf8_strcut(strip_tags($list[$i]['wr_content']), 68, '..'); ?>
아니면 이렇게 해도 되고..
<?php echo (strstr($list[$i]['wr_option'], 'secret')) ? '비밀글입니다' : utf8_strcut(strip_tags($list[$i]['wr_content']), 68, '..'); ?>
답변을 작성하려면 로그인이 필요합니다.
