I have looked at the file infotags.php and I believe the code I need
to be concerned with is the following since what causes the error is
the line "[(info tagcloud target=info.tags)]":
-------------------------------------------
function BOLTinfoTagCloud($info, $args) {
$tags = array();
foreach ($info as $f => $v) $tags = array_merge($tags, explode
(' ', $v));
foreach ($tags as $tag) $tagcount[$tag] = $tagcount[$tag] + 1;
$tagcount2 = $tagcount;
sort($tagcount2);
$min = $tagcount2[0];
$max = $tagcount2[count($tagcount2)-1];
$diff = ($max - $min);
ksort($tagcount);
foreach ($tagcount as $i => $ii) {
$x = ((($ii - $min) / $diff) * 15) + 12; // 12 is
smallest size, 12 + 15 is largest size.
settype($x, int);
$out .= " <span style=\"font-size: " . $x . "px;\">[[?
tag.$i|+]]</span> ";
}
return $out;
}
--------------------------------------
Unfortunately, I am pretty unfamiliar with php functions and am having
difficulty tracing where the values assigned to the variables are
coming from. I will keep plugging away though.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---