mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-31 17:19:59 +09:00
댓글 목록에서 cpage가 없으면 제일 뒷페이지가 나타나도록 하고 페이지가 나눠지지 않으면 페이지 목록을 보이지 않도록 함
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3761 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
87bfa7fbe2
commit
4887c0983d
5 changed files with 29 additions and 17 deletions
|
|
@ -90,17 +90,19 @@
|
|||
<!--@end-->
|
||||
|
||||
<!-- 댓글 페이지 네비게이션 -->
|
||||
<!--@if($oDocument->comment_page_navigation)-->
|
||||
<div class="pageNavigation">
|
||||
<a href="{getUrl('cpage',1)}#comment" class="goToFirst"><img src="./images/common/bottomGotoFirst.gif" alt="{$lang->first_page}" width="7" height="5" /></a>
|
||||
<!--@while($page_no = $comment_page_navigation->getNextPage())-->
|
||||
<!--@while($page_no = $oDocument->comment_page_navigation->getNextPage())-->
|
||||
<!--@if($cpage == $page_no)-->
|
||||
<span class="current">{$page_no}</span>
|
||||
<!--@else-->
|
||||
<a href="{getUrl('cpage',$page_no)}#comment">{$page_no}</a>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
<a href="{getUrl('cpage',$comment_page_navigation->last_page)}#comment" class="goToLast"><img src="./images/common/bottomGotoLast.gif" alt="{$lang->last_page}" width="7" height="5" /></a>
|
||||
<a href="{getUrl('cpage',$oDocument->comment_page_navigation->last_page)}#comment" class="goToLast"><img src="./images/common/bottomGotoLast.gif" alt="{$lang->last_page}" width="7" height="5" /></a>
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue