Location: PHPKode > projects > Pligg > pligg/templates/wistie/sidebar_modules/tags.tpl
	global $main_smarty;
	$cloud=new TagCloud();
	$cloud->smarty_variable = $main_smarty; // pass smarty to the function so we can set some variables
	$cloud->word_limit = tags_words_limit_s;
	$cloud->min_points = tags_min_pts_s; // the size of the smallest tag
	$cloud->max_points = tags_max_pts_s; // the size of the largest tag
	$main_smarty = $cloud->smarty_variable; // get the updated smarty back from the function

<div class="headline">
	<div class="sectiontitle"><a href="{$URL_tagcloud}">{#PLIGG_Visual_Top_5_Tags#}</a></div>

{checkActionsTpl location="tpl_widget_tags_start"}

<div class="boxcontent tagformat">
	{section name=customer loop=$tag_number}
		<span style="font-size: {$tag_size[customer]}pt">
			<a href="{$tag_url[customer]}">{$tag_name[customer]}</a>
	{checkActionsTpl location="tpl_widget_tags_end"}
Return current item: Pligg