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/linklist.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/linklist.html')
-rw-r--r-- | tpl/linklist.html | 12 |
1 files changed, 11 insertions, 1 deletions
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 @@ | |||
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.attr"} | ||
33 | {$key}="{$value}" | ||
34 | {/loop}> | ||
35 | {loop="$value.inputs"} | ||
36 | <input | ||
37 | {loop="$value"} | ||
38 | {$key}="{$value}" | ||
39 | {/loop}> | ||
40 | {/loop} | ||
41 | </form> | ||
32 | {/loop} | 42 | {/loop} |
33 | </div> | 43 | </div> |
34 | </div> | 44 | </div> |