summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-06-18 18:16:24 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-06-18 18:16:24 +0000
commitc7e18357997a370d30d53d800c8e7d3f34d695ef (patch)
treee72b8a14365834296da3a2c907a8a09086d018df
parentb5254a56e6374f96b0db808173a01d7cc7ad0c1f (diff)
limit percentage of font-size for tag cloud entries to intenger values
git-svn-id: file:///var/lib/svn/phpfspot/trunk@105 fa6a889d-dae6-447d-9e79-4ba9a3039384
-rw-r--r--phpfspot.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php
index b044024..e15f8e5 100644
--- a/phpfspot.class.php
+++ b/phpfspot.class.php
@@ -194,7 +194,7 @@ class PHPFSPOT {
// and add the $min_size set above
$size = $min_size + (($value - $min_qty) * $step);
// uncomment if you want sizes in whole %:
- // $size = ceil($size);
+ $size = ceil($size);
print "<a href=\"javascript:Tags('add', ". $key .");\" class=\"tag\" style=\"font-size: ". $size ."%;\">". $this->tags[$key] ."</a>&nbsp;";