From c8f0a06d801d1e6405f5d86b45ba5967a6569c8c Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Wed, 2 Nov 2016 16:34:10 +0100 Subject: 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 --- tpl/linklist.html | 14 +++++++++++++- tpl/linklist.paging.html | 11 ++++++++++- tpl/page.header.html | 9 ++++++++- 3 files changed, 31 insertions(+), 3 deletions(-) (limited to 'tpl') diff --git a/tpl/linklist.html b/tpl/linklist.html index 9979f12a..8608e61e 100644 --- a/tpl/linklist.html +++ b/tpl/linklist.html @@ -28,7 +28,19 @@ {loop="$plugins_header.fields_toolbar"} - {$value} +
+ {loop="$value.inputs"} + + {/loop} +
{/loop} 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 @@ {/if} {loop="$action_plugin"} - {$value} + {/loop}
Links per page: 20 50 100 diff --git a/tpl/page.header.html b/tpl/page.header.html index 0012c689..b9fc5275 100644 --- a/tpl/page.header.html +++ b/tpl/page.header.html @@ -35,7 +35,14 @@
  • Picture wall
  • Daily
  • {loop="$plugins_header.buttons_toolbar"} - {$value} +
  • + {$value.html} +
  • {/loop} {/if} -- cgit v1.2.3