diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-11-02 16:34:10 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2016-11-05 14:29:56 +0100 |
commit | c8f0a06d801d1e6405f5d86b45ba5967a6569c8c (patch) | |
tree | 173523374b5ac660ace025181acb817125ede482 /tpl/linklist.paging.html | |
parent | cac0ea87be6326271993c958788afbd244815ef1 (diff) | |
download | Shaarli-c8f0a06d801d1e6405f5d86b45ba5967a6569c8c.tar.gz Shaarli-c8f0a06d801d1e6405f5d86b45ba5967a6569c8c.tar.zst Shaarli-c8f0a06d801d1e6405f5d86b45ba5967a6569c8c.zip |
Improve theme dependent plugin placeholders:
- buttons_toolbar: now expect links represented by an array instead of HTML content
- fields_toolbar: now expect a form represented by an array instead of HTML content
- action_plugin: now expect links represented by an array instead of HTML content
Default templates updated accordingly
Diffstat (limited to 'tpl/linklist.paging.html')
-rw-r--r-- | tpl/linklist.paging.html | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/tpl/linklist.paging.html b/tpl/linklist.paging.html index e91c8f86..42f58d0d 100644 --- a/tpl/linklist.paging.html +++ b/tpl/linklist.paging.html | |||
@@ -13,7 +13,16 @@ | |||
13 | </div> | 13 | </div> |
14 | {/if} | 14 | {/if} |
15 | {loop="$action_plugin"} | 15 | {loop="$action_plugin"} |
16 | {$value} | 16 | <div class="paging_privatelinks"> |
17 | <a | ||
18 | {loop="$value"} | ||
19 | {if="$key!='html'"} | ||
20 | {$key}="{$value}" | ||
21 | {/if} | ||
22 | {/loop}> | ||
23 | {$value.html} | ||
24 | </a> | ||
25 | </div> | ||
17 | {/loop} | 26 | {/loop} |
18 | <div class="paging_linksperpage"> | 27 | <div class="paging_linksperpage"> |
19 | Links per page: <a href="?linksperpage=20">20</a> <a href="?linksperpage=50">50</a> <a href="?linksperpage=100">100</a> | 28 | Links per page: <a href="?linksperpage=20">20</a> <a href="?linksperpage=50">50</a> <a href="?linksperpage=100">100</a> |