From 9eab9ba7c354735d1f2b411da06eca654819e0c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=A9drix?=
Date: Tue, 19 May 2026 22:54:17 +0200
Subject: [PATCH] feat: affichage clair des visiteurs 7/14/30 jours pour tous
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Remplace l'affichage "X lecteurs · 30 j (Y/14 j · Z/7 j)" par
"X / 7 j · Y / 14 j · Z / 30 j lecteurs" — trois valeurs explicites
visibles par tous les visiteurs.
Co-Authored-By: Claude Sonnet 4.6
---
CHANGELOG.md | 7 +++++++
public/version.txt | 2 +-
templates/post_view.php | 22 +++++++++++++++-------
3 files changed, 23 insertions(+), 8 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e62d576..ba61aba 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,13 @@ Format : [Keep a Changelog](https://keepachangelog.com/fr/1.0.0/) — versionnag
---
+## [1.6.38] - 2026-05-19
+
+### Modifié
+- Page article : stats visiteurs affichées clairement pour tous — trois valeurs explicites « X / 7 j · Y / 14 j · Z / 30 j lecteurs »
+
+---
+
## [1.6.37] - 2026-05-19
### Corrigé
diff --git a/public/version.txt b/public/version.txt
index f886f96..5d467b8 100644
--- a/public/version.txt
+++ b/public/version.txt
@@ -1 +1 @@
-1.6.37
+1.6.38
diff --git a/templates/post_view.php b/templates/post_view.php
index ab573db..c64c4b4 100644
--- a/templates/post_view.php
+++ b/templates/post_view.php
@@ -179,16 +179,24 @@ $hasSources = (!empty($externalLinks) || !empty($files))
0):
?>
-
-
- = number_format($_v30, 0, ',', "\xE2\x80\xAF") ?> lecteurs · 30 j
- (= $_v14 ?> / 14 j · = $_v7 ?> / 7 j)
+
+
+ = number_format($_v7, 0, ',', "\xE2\x80\xAF") ?> / 7 j
+ ·
+
+ = number_format($_v14, 0, ',', "\xE2\x80\xAF") ?> / 14 j
+
+ ·
+
+ = number_format($_v30, 0, ',', "\xE2\x80\xAF") ?> / 30 j
+
+ lecteurs