X-Git-Url: http://olivier.miskin.fr/git/?a=blobdiff_plain;ds=inline;f=formulaires%2Fsouscription.html;h=7d7184aeb2b9e2a35d1f84e4204d78114d50713a;hb=1f9e3e5c4eb3dd6b5a01391471b3fe4ccbafcfb4;hp=b238b7df13b35ed62b46ac44529e0dc5be0e6392;hpb=14e449b56a5f4ea4a0bf0dfded520f77a97dcc54;p=spip_souscriptions.git
diff --git a/formulaires/souscription.html b/formulaires/souscription.html
index b238b7d..7d7184a 100644
--- a/formulaires/souscription.html
+++ b/formulaires/souscription.html
@@ -21,7 +21,7 @@
[
(#GET{erreurs})
- ][(#INCLURE{fond=formulaires/inc-souscription-#ENV{montant_type},name=#GET{name},valeur=#ENV*{#GET{name},#GET{defaut}},obli=#GET{obli},montants=#ENV{_montant_datas}})]
+ ][(#INCLURE{fond=formulaires/inc-souscription-#ENV{montant_type},name=#GET{name},valeur=#ENV*{#GET{name},#GET{defaut}},obli=#GET{obli},montants=#ENV{_montant_datas},montant_libre})]
[(#ENV{montant_explication})
]
#SET{name,courriel}#SET{obli,'obligatoire'}#SET{defaut,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
@@ -94,22 +94,35 @@
+ [(#CONFIG{souscription/proposer_infolettre,off}|=={on}|oui)
#SET{name,envoyer_info}#SET{obli,''}#SET{defaut,'non'}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
[
- (#GET{erreurs})
- ]
- #SET{val,off}
-
- #SET{val,on}
-
-
-
-
-
+ (#GET{erreurs})
+ ]
+ #SET{val,off}
+
+ #SET{val,on}
+
+
+
+
+
+ ]
- [(#ENV{type_souscription}|=={adhesion}|oui)
- [(#SAISIE{oui_non, informer_comite_local, label=<:souscription:label_informer_comite_local:> })]
- ]
+ [(#ENV{type_souscription}|=={adhesion}|et{#CONFIG{souscription/proposer_informer_comite_local,off}|=={on}}|oui)
+ #SET{name,informer_comite_local}#SET{obli,''}#SET{defaut,'non'}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
+ [
+ (#GET{erreurs})
+ ]
+ #SET{val,off}
+
+ #SET{val,on}
+
+
+
+
+
+ ]
@@ -119,7 +132,7 @@