diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-05-16 13:33:39 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-07-23 21:19:21 +0200 |
commit | 3772298ee7d8d0708f4e72798600accafa17740b (patch) | |
tree | cec625b67642264973bbe856ddf4ff97187aabea /tpl | |
parent | c79473bd84ab5aba7836d2caaf61847cabaf1e53 (diff) | |
download | Shaarli-3772298ee7d8d0708f4e72798600accafa17740b.tar.gz Shaarli-3772298ee7d8d0708f4e72798600accafa17740b.tar.zst Shaarli-3772298ee7d8d0708f4e72798600accafa17740b.zip |
Few optimizations and code readability for tag cloud controller
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/default/tag.cloud.html | 2 | ||||
-rw-r--r-- | tpl/vintage/tag.cloud.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tpl/default/tag.cloud.html b/tpl/default/tag.cloud.html index 547d5018..bf543357 100644 --- a/tpl/default/tag.cloud.html +++ b/tpl/default/tag.cloud.html | |||
@@ -48,7 +48,7 @@ | |||
48 | 48 | ||
49 | <div id="cloudtag" class="cloudtag-container"> | 49 | <div id="cloudtag" class="cloudtag-container"> |
50 | {loop="tags"} | 50 | {loop="tags"} |
51 | <a href="?searchtags={$key|urlencode} {$search_tags|urlencode}" style="font-size:{$value.size}em;">{$key}</a | 51 | <a href="./?searchtags={$key|urlencode} {$search_tags|urlencode}" style="font-size:{$value.size}em;">{$key}</a |
52 | ><a href="./add-tag/{$key|urlencode}" title="{'Filter by tag'|t}" class="count">{$value.count}</a> | 52 | ><a href="./add-tag/{$key|urlencode}" title="{'Filter by tag'|t}" class="count">{$value.count}</a> |
53 | {loop="$value.tag_plugin"} | 53 | {loop="$value.tag_plugin"} |
54 | {$value} | 54 | {$value} |
diff --git a/tpl/vintage/tag.cloud.html b/tpl/vintage/tag.cloud.html index 23aa381e..4bc4bf88 100644 --- a/tpl/vintage/tag.cloud.html +++ b/tpl/vintage/tag.cloud.html | |||
@@ -13,7 +13,7 @@ | |||
13 | <div id="cloudtag"> | 13 | <div id="cloudtag"> |
14 | {loop="$tags"} | 14 | {loop="$tags"} |
15 | <a href="./add-tag/{$key|urlencode}" class="count">{$value.count}</a><a | 15 | <a href="./add-tag/{$key|urlencode}" class="count">{$value.count}</a><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"} |
18 | {$value} | 18 | {$value} |
19 | {/loop} | 19 | {/loop} |