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/page.header.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/page.header.html')
-rw-r--r-- | tpl/page.header.html | 9 |
1 files changed, 8 insertions, 1 deletions
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 @@ | |||
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"} | ||
40 | {if="$key!='html'"} | ||
41 | {$key}="{$value}" | ||
42 | {/if} | ||
43 | {/loop}> | ||
44 | {$value.html} | ||
45 | </a></li> | ||
39 | {/loop} | 46 | {/loop} |
40 | {/if} | 47 | {/if} |
41 | </ul> | 48 | </ul> |