Browse Source

Mise en conformité des formulaires

svn/root/tags/v3.1.0
eric@smellup.net 8 years ago
parent
commit
f07d57b08c
  1. 146
      formulaires/configurer_faq.html
  2. 2
      paquet.xml

146
formulaires/configurer_faq.html

@ -1,91 +1,85 @@
<div class="formulaire_spip formulaire_configurer formulaire_#FORM">
<h3 class="titrem"><:faq:titre_form_configurer:></h3>
<img src="#CHEMIN_IMAGE{faq-24.png}" class="cadre-icone" />
[<p class="reponse_formulaire reponse_formulaire_ok">(#ENV**{message_ok})</p>]
[<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>]
<p><:faq:info_config_faq:></p>
<BOUCLE_editable(CONDITION) {si #ENV{editable}}>
<form method="post" action="#ENV{action}" enctype="multipart/form-data"><div>
<form method="post" action="#ENV{action}" enctype="multipart/form-data">
<div>
[(#REM) <!--declarer les hidden qui declencheront le service du formulaire parametre : url d'action -->]
#ACTION_FORMULAIRE{#ENV{action}}
<h2 class="titrem"><:faq:titre_form_configurer:></h2>
<p><:faq:info_config_faq:></p>
<ul>
<li class="fieldset">
<fieldset>
<h3 class="legend"><:faq:legende_ancre_lien:></h3>
<ul>
#SET{name,ancrer_question}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
<li class="editer editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]">
[<span class='erreur_message'>(#GET{erreurs})</span>]
#SET{val,1}
<div class="choix">
<input type="checkbox" class="checkbox" name="#GET{name}" id="#GET{name}_#GET{val}" value="#GET{val}"[ (#GET{val}|=={#ENV{#GET{name}}}|oui)checked="checked"] />
<label for="#GET{name}_#GET{val}"><:faq:label_ancrer_question:></label>
</div>
</li>
#SET{name,lier_faq}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
<li class="editer editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]">
[<span class='erreur_message'>(#GET{erreurs})</span>]
#SET{val,1}
<div class="choix">
<input type="checkbox" class="checkbox" name="#GET{name}" id="#GET{name}_#GET{val}" value="#GET{val}"[ (#GET{val}|=={#ENV{#GET{name}}}|oui)checked="checked"] />
<label for="#GET{name}_#GET{val}"><:faq:label_lier_faq:></label>
</div>
</li>
</ul>
</fieldset>
</li>
<fieldset>
<legend><:faq:legende_ancre_lien:></legend>
<ul class="editer-groupe">
#SET{name,ancrer_question}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
<li class="editer editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]">
[<span class="erreur_message">(#GET{erreurs})</span>]
#SET{val,1}
<div class="choix">
<input type="checkbox" class="checkbox" name="#GET{name}" id="#GET{name}_#GET{val}" value="#GET{val}"[ (#GET{val}|=={#ENV{#GET{name}}}|oui)checked="checked"] />
<label for="#GET{name}_#GET{val}"><:faq:label_ancrer_question:></label>
</div>
</li>
#SET{name,lier_faq}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
<li class="editer editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]">
[<span class="erreur_message">(#GET{erreurs})</span>]
#SET{val,1}
<div class="choix">
<input type="checkbox" class="checkbox" name="#GET{name}" id="#GET{name}_#GET{val}" value="#GET{val}"[ (#GET{val}|=={#ENV{#GET{name}}}|oui)checked="checked"] />
<label for="#GET{name}_#GET{val}"><:faq:label_lier_faq:></label>
</div>
</li>
</ul>
</fieldset>
<li class="fieldset">
<fieldset>
<h3 class="legend"><:faq:legende_css:></h3>
<ul>
#SET{name,charger_css}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
<li class="editer editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]">
[<span class='erreur_message'>(#GET{erreurs})</span>]
#SET{val,1}
<div class="choix">
<input type="checkbox" class="checkbox" name="#GET{name}" id="#GET{name}_#GET{val}" value="#GET{val}"[ (#GET{val}|=={#ENV{#GET{name}}}|oui)checked="checked"] />
<label for="#GET{name}_#GET{val}"><:faq:label_charger_css:></label>
</div>
</li>
</ul>
</fieldset>
</li>
<fieldset>
<legend><:faq:legende_css:></legend>
<ul class="editer-groupe">
#SET{name,charger_css}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
<li class="editer editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]">
[<span class='erreur_message'>(#GET{erreurs})</span>]
#SET{val,1}
<div class="choix">
<input type="checkbox" class="checkbox" name="#GET{name}" id="#GET{name}_#GET{val}" value="#GET{val}"[ (#GET{val}|=={#ENV{#GET{name}}}|oui)checked="checked"] />
<label for="#GET{name}_#GET{val}"><:faq:label_charger_css:></label>
</div>
</li>
</ul>
</fieldset>
<li class="fieldset">
<fieldset>
<h3 class="legend"><:faq:legende_comportement:></h3>
<ul>
#SET{name,charger_js}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
<li class="editer editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]">
[<span class='erreur_message'>(#GET{erreurs})</span>]
#SET{val,1}
<div class="choix">
<input type="checkbox" class="checkbox" name="#GET{name}" id="#GET{name}_#GET{val}" value="#GET{val}"[ (#GET{val}|=={#ENV{#GET{name}}}|oui)checked="checked"] />
<label for="#GET{name}_#GET{val}"><:faq:label_charger_js:></label>
</div>
</li>
#SET{name,iconifier_js}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
<li class="editer editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]" id="iconifier_js">
[<span class='erreur_message'>(#GET{erreurs})</span>]
#SET{val,1}
<div class="choix">
<input type="checkbox" class="checkbox" name="#GET{name}" id="#GET{name}_#GET{val}" value="#GET{val}"[ (#GET{val}|=={#ENV{#GET{name}}}|oui)checked="checked"] />
<label for="#GET{name}_#GET{val}"><:faq:label_iconifier_js:></label>
</div>
</li>
</ul>
</fieldset>
</li>
</ul>
<fieldset>
<legend><:faq:legende_comportement:></legend>
<ul class="editer-groupe">
#SET{name,charger_js}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
<li class="editer editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]">
[<span class='erreur_message'>(#GET{erreurs})</span>]
#SET{val,1}
<div class="choix">
<input type="checkbox" class="checkbox" name="#GET{name}" id="#GET{name}_#GET{val}" value="#GET{val}"[ (#GET{val}|=={#ENV{#GET{name}}}|oui)checked="checked"] />
<label for="#GET{name}_#GET{val}"><:faq:label_charger_js:></label>
</div>
</li>
#SET{name,iconifier_js}#SET{obli,''}#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
<li class="editer editer_[(#GET{name})][ (#GET{obli})][ (#GET{erreurs}|oui)erreur]" id="iconifier_js">
[<span class='erreur_message'>(#GET{erreurs})</span>]
#SET{val,1}
<div class="choix">
<input type="checkbox" class="checkbox" name="#GET{name}" id="#GET{name}_#GET{val}" value="#GET{val}"[ (#GET{val}|=={#ENV{#GET{name}}}|oui)checked="checked"] />
<label for="#GET{name}_#GET{val}"><:faq:label_iconifier_js:></label>
</div>
</li>
</ul>
</fieldset>
[(#REM) ajouter les saisies supplementaires : extra et autre, a cet endroit ]
<!--extra-->
<p class="boutons"><input type='submit' class='submit' value='<:bouton_enregistrer:>' /></p>
</div></form>
[(#REM) ajouter les saisies supplementaires : extra et autre, a cet endroit ]
<!--extra-->
<p class="boutons"><input type='submit' class='submit' value='<:bouton_enregistrer:>' /></p>
</div>
</form>
</BOUCLE_editable>
</div>

2
paquet.xml

@ -1,7 +1,7 @@
<paquet
prefix="faq"
categorie="edition"
version="3.0.8"
version="3.0.9"
etat="test"
compatibilite="[3.0.0;3.1.*]"
logo="faq_logo-128.png"

Loading…
Cancel
Save