From 7c5765476ca13fe9c5d808825a50cee040bb7f62 Mon Sep 17 00:00:00 2001
From: RealET <real3t@gmail.com>
Date: Tue, 2 Feb 2021 13:36:40 +0100
Subject: [PATCH] =?UTF-8?q?Script=20de=20g=C3=A9n=C3=A9ration=20du=20conte?=
 =?UTF-8?q?nu=20du=20site=20:=20il=20manquait=20les=20champs=20virtuel=20e?=
 =?UTF-8?q?t=20descriptif=20Et=20syntaxe=20moderne=20pour=20=C3=A9chaper?=
 =?UTF-8?q?=20les=20[]?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 dev/gen_articles.html | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

diff --git a/dev/gen_articles.html b/dev/gen_articles.html
index 5ea34fb9..77239b01 100644
--- a/dev/gen_articles.html
+++ b/dev/gen_articles.html
@@ -8,20 +8,24 @@
 <BOUCLE_ListeArticles(ARTICLES){par id_rubrique}>
 	/* #TITRE* */
 	if ($article == "[(#TITRE*|sc_NewLine2str)]") {
-		$contenu[(#VAL{91}|chr)]'titre'[(#VAL{93}|chr)] = "[(#TITRE*|sc_NewLine2str)]";[
-		$contenu[(#VAL{91}|chr)]'chapo'[(#VAL{93}|chr)] = <<<EOF
+		$contenu\['titre'\] = "[(#TITRE*|sc_NewLine2str)]";[
+		$contenu\['virtuel'\] = "(#VIRTUEL*)";][
+		$contenu\['descriptif'\] = <<<EOF
+(#DESCRIPTIF*)
+EOF;][
+		$contenu\['chapo'\] = <<<EOF
 (#CHAPO*)
 EOF;][
-		$contenu[(#VAL{91}|chr)]'texte'[(#VAL{93}|chr)] = <<<EOF
+		$contenu\['texte'\] = <<<EOF
 (#TEXTE*)
 EOF;][
-		$contenu[(#VAL{91}|chr)]'ps'[(#VAL{93}|chr)] = <<<EOF
+		$contenu\['ps'\] = <<<EOF
 (#PS*)
 EOF;][
-		$contenu[(#VAL{91}|chr)]'surtitre'[(#VAL{93}|chr)] = "(#SURTITRE*|sc_NewLine2str)";][
-		$contenu[(#VAL{91}|chr)]'soustitre'[(#VAL{93}|chr)] = "(#SOUSTITRE*|sc_NewLine2str)";][
-		$contenu[(#VAL{91}|chr)]'nom_site'[(#VAL{93}|chr)] = "(#NOM_SITE*|sc_NewLine2str)";][
-		$contenu[(#VAL{91}|chr)]'url_site'[(#VAL{93}|chr)] = "(#URL_SITE*|sc_NewLine2str)";]
+		$contenu\['surtitre'\] = "(#SURTITRE*|sc_NewLine2str)";][
+		$contenu\['soustitre'\] = "(#SOUSTITRE*|sc_NewLine2str)";][
+		$contenu\['nom_site'\] = "(#NOM_SITE*|sc_NewLine2str)";][
+		$contenu\['url_site'\] = "(#URL_SITE*|sc_NewLine2str)";]
 	}
 </BOUCLE_ListeArticles>
 
-- 
GitLab