aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.php b/index.php
index 1a924867..c4c45e53 100644
--- a/index.php
+++ b/index.php
@@ -1252,8 +1252,9 @@ function renderPage()
1252 ksort($tags); 1252 ksort($tags);
1253 $tagList=array(); 1253 $tagList=array();
1254 foreach($tags as $key=>$value) 1254 foreach($tags as $key=>$value)
1255 // Tag font size scaling: default 15 and 30 logarithm bases affect scaling, 22 and 6 are arbitrary font sizes for max and min sizes.
1255 { 1256 {
1256 $tagList[$key] = array('count'=>$value,'size'=>max(40*$value/$maxcount,8)); 1257 $tagList[$key] = array('count'=>$value,'size'=>log($value, 15) / log($maxcount, 30) * (22-6) + 6);
1257 } 1258 }
1258 $PAGE = new pageBuilder; 1259 $PAGE = new pageBuilder;
1259 $PAGE->assign('linkcount',count($LINKSDB)); 1260 $PAGE->assign('linkcount',count($LINKSDB));