mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 16:52:16 +09:00
change pagination code
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9085 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
abe7b76c98
commit
d00f84fe03
10 changed files with 41 additions and 21 deletions
|
|
@ -7,6 +7,7 @@
|
|||
<div class="pagination" cond="$page_navigation">
|
||||
<a href="#" class="direction" page="1">« FIRST</a>
|
||||
<block cond="$page_navigation->first_page + $page_navigation->page_count > $page_navigation->last_page && $page_navigation->page_count != $page_navigation->total_page">
|
||||
{@$isGoTo = true}
|
||||
<a href="#" page="1">1</a>
|
||||
<a href="#FileBoxGoTo" class="tgAnchor" title="{$lang->cmd_go_to_page}">...</a>
|
||||
</block>
|
||||
|
|
@ -16,11 +17,12 @@
|
|||
<a cond="$page_no != $page" href="#" page="{$page_no}">{$page_no}</a>
|
||||
</block>
|
||||
<block cond="$last_page != $page_navigation->last_page">
|
||||
{@$isGoTo = true}
|
||||
<a href="#FileBoxGoTo" class="tgAnchor" title="{$lang->cmd_go_to_page}">...</a>
|
||||
<a href="#" page="{$page_navigation->last_page}">{$page_navigation->last_page}</a>
|
||||
</block>
|
||||
<a href="#" page="{$page_navigation->last_page}" class="direction">LAST »</a>
|
||||
<span id="FileBoxGoTo" class="tgContent">
|
||||
<span cond="$isGoTo" id="FileBoxGoTo" class="tgContent">
|
||||
<input name="page" title="{$lang->cmd_go_to_page}" />
|
||||
<button>Go</button>
|
||||
</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue