Fixes : bad font size separator in tagcloud with some locale

* Force the number format with number_format().
      * Reduce the size deciment number to 2.
This commit is contained in:
ArthurHoaro 2016-03-29 19:30:22 +02:00
parent 5f143b72ea
commit b0128609f4
2 changed files with 12 additions and 7 deletions

View file

@ -12,8 +12,8 @@
<div id="cloudtag">
{loop="tags"}
<span class="count">{$value.count}</span>
<a href="?searchtags={$key|urlencode}" style="font-size:{$value.size}pt;">{$key}</a>
<span class="count">{$value.count}</span><a
href="?searchtags={$key|urlencode}" style="font-size:{$value.size}em;">{$key}</a>
{loop="$value.tag_plugin"}
{$value}
{/loop}