diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-12-01 11:38:21 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2016-12-01 11:38:21 +0100 |
commit | ba0fd80732acbff0fcda57a0b31e4edfaa337001 (patch) | |
tree | 34eab231241e1c7b72f5b069fa132bdcedc830e0 /tpl/page.header.html | |
parent | 849d1650c1af853162b749af896c20bb25d4a4e8 (diff) | |
download | Shaarli-ba0fd80732acbff0fcda57a0b31e4edfaa337001.tar.gz Shaarli-ba0fd80732acbff0fcda57a0b31e4edfaa337001.tar.zst Shaarli-ba0fd80732acbff0fcda57a0b31e4edfaa337001.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
mprove theme dependent plugin placeholders:
Diffstat (limited to 'tpl/page.header.html')
-rw-r--r-- | tpl/page.header.html | 7 |
1 files changed, 6 insertions, 1 deletions
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 @@ | |||
35 | <li><a href="?do=picwall{$searchcrits}">Picture wall</a></li> | 35 | <li><a href="?do=picwall{$searchcrits}">Picture wall</a></li> |
36 | <li><a href="?do=daily">Daily</a></li> | 36 | <li><a href="?do=daily">Daily</a></li> |
37 | {loop="$plugins_header.buttons_toolbar"} | 37 | {loop="$plugins_header.buttons_toolbar"} |
38 | {$value} | 38 | <li><a |
39 | {loop="$value.attr"} | ||
40 | {$key}="{$value}" | ||
41 | {/loop}> | ||
42 | {$value.html} | ||
43 | </a></li> | ||
39 | {/loop} | 44 | {/loop} |
40 | {/if} | 45 | {/if} |
41 | </ul> | 46 | </ul> |