From 28e969ed06c3101eeceea1911b73bf0daee6625f Mon Sep 17 00:00:00 2001 From: "maieul@maieul.net" <> Date: Sat, 17 Aug 2019 14:29:59 +0000 Subject: [PATCH] =?UTF-8?q?si=20on=20autorise=20les=20pages=20publiques=20?= =?UTF-8?q?pour=20les=20formulaires,=20alors=20il=20faut=20mettre=20le=20l?= =?UTF-8?q?ien=20pour=20les=20voir=20en=20ligne=20s'ils=20sont=20publi?= =?UTF-8?q?=C3=A9s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- paquet.xml | 2 +- prive/objets/infos/formulaire.html | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/paquet.xml b/paquet.xml index b3863056..b268aab7 100644 --- a/paquet.xml +++ b/paquet.xml @@ -1,7 +1,7 @@ <paquet prefix="formidable" categorie="communication" - version="3.39.0" + version="3.40.0" etat="stable" compatibilite="[3.0.0;3.2.*]" logo="images/formidable-64.png" diff --git a/prive/objets/infos/formulaire.html b/prive/objets/infos/formulaire.html index 474ce7b3..4ad6a7dd 100644 --- a/prive/objets/infos/formulaire.html +++ b/prive/objets/infos/formulaire.html @@ -4,5 +4,11 @@ [(#FORMULAIRE_INSTITUER_OBJET{formulaire,#ID_FORMULAIRE})] +[(#CONFIG{formidable/activer_pages}|et{#STATUT|=={publie}}|oui) + [(#VAL{redirect} + |generer_url_action{type=formulaire&id=#ID_FORMULAIRE} + |parametre_url{var_mode,calcul} + |icone_horizontale{<:icone_voir_en_ligne:>,racine})] +] </div> -</BOUCLE_formulaire> \ No newline at end of file +</BOUCLE_formulaire> -- GitLab