From 553f6cb3a163b913c0c13bfaaa606d2c0e02be75 Mon Sep 17 00:00:00 2001 From: Bronco Date: Wed, 16 Oct 2013 19:27:05 +0200 Subject: [PATCH] =?UTF-8?q?bug=20corrig=C3=A9:=20les=20tags=20fonctionnaie?= =?UTF-8?q?nt=20mal=20en=20mode=20public?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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; }