diff options
author | VirtualTam <virtualtam@flibidi.net> | 2016-10-16 17:41:08 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2016-11-05 14:30:13 +0100 |
commit | 4e4479ddc561abaf3564359bdb663dd954c4215b (patch) | |
tree | 5e530d054da58789163b1f936ecd4f27bc2eb37d /tpl/tagcloud.html | |
parent | baec9c402873a716497b591b9756bf5b2c46ed9b (diff) | |
download | Shaarli-4e4479ddc561abaf3564359bdb663dd954c4215b.tar.gz Shaarli-4e4479ddc561abaf3564359bdb663dd954c4215b.tar.zst Shaarli-4e4479ddc561abaf3564359bdb663dd954c4215b.zip |
Cleanup: explicitely loop over PHP variables in templates
Relates to https://github.com/shaarli/Shaarli/issues/613
Before: {loop="someVariable"}
After: {loop="$someVariable"}
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'tpl/tagcloud.html')
-rw-r--r-- | tpl/tagcloud.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/tagcloud.html b/tpl/tagcloud.html index e449f293..05e45273 100644 --- a/tpl/tagcloud.html +++ b/tpl/tagcloud.html | |||
@@ -11,7 +11,7 @@ | |||
11 | </div> | 11 | </div> |
12 | 12 | ||
13 | <div id="cloudtag"> | 13 | <div id="cloudtag"> |
14 | {loop="tags"} | 14 | {loop="$tags"} |
15 | <span class="count">{$value.count}</span><a | 15 | <span class="count">{$value.count}</span><a |
16 | href="?searchtags={$key|urlencode}" style="font-size:{$value.size}em;">{$key}</a> | 16 | href="?searchtags={$key|urlencode}" style="font-size:{$value.size}em;">{$key}</a> |
17 | {loop="$value.tag_plugin"} | 17 | {loop="$value.tag_plugin"} |