rhymix/modules/blog/skins/xe_blog/comment.html

56 lines
2.3 KiB
HTML

<!--@if($document->comment_list)-->
<ul id="reply">
<!--@foreach($document->comment_list as $key => $val)-->
<li <!--@if($val->depth)-->class="reply"<!--@end-->>
<!--@if($val->depth)-->
<div style="margin-left:{($val->depth-1)*1.3}em" class="replyIndent">
<!--@end-->
<a name="comment_{$key}"></a>
<div class="member_{$val->member_srl} author">{htmlspecialchars($val->nick_name)}</div>
<div class="replyOption">
<!--@if($val->is_granted || !$val->member_srl)-->
<a href="{getUrl('act','dispBlogDeleteComment','comment_srl',$val->comment_srl)}"><img src="./images/{$module_info->colorset}/buttonDeleteX.gif" alt="{$lang->cmd_reply}" width="12" height="13" /></a>
<a href="{getUrl('act','dispBlogModifyComment','comment_srl',$val->comment_srl)}"><img src="./images/{$module_info->colorset}/buttonModifyE.gif" alt="{$lang->cmd_modify}" width="20" height="18" /></a>
<!--@end-->
<a href="{getUrl('act','dispBlogReplyComment','comment_srl',$val->comment_srl)}"><img src="./images/{$module_info->colorset}/buttonReply.gif" alt="{$lang->cmd_reply}" width="20" height="18" /></a>
</div>
<div class="date">
{zdate($val->regdate, "Y.m.d H:i")}
<!--@if($grant->is_admin)-->
({$val->ipaddress})
<!--@end-->
</div>
<div class="replyContent">
{$val->content}
</div>
<!--@if($val->uploaded_count && $val->uploaded_list)-->
<div class="fileAttached">
<ul>
<!--@foreach($val->uploaded_list as $key => $file)-->
<li><a href="{getUrl('')}{$file->download_url}">{$file->source_filename} ({FileHandler::filesize($file->file_size)})({number_format($file->download_count)})</a></li>
<!--@end-->
</ul>
</div>
<!--@end-->
<!--@if($val->depth)-->
</div>
<!--@end-->
</li>
<!--@end-->
</ul>
<!--@end-->
<!-- 댓글 입력 폼 -->
<!--@if($grant->write_comment && $document->lock_comment == 'N')-->
<div id="comment_form_{$document->document_srl}"></div>
<!--@end-->