update
This commit is contained in:
21
Admin/template/partial/Shared/Pagination.tpl
Normal file
21
Admin/template/partial/Shared/Pagination.tpl
Normal file
@@ -0,0 +1,21 @@
|
||||
<div style="width:100%;text-align:center;">
|
||||
{if $PageCount < 2 }
|
||||
|
||||
{else}
|
||||
{if $CurrentPage > 1}
|
||||
<a href="{$URLParam.0},{$CurrentPage-1},{$URLParam.1}.frmx">Poprzednia Strona</a>
|
||||
{/if}
|
||||
|
||||
{section name=page loop=$PageCount}
|
||||
{if ($CurrentPage == $smarty.section.page.rownum)}
|
||||
<b>{$smarty.section.page.rownum}</b>
|
||||
{else}
|
||||
<a href="{$URLParam.0},{$smarty.section.page.rownum},{$URLParam.1}.frmx">{$smarty.section.page.rownum}</a>
|
||||
{/if}
|
||||
{/section}
|
||||
|
||||
{if $CurrentPage < $PageCount}
|
||||
<a href="{$URLParam.0},{$CurrentPage+1},{$URLParam.1}.frmx">Nastêpna Strona</a>
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
Reference in New Issue
Block a user