From 0a963fff0c5927e9d882db7c4bbf14f5d8937d1b Mon Sep 17 00:00:00 2001
From: RealET <real3t@gmail.com>
Date: Fri, 29 Jul 2022 17:31:52 +0200
Subject: [PATCH] =?UTF-8?q?Feat=20:=20Permettre=20de=20s'inscrire=20sur=20?=
 =?UTF-8?q?le=20site=20m=C3=AAme=20si=20le=20plugin=20en=20travaux=20est?=
 =?UTF-8?q?=20actif?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Au passage, découverte qu'on peut inclure un squelettes-dist depuis un un squelettes surchargeant ce même fichier de la dist.
---
 identifiants.html          | 6 ++++++
 paquet.xml                 | 2 +-
 soyezcreateurs_options.php | 2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/identifiants.html b/identifiants.html
index 00032948..8800b68d 100644
--- a/identifiants.html
+++ b/identifiants.html
@@ -1,4 +1,9 @@
 #CACHE{0}
+[(#PLUGIN{ENTRAVAUX}|oui)[(#CONFIG{entravaux_accesferme}|=={oui}|oui)
+<INCLURE{fond=squelettes-dist/identifiants, env} />
+#SET{formvu,1}
+]]
+[(#GET{formvu}|non)
 [(#SET{titretop,<:pass_vousinscrire|sc_nettoyer_marqueur|texte_script:>})]
 <INCLURE{fond=noisettes/header/header}
 	{template=Plan}
@@ -23,4 +28,5 @@
 	{template=Plan}
 	{titretop=#GET{titretop}}
 >
+]
 #FILTRE{mini_html}
\ No newline at end of file
diff --git a/paquet.xml b/paquet.xml
index 0822a0d6..653d3575 100644
--- a/paquet.xml
+++ b/paquet.xml
@@ -1,7 +1,7 @@
 <paquet
 	prefix="soyezcreateurs"
 	categorie="squelette"
-	version="5.2.36"
+	version="5.2.37"
 	etat="stable"
 	compatibilite="[3.2.12;4.1.*]"
 	logo="img_pack/soyezcreateurs-32.png"
diff --git a/soyezcreateurs_options.php b/soyezcreateurs_options.php
index 37b597ed..a11319f7 100644
--- a/soyezcreateurs_options.php
+++ b/soyezcreateurs_options.php
@@ -111,7 +111,7 @@ if (!defined('_CLEVERMAIL_NOUVEAUTES_TEXT'))
 if (!defined('_CLEVERMAIL_DISTANT'))
 	define("_CLEVERMAIL_DISTANT", false); // Pour que CM ne calcule pas l'URL publique du squelette
 if (!defined('_SKEL_HORS_TRAVAUX'))
-	define("_SKEL_HORS_TRAVAUX", 'clevermail_do,gis_json'); // Pour que le plugin en travaux laisse passer les inscriptions à la NL
+	define("_SKEL_HORS_TRAVAUX", 'clevermail_do,gis_json,identifiants'); // Pour que le plugin en travaux laisse passer les inscriptions à la NL, la carto GIS et les inscriptions au site
 
 if (!defined('_SIDR_PERSO'))
 	define('_SIDR_PERSO', true); // Pour avoir sa propre insertion des scripts de sidr
-- 
GitLab