rhymix/modules/board/m.skins/default/comment.html
conory b1cb1f3f34 다른 프레임워크와 css 충돌을 피하기 위해 rhymix.less의 class/id 이름에 prefix 처리
변경전의 xe.less 파일도 rhymix.less와 함께 load 하여 호환정 유지

CSS 충돌 예)
bootstrap의 .btn
사용 예)
bootstrap 사용시엔 {Context::unloadBasicFiles('xe')}으로 unload 시키면 문제없음
2018-08-03 19:45:30 +09:00

48 lines
1.9 KiB
HTML

<ul id="cl" class="rp tgo open">
{@ $_comment_list = $oDocument->getComments() }
{@ $start = true }
{@ $depth = 0 }
<!--@foreach($_comment_list as $key => $comment)-->
<!--@if(!$start && $comment->get('depth') == $depth)-->
</li>
<!--@end-->
<!--@if($comment->get('depth') > $depth)-->
<ul>
<!--@else-->
<!--@while($comment->get('depth') < $depth)-->
</li>
</ul>
{@ $depth -= 1 }
<!--@end-->
<!--@endif-->
<li>
{$comment->getContent(false)}
<span class="auth">
<em>{$comment->getNickName()}</em>
<span class="time">{$comment->getRegdate("Y.m.d")}</span>
<!--@if($comment->isGranted() || !$comment->get('member_srl'))-->
<a href="{getUrl('act','dispBoardDeleteComment','comment_srl',$comment->comment_srl)}" class="rhymix_button de">{$lang->cmd_delete}</a>
<!--@endif-->
<a href="{getUrl('act','dispBoardReplyComment','comment_srl',$comment->comment_srl)}" class="rhymix_button re">{$lang->cmd_reply}</a>
{@ $start = false }
{@ $depth = $comment->get('depth') }
</span>
<!--@endforeach-->
<!--@while($depth > 0)-->
</li>
</ul>
{@ $depth -= 1}
<!--@end-->
</li>
</ul>
<!--@if($oDocument->comment_page_navigation)-->
<div id="clpn" class="pn">
<!--@if($oDocument->comment_page_navigation->cur_page != 1)-->
<a href="#" onclick="loadPage({$oDocument->document_srl}, {$oDocument->comment_page_navigation->cur_page-1}); return false;">&lsaquo; {$lang->cmd_prev}</a>
<!--@endif-->
<strong id="curpage">{$oDocument->comment_page_navigation->cur_page} / {$oDocument->comment_page_navigation->last_page}</strong>
<!--@if($oDocument->comment_page_navigation->cur_page != $oDocument->comment_page_navigation->last_page)-->
<a href="#" onclick="loadPage({$oDocument->document_srl}, {$oDocument->comment_page_navigation->cur_page+1}); return false;">{$lang->cmd_next} &rsaquo;</a>
<!--@endif-->
</div>
<!--@endif-->