mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-30 00:29:58 +09:00
Fix unnecessary variables in links generated by default board skins
https://xetown.com/questions/1818810
This commit is contained in:
parent
602ee88d65
commit
f0b84faf03
12 changed files with 137 additions and 137 deletions
|
|
@ -1,48 +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-->
|
||||
<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('', 'mid', $mid, 'act', 'dispBoardDeleteComment', 'comment_srl', $comment->comment_srl)}" class="btn de">{$lang->cmd_delete}</a>
|
||||
<!--@endif-->
|
||||
<a href="{getUrl('', 'mid', $mid, '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