aboutsummaryrefslogtreecommitdiffstats
path: root/include/taxonomy.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-02 11:09:38 -0800
committerfriendica <info@friendica.com>2015-03-02 11:09:38 -0800
commite6eee5ba92bc64ea0c9855831bddf66acccd9bee (patch)
tree18511fd088335012ae72394695e8ce8b0a07beee /include/taxonomy.php
parent5a85096d776dfe7048adf5869559a3f16709d149 (diff)
downloadvolse-hubzilla-e6eee5ba92bc64ea0c9855831bddf66acccd9bee.tar.gz
volse-hubzilla-e6eee5ba92bc64ea0c9855831bddf66acccd9bee.tar.bz2
volse-hubzilla-e6eee5ba92bc64ea0c9855831bddf66acccd9bee.zip
tagcloud tweaks
Diffstat (limited to 'include/taxonomy.php')
-rw-r--r--include/taxonomy.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/taxonomy.php b/include/taxonomy.php
index 3d1ac7058..ef3639067 100644
--- a/include/taxonomy.php
+++ b/include/taxonomy.php
@@ -152,7 +152,7 @@ function tagadelic($uid, $count = 0, $authors = '', $flags = 0, $restrict = 0, $
$range = max(.01, $max - $min) * 1.0001;
for($x = 0; $x < count($tags); $x ++) {
- $tags[$x][2] = 1 + floor(7 * ($tags[$x][1] - $min) / $range);
+ $tags[$x][2] = 1 + floor(9 * ($tags[$x][1] - $min) / $range);
}
return $tags;
@@ -199,7 +199,7 @@ function dir_tagadelic($count = 0) {
$range = max(.01, $max - $min) * 1.0001;
for($x = 0; $x < count($tags); $x ++) {
- $tags[$x][2] = 1 + floor(5 * ($tags[$x][1] - $min) / $range);
+ $tags[$x][2] = 1 + floor(9 * ($tags[$x][1] - $min) / $range);
}
return $tags;