웹마스터 팁
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
BGM 쓰시는분 게시판 에서 첨부파일 다운받을때 끊어지시죠?ㅎㅎ
2009.05.23 13:53
<!--@if($oDocument->hasUploadedFiles())--> <dl class="attachedFile"> <dt>{$lang->uploaded_file} :</dt> {@ $uploaded_list = $oDocument->getUploadedFiles() } <!--@foreach($uploaded_list as $key => $file)--> <dd><a href="{getUrl()}{$file->download_url}">{$file->source_filename} <span class="bubble">[File Size:{FileHandler::filesize($file->file_size)}/Download:{number_format($file->download_count)}]</span></a></dd> <!--@end--> </dl> <!--@end-->
위에것을 아레것으로....
<!--@if($oDocument->hasUploadedFiles())--> <dl class="attachedFile"> <dt>{$lang->uploaded_file} :</dt> {@ $uploaded_list = $oDocument->getUploadedFiles() } <!--@foreach($uploaded_list as $key => $file)--> <dd><a href="{getUrl()}{$file->download_url}" target="_blank">{$file->source_filename} <span class="bubble">[File Size:{FileHandler::filesize($file->file_size)}/Download:{number_format($file->download_count)}]</span></a></dd> <!--@end--> </dl> <!--@end-->
소스 달라진점
<a href="{getUrl()}{$file->download_url}"> 이것을
<a href="{getUrl()}{$file->download_url}" target="_blank"> 로 변경