Mise en route du suivi.
[aidenligne_francais_universite.git] / plugins / forms_1_9_1 / formulaires / forms_structure.html
1 <BOUCLE_form(FORMS){id_form=#ENV{id_form}}>
2 #SET{need_fieldset,1}
3 <BOUCLE_champs(FORMS_CHAMPS){id_form}{par cle}>
4 [(#ENV{affiche_sondage}) #RESULTATS_SONDAGE]
5 [(#ENV{affiche_sondage}|?{'',' '})
6 [[(#GET{need_fieldset}|?{'','</fieldset>'})]<fieldset><legend class="legend">(#TYPE|=={separateur}|?{#TITRE,''})</legend> #SET{need_fieldset,0}]
7 [(#GET{need_fieldset}|?{' '})<fieldset><legend class="legend">#_form:TITRE</legend> #SET{need_fieldset,0}]
8 [(#TYPE|=={separateur}|?{'',' '})
9 <div class='spip_form_champ'>
10 [(#TYPE|=={textestatique}|?{#TITRE,''})]
11 [(#TYPE|=={textestatique}|?{'',' '})
12 <span class='spip_form_label'>
13 [(#TYPE|match{^(select|multiple|mot)}|?{'',' '})<label for="#CHAMP">#TITRE</label>]
14 [(#TYPE|match{^(select|multiple|mot)}|?{' ',''})<span class='label'>#TITRE</span>]
15 [<span class='spip_form_label_obligatoire[(#ENV**{erreur}|forms_valeur{#CHAMP}|?{' ',''})obligatoire_oublie]'>
16 (#OBLIGATOIRE|=={oui}|?{<:forms:info_obligatoire_02:>,''})</span>]
17 [(#TITRE|strlen|?{':'})]
18 </span>
19 [(#TYPE|=={email}|?{' ',''})
20 <span class='spip_form_label_details'><:forms:champ_email_details:></span>
21 <input type='text' name='#CHAMP' id='#CHAMP' value="[(#ENV**{valeurs}|forms_valeur{#CHAMP,''}|entites_html)]"
22 class='[(#OBLIGATOIRE|=={oui}|?{forml,formo})][(#ENV**{erreur}|forms_valeur{#CHAMP}|?{' ',''}) champ_obli_oubli]'
23 onfocus="this.className='[(#OBLIGATOIRE|=={oui}|?{forml,formo})]-focus'"
24 onblur="this.className='[(#OBLIGATOIRE|=={oui}|?{forml,formo})]'" size='40' />
25 ]
26 [(#TYPE|=={url}|?{' ',''})
27 <span class='spip_form_label_details'><:forms:champ_url_details:></span>
28 <input type='text' name='#CHAMP' id='#CHAMP' value="[(#ENV**{valeurs}|forms_valeur{#CHAMP,''}|entites_html)]"
29 class='[(#OBLIGATOIRE|=={oui}|?{forml,formo})][(#ENV**{erreur}|forms_valeur{#CHAMP}|?{' ',''}) champ_obli_oubli]'
30 onfocus="this.className='[(#OBLIGATOIRE|=={oui}|?{forml,formo})]-focus'"
31 onblur="this.className='[(#OBLIGATOIRE|=={oui}|?{forml,formo})]'" size='40' />
32 ]
33 [(#TYPE|=={ligne}|?{' ',''})
34 <input type='text' name='#CHAMP' id='#CHAMP' value="[(#ENV**{valeurs}|forms_valeur{#CHAMP,''}|entites_html)]"
35 class='[(#OBLIGATOIRE|=={oui}|?{forml,formo})][(#ENV**{erreur}|forms_valeur{#CHAMP}|?{' ',''}) champ_obli_oubli]'
36 onfocus="this.className='[(#OBLIGATOIRE|=={oui}|?{forml,formo})]-focus'"
37 onblur="this.className='[(#OBLIGATOIRE|=={oui}|?{forml,formo})]'" size='40' />
38 ]
39 [(#TYPE|=={texte}|?{' ',''})
40 <textarea name='#CHAMP' id='#CHAMP'
41 class='[(#OBLIGATOIRE|=={oui}|?{forml,formo})][(#ENV**{erreur}|forms_valeur{#CHAMP}|?{' ',''}) champ_obli_oubli]'
42 onfocus="this.className='[(#OBLIGATOIRE|=={oui}|?{forml,formo})]-focus'"
43 onblur="this.className='[(#OBLIGATOIRE|=={oui}|?{forml,formo})]'" rows='4' cols='80'
44 >[(#ENV**{valeurs}|forms_valeur{#CHAMP,''}|entites_html)]</textarea>
45 ]
46 [(#TYPE|=={fichier}|?{' ',''})
47 <input type='file' name='#CHAMP' id='#CHAMP'
48 class='[(#OBLIGATOIRE|=={oui}|?{forml,formo})][(#ENV**{erreur}|forms_valeur{#CHAMP}|?{' ',''}) champ_obli_oubli]'
49 onfocus="this.className='[(#OBLIGATOIRE|=={oui}|?{forml,formo})]-focus'"
50 onblur="this.className='[(#OBLIGATOIRE|=={oui}|?{forml,formo})]'" size='40' />
51 ]
52 [(#TYPE|=={select}|?{' ',''})
53 <INCLURE{fond=formulaires/forms_champ_select}{id_form}{cle}{valeur=#ENV**{valeurs}}>
54 ]
55 [(#TYPE|=={multiple}|?{' ',''})
56 <INCLURE{fond=formulaires/forms_champ_multiple}{id_form}{cle}{valeur=#ENV**{valeurs}}>
57 ]
58 [(#TYPE|=={mot}|?{' ',''})
59 <INCLURE{fond=formulaires/forms_select_mot}{id_groupe}{champ}{valeur=#ENV**{valeurs}}>
60 ]
61 [<span class='erreur'>(#ENV**{erreur}|forms_valeur{#CHAMP})</span>]
62 ]
63 </div>
64 ]
65 ]
66 </BOUCLE_champs>
67 </fieldset>
68 [(#REM) Piege a robots spammeurs ]
69 <p style='display:none;'><label for="nobotnobot"><:antispam_champ_vide:></label>
70 <input type="text" name="nobotnobot" id="nobotnobot" value="#ENV{nobotnobot}" size="10" /></p>
71
72 <div style='text-align:#LANG_RIGHT' class='spip_bouton'><input type="submit" name='Valider' value="<:bouton_valider:>" /></div>
73 </BOUCLE_form>