From c7328c4014423f12f86c4b1a3e8d8cc1338c8e80 Mon Sep 17 00:00:00 2001
From: Antoine Pitrou <pitrou@free.fr>
Date: Fri, 16 Aug 2002 15:22:51 +0000
Subject: [PATCH] =?UTF-8?q?cosm=C3=A9tique?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 inc-stats.php3 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/inc-stats.php3 b/inc-stats.php3
index 515cf9221f..12d9cc7da2 100644
--- a/inc-stats.php3
+++ b/inc-stats.php3
@@ -100,7 +100,10 @@ function afficher_raccourci_stats($id_article) {
 		if ($row = @mysql_fetch_array($result)) {
 			$visites = $visites + $row['c'];
 		}
-		echo "[$visites visites&nbsp;; popularit&eacute;&nbsp;: $popularite&nbsp;%]";
+		echo "[$visites visites";
+		if (lire_meta('activer_statistiques_ref') == 'oui')
+			echo "&nbsp;; popularit&eacute;&nbsp;: $popularite&nbsp;%";
+		echo "]";
 	}
 }
 
-- 
GitLab