source: spip-zone/_plugins_/forms/forms_et_tables_2_5/formulaires/forms.html @ 65965

Last change on this file since 65965 was 65965, checked in by sblanc@…, 9 years ago
File size: 2.1 KB
Line 
1<BOUCLE_form(FORMS){id_form=#ENV{id_form}}>
2<a name='form#ID_FORM'></a>
3<div class='spip_forms form_#ID_FORM'>
4<div class='spip_descriptif'>#DESCRIPTIF</div>
5[(#TYPE_FORM|=={sondage}|?{' ',''}) [(#PUBLIC|=={oui}|?{' '})
6                <a href='[(#URL_PAGE{sondage}|parametre_url{id_form,#ID_FORM})]' class='spip_in resultats_sondage'
7                 target="spip_sondage" onclick="javascript:window.open(this.href, 'spip_sondage', 'scrollbars=yes, resizable=yes, width=450, height=300'); return false;"
8                 onkeypress="javascript:window.open(this.href, 'spip_sondage', 'scrollbars=yes,resizable=yes, width=450, height=300'); return false;"><:forms:voir_resultats:></a>
9]]
10[<p class='spip_form_ok'>(#ENV*{formok})
11        [(#TYPE_FORM|=={sondage}|?{' ',''})     <a href='[(#ENV{self}|parametre_url{'resultats',#ID_FORM}|ancre_url{form#ID_FORM})]'><:forms:voir_resultats:></a>]
12        [<span class='spip_form_ok_confirmation'>(#ENV{reponse})</span>]
13</p>
14#ENV*{message_complementaire}]
15[<p class='spip_form_erreur'>(#ENV*{erreur_message})</p>]
16[<div style='background:url((#ENV**{url_validation}));width:1px; height=1px'></div>]
17[(#ENV{formvisible}|?{' '})
18        [(#ENV{formactif})
19        <form method='post' action='#ENV{self}#form#ID_FORM'
20                enctype='multipart/form-data'>
21        ]
22                <div>
23                [(#ENV{self}|form_hidden)]
24                <input type='hidden' name='ajout_reponse' value='#ID_FORM' />
25                [<input type='hidden' name='id_donnee' value='(#ENV{id_donnee})' />]
26
27                <input type='hidden' name='retour_form' value='#ENV{url_retour}' />
28                [(#ENV{pose_cookie}|?{' '})<input type='hidden' name='ajout_cookie_form' value='oui' />]
29                </div>
30                        <INCLURE{fond=#ENV{class}}{id_form}{affiche_sondage}{erreur}{valeurs=#ENV**{valeurs}}>
31        [(#ENV{formactif})
32        </form>
33        ]
34        [(#REM) [(#ID_DONNEE|afficher_documents_colonne{donnee,donnees_edit})]]
35        [<div class='spip_form_notes'>(#NOTES)</div>]
36]
37<B_joint>
38<div id='forms_lier_donnees'>
39<BOUCLE_joint(FORMS_CHAMPS){id_form}{tout}{type=joint}{par rang}>
40[(#ENV{formvisible}|?{' '})
41        [(#ENV{formactif})
42                [<span class='spip_form_label'><div class='spip_form_champ'><span class='label'>#TITRE</span></span>
43                (#ENV{id_donnee}|forms_boite_jointure{#CHAMP,#ID_FORM})</div>]
44        ]
45]
46</BOUCLE_joint>
47</div>
48</B_joint>
49</div>
50</BOUCLE_form>
Note: See TracBrowser for help on using the repository browser.