diff --git a/index.php b/index.php index d0ffbbf..b3a85b7 100644 --- a/index.php +++ b/index.php @@ -96,14 +96,15 @@ function tagcloud(){ } foreach ($array as $tag=>$val){ - echo ''.$tag.' '.$val['nb'].''; + echo ''.$tag.' '.$val['nb'].''; } } function tag2links($tagstring){ global $GLOBAL; - $array=explode(' ',$tagstring);$links=''; + $array=explode(' ',$tagstring);$links='';$public=''; + if ($GLOBAL['public']){$public='&public';} foreach ($array as $tag){ - $links.=''.$tag.''; + $links.=''.$tag.''; } return $links; }