aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/linklist.paging.html
blob: 86019c01ee2a5cb4ddd2a9f8b50b59c694b00e2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<div class="paging">
{if="isLoggedIn()"}
    <div class="paging_privatelinks">
        <a href="?privateonly">
		{if="$privateonly"}
		<img src="images/private_16x16_active.png#" width="16" height="16" title="Click to see all links" alt="Click to see all links">
		{else}
		<img src="images/private_16x16.png#" width="16" height="16" title="Click to see only private links" alt="Click to see only private links">
		{/if}
		</a>


    </div>
{/if}
    {loop="$action_plugin"}
      <div class="paging_privatelinks">
        <a
          {loop="$value.attr"}
            {$key}="{$value}"
          {/loop}>
          {$value.html}
        </a>
      </div>
    {/loop}
    <div class="paging_linksperpage">
        Links per page: <a href="?linksperpage=20">20</a> <a href="?linksperpage=50">50</a> <a href="?linksperpage=100">100</a>
        <form method="GET" class="linksperpage"><input type="text" name="linksperpage" size="2"></form>
    </div>
    {if="$previous_page_url"} <a href="{$previous_page_url}" class="paging_older">&#x25C4;Older</a> {/if}
    <div class="paging_current">page {$page_current} / {$page_max} </div>
    {if="$next_page_url"} <a href="{$next_page_url}" class="paging_newer">Newer&#x25BA;</a> {/if}
</div>