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.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.html')
-rw-r--r-- | tpl/linklist.html | 14 |
1 files changed, 13 insertions, 1 deletions
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 @@ | |||
28 | <input type="submit" value="Search" class="bigbutton"> | 28 | <input type="submit" value="Search" class="bigbutton"> |
29 | </form> | 29 | </form> |
30 | {loop="$plugins_header.fields_toolbar"} | 30 | {loop="$plugins_header.fields_toolbar"} |
31 | {$value} | 31 | <form |
32 | {loop="$value"} | ||
33 | {if="$key!='inputs'"} | ||
34 | {$key}="{$value}" | ||
35 | {/if} | ||
36 | {/loop}> | ||
37 | {loop="$value.inputs"} | ||
38 | <input | ||
39 | {loop="$value"} | ||
40 | {$key}="{$value}" | ||
41 | {/loop}> | ||
42 | {/loop} | ||
43 | </form> | ||
32 | {/loop} | 44 | {/loop} |
33 | </div> | 45 | </div> |
34 | </div> | 46 | </div> |