We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cca855d commit 9a80412Copy full SHA for 9a80412
html-templates/subtemplates/paging.tpl
@@ -9,21 +9,19 @@
9
<span aria-hidden="true">«</span>
10
</a>
11
</li>
12
-
+
13
{foreach item=page from=range(1,ceil($total/$pageSize))}
14
{math "($page-1)*$pageSize" assign=offset}
15
<li class="{if $.get.offset == $offset}active{/if}"><a href="?{refill_query limit=$pageSize offset=$offset}">{$page}</a></li>
16
{/foreach}
17
18
{if $.get.offset < $total - $pageSize}
19
<li>
20
<a href="?{refill_query limit=$pageSize offset=$nextOffset}" aria-label="Next">
21
<span aria-hidden="true">»</span>
22
23
24
{/if}
25
26
27
28
</ul>
29
</nav>
0 commit comments