projects
/
phpfspot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5254a5
)
limit percentage of font-size for tag cloud entries to intenger values
author
Andreas Unterkircher
<unki@netshadow.at>
Mon, 18 Jun 2007 18:16:24 +0000
(18:16 +0000)
committer
Andreas Unterkircher
<unki@netshadow.at>
Mon, 18 Jun 2007 18:16:24 +0000
(18:16 +0000)
git-svn-id: file:///var/lib/svn/phpfspot/trunk@105
fa6a889d
-dae6-447d-9e79-
4ba9a3039384
phpfspot.class.php
patch
|
blob
|
history
diff --git
a/phpfspot.class.php
b/phpfspot.class.php
index b0440245b4014926d5646a6c7ddc04320b4c6852..e15f8e5e9aa66af354e943a80b1f9488ec7558f5 100644
(file)
--- 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> ";