first commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
{if="$page_max > 1"}
|
||||
{if="$is_logged_in"}
|
||||
{$total="$linkcount"}
|
||||
{else}
|
||||
{if="empty($privateLinkcount)"}
|
||||
{$total="$linkcount"}
|
||||
{else}
|
||||
{$total=$linkcount - $privateLinkcount}
|
||||
{/if}
|
||||
{/if}
|
||||
{$from=($page_current - 1) * $links_per_page + 1}
|
||||
{$to=min($total, ($page_current - 1) * $links_per_page + $links_per_page)}
|
||||
<div class="paging">
|
||||
<div class="paging-links">
|
||||
{if="$next_page_url"}<a href="{$next_page_url}" class="paging-newer" title="Newer"><i class="mdi mdi-chevron-left"></i></a>{/if}
|
||||
<div class="paging-current">page <strong>{$page_current}</strong> / {$page_max}</div>
|
||||
{if="$previous_page_url"}<a href="{$previous_page_url}" class="paging-older" title="Older"><i class="mdi mdi-chevron-right"></i></a>{/if}
|
||||
</div>
|
||||
{loop="$action_plugin"}
|
||||
<div class="paging-plugin">
|
||||
<a {loop="$value.attr"}{$key}="{$value}" {/loop}>{$value.html}</a>
|
||||
</div>
|
||||
{/loop}
|
||||
</div>
|
||||
{/if}
|
||||
Reference in New Issue
Block a user