From ba0fd80732acbff0fcda57a0b31e4edfaa337001 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Thu, 1 Dec 2016 11:38:21 +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 mprove theme dependent plugin placeholders: --- tpl/linklist.html | 12 +++++++++++- tpl/linklist.paging.html | 9 ++++++++- tpl/page.header.html | 7 ++++++- 3 files changed, 25 insertions(+), 3 deletions(-) (limited to 'tpl') diff --git a/tpl/linklist.html b/tpl/linklist.html index ddfd729a..3fe86deb 100644 --- a/tpl/linklist.html +++ b/tpl/linklist.html @@ -28,7 +28,17 @@ {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..86019c01 100644 --- a/tpl/linklist.paging.html +++ b/tpl/linklist.paging.html @@ -13,7 +13,14 @@ {/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 eac2ed4a..cce61ec4 100644 --- a/tpl/page.header.html +++ b/tpl/page.header.html @@ -35,7 +35,12 @@
  • Picture wall
  • Daily
  • {loop="$plugins_header.buttons_toolbar"} - {$value} +
  • + {$value.html} +
  • {/loop} {/if} -- cgit v1.2.3