X-Git-Url: http://olivier.miskin.fr/git/?a=blobdiff_plain;f=formulaires%2Fsouscription.html;h=b868b74010d99769c9d5c5e78563dcc860987403;hb=d03fdf679a9fd0c96bb2373a3ecd0c995db91836;hp=938a0e4105933dc6ca4f35e53d88fa8ea822ce68;hpb=fa5e048f014cb751b68070640aeffe02fe7c3f0a;p=spip_souscriptions.git diff --git a/formulaires/souscription.html b/formulaires/souscription.html index 938a0e4..b868b74 100644 --- a/formulaires/souscription.html +++ b/formulaires/souscription.html @@ -1,33 +1,141 @@ -
+[(#SET{liste_pays,#ARRAY{}})] + + [(#SET{liste_pays, #GET{liste_pays}|array_merge{#ARRAY{#CODE, #NOM}}})] + + +
[

(#ENV**{message_ok})

] [

(#ENV*{message_erreur})

] - [(#ENV{editable}) -
+
+ #ACTION_FORMULAIRE{#ENV{action}} + + [

+ (#CONFIG{souscription/dispositions_fiscales_explications}|nl2br) +

] +
    - [(#SAISIE{input, courriel, obligatoire=oui, label=<:souscription:label_courriel:>})] - [(#SAISIE{input, montant, obligatoire=oui, label=<:souscription:label_montant:>})] - [(#SAISIE{oui_non, recu_fiscal, label=<:souscription:label_recu_fiscal:>})] - [(#SAISIE{oui_non, envoyer_info, label=<:souscription:label_envoyer_info:> })] - [(#SAISIE{hidden, id_souscription_campagne})] - [(#SAISIE{hidden, type_souscription})] + #SET{name,montant}#SET{obli,'obligatoire'}#SET{defaut,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} +
  • + [ + (#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}})] + [

    (#ENV{montant_explication})

    ] +
  • + #SET{name,courriel}#SET{obli,'obligatoire'}#SET{defaut,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} +
  • + [ + (#GET{erreurs}) + ] +
  • + #SET{name,recu_fiscal}#SET{obli,''}#SET{defaut,'non'}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} +
  • [ + (#GET{erreurs}) + ] + #SET{val,off} + + #SET{val,on} +
    + + +
    +
  • +
  • +
    + <:souscription:label_legende_bloc_fiscal:> + [(#INCLURE{fond=inclure/souscription_bloc_fiscal_intro,type_souscription=#ENV{type_souscription}})] +
      + #SET{name1,prenom}#SET{obli1,'obligatoire'}#SET{defaut1,''}#SET{erreurs1,#ENV**{erreurs}|table_valeur{#GET{name1}}} + #SET{name2,nom}#SET{obli2,'obligatoire'}#SET{defaut2,''}#SET{erreurs2,#ENV**{erreurs}|table_valeur{#GET{name2}}} +
    • +
      + [ + (#GET{erreurs1}) + ] +
      +
      + [ + (#GET{erreurs2}) + ] +
      +
    • + #SET{name,adresse}#SET{obli,'obligatoire'}#SET{defaut,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} +
    • + [ + (#GET{erreurs}) + ] +
    • + #SET{name1,code_postal}#SET{obli1,'obligatoire'}#SET{defaut1,''}#SET{erreurs1,#ENV**{erreurs}|table_valeur{#GET{name1}}} + #SET{name2,ville}#SET{obli2,'obligatoire'}#SET{defaut2,''}#SET{erreurs2,#ENV**{erreurs}|table_valeur{#GET{name2}}} +
    • +
      + [ + (#GET{erreurs1}) + ] +
      +
      + [ + (#GET{erreurs2}) + ] +
      +
    • + [(#SAISIE{selection, pays, label=<:souscription:label_pays:>, datas=#GET{liste_pays}})] + #SET{name,telephone}#SET{obli,''}#SET{defaut,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}} +
    • + [ + (#GET{erreurs}) + ] +
    • +
    +
    +
  • + + + [(#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} +
    + + +
    +
  • + ] + + [(#ENV{type_souscription}|=={adhesion}|oui) + [(#CONFIG{souscription/proposer_informer_comite_local,off}|=={on}|oui) + [(#SAISIE{oui_non, informer_comite_local, label=<:souscription:label_informer_comite_local:> })] + ] + ]
-
- Informations complémentaires -

Les informations suivantes sont nécessaires (...)

-
    - [(#SAISIE{input, prenom, label=<:souscription:label_prenom:>})] - [(#SAISIE{input, nom, label=<:souscription:label_nom:>})] - [(#SAISIE{textarea, adresse, label=<:souscription:label_adresse:>, rows=3})] - [(#SAISIE{input, code_postal, label=<:souscription:label_code_postal:>})] - [(#SAISIE{input, ville, label=<:souscription:label_ville:>})] -
-
-

+

]
+ + \ No newline at end of file