X-Git-Url: http://olivier.miskin.fr/git/?a=blobdiff_plain;f=formulaires%2Fsouscription.html;h=776109dccdca56486d8e8965aa67dddd76354289;hb=a481dd24e143ea258da99cf600d69f7d5ad96862;hp=aa868530bf19d8025d485c46b49a1643590520e2;hpb=f961ee16b23c0b420398694427fe081e4a7b1c41;p=spip_souscriptions.git diff --git a/formulaires/souscription.html b/formulaires/souscription.html index aa86853..776109d 100644 --- a/formulaires/souscription.html +++ b/formulaires/souscription.html @@ -1,32 +1,150 @@ -
+[(#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},montant_libre})] + [

    (#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}|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} +
    + + +
    +
  • + ]
-
- Informations complémentaires - [(#INCLURE{fond=inclure/souscription_bloc_fiscal_intro,type_souscription=#ENV{type_souscription}})] -
    - [(#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:>})] -
-

]
+ +