웹마스터 팁
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
게시판DX 포인트 설정값이 0인 게시물 경고창 뜨지않도록
2014.12.31 03:11
게시판DX 포인트 설정값이 0인 게시물 경고창 뜨지않도록 수정
1.7 버전대에서도 DX를 사용하시는 분들이 있으실 것 같아
간단한거지만 적어봅니다~
skins/default/_viw.list.html
//찾기
<a cond="!$file->file_size" href="{$file->isvalid=='Y'?$file->uploaded_filename:'#'}" target="_blank"|cond="$file->isvalid=='Y'">{$file->source_filename}<span class="fsize">(link)</span></a>
//수정시작
<!--@if($un_extra->beluxe->use_point == 0)--> <a cond="$file->file_size" href="{$file->isvalid=='Y'?getUrl('').$file->download_url:'#'}" cond="$mi->use_restrict_down=='P'">{$file->source_filename}<span class="fsize">({FileHandler::filesize($file->file_size)}/{number_format($file->download_count)})</span></a> </block> <!--@else--> <a cond="$file->file_size" href="{$file->isvalid=='Y'?getUrl('').$file->download_url:'#'}" onclick="return confirm(download_message.replace('%s','{(int)$un_extra->beluxe->use_point}'))"|cond="$mi->use_restrict_down=='P'">{$file->source_filename}<span class="fsize">({FileHandler::filesize($file->file_size)}/{number_format($file->download_count)})</span></a> <!--@end--> </li> </ul> </div> </li> </ul> </div>
//수정 끝