웹마스터 팁
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"> 로 변경
댓글 4
-
유아원
2009.05.23 14:19
-
이키나!
2009.05.23 14:23
/modules/board/skins/xe_default/view_document.html
라고 적혀있네요 ^^;
-
유아원
2009.05.23 14:24
방금까지만해도 파일명 없었어요^^
-
우리아기
2009.05.23 14:25
수정했습니다.^^
어느 파일을 수정하라는건지;;