mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-31 09:09:59 +09:00
#314 board 모듈을 코어에 포함
This commit is contained in:
parent
46900dfc8b
commit
9c76b509d9
103 changed files with 8382 additions and 0 deletions
48
modules/board/m.skins/default/comment.html
Normal file
48
modules/board/m.skins/default/comment.html
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
<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="btn de">{$lang->cmd_delete}</a>
|
||||
<!--@endif-->
|
||||
<a href="{getUrl('act','dispBoardReplyComment','comment_srl',$comment->comment_srl)}" class="btn 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;">‹ {$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} ›</a>
|
||||
<!--@endif-->
|
||||
</div>
|
||||
<!--@endif-->
|
||||
Loading…
Add table
Add a link
Reference in a new issue