aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-03-29 19:30:22 +0200
committerArthurHoaro <arthur@hoa.ro>2016-03-31 18:01:05 +0200
commitb0128609f4b29c55d86152f3d0ff4b4e07bbcbf8 (patch)
treefbc69bb4a5f1186ac3c324927c2266dda658b926 /tpl
parent5f143b72eaafeda533fcb997ecca73d38258546e (diff)
downloadShaarli-b0128609f4b29c55d86152f3d0ff4b4e07bbcbf8.tar.gz
Shaarli-b0128609f4b29c55d86152f3d0ff4b4e07bbcbf8.tar.zst
Shaarli-b0128609f4b29c55d86152f3d0ff4b4e07bbcbf8.zip
Fixes #526: bad font size separator in tagcloud with some locale
* Force the number format with number_format(). * Reduce the size deciment number to 2.
Diffstat (limited to 'tpl')
-rw-r--r--tpl/tagcloud.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/tpl/tagcloud.html b/tpl/tagcloud.html
index 5891cd25..e449f293 100644
--- a/tpl/tagcloud.html
+++ b/tpl/tagcloud.html
@@ -12,8 +12,8 @@
12 12
13 <div id="cloudtag"> 13 <div id="cloudtag">
14 {loop="tags"} 14 {loop="tags"}
15 <span class="count">{$value.count}</span> 15 <span class="count">{$value.count}</span><a
16 <a href="?searchtags={$key|urlencode}" style="font-size:{$value.size}pt;">{$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}