source: spip-zone/_plugins_/quickvote/branches/2_1_0/formulaires/quickvote.html @ 78427

Last change on this file since 78427 was 78427, checked in by erational@…, 7 years ago

ne pas passer par les modeles mais par <formulaire> pour éviter les pbs de cache.

File size: 1.8 KB
Line 
1<BOUCLE_quickvote(QUICKVOTES){id_quickvote=#ENV{id}}>   
2#SET{reponse, #ARRAY{reponse1,#REPONSE1,reponse2,#REPONSE2}} 
3 
4[(#REPONSE3|trim|oui)  [(#SET{reponse,#GET{reponse}|array_merge{#ARRAY{reponse3,#REPONSE3}}})] ]
5[(#REPONSE4|trim|oui)  [(#SET{reponse,#GET{reponse}|array_merge{#ARRAY{reponse4,#REPONSE4}}})] ]
6[(#REPONSE5|trim|oui)  [(#SET{reponse,#GET{reponse}|array_merge{#ARRAY{reponse5,#REPONSE5}}})] ]
7[(#REPONSE6|trim|oui)  [(#SET{reponse,#GET{reponse}|array_merge{#ARRAY{reponse6,#REPONSE6}}})] ]
8[(#REPONSE7|trim|oui)  [(#SET{reponse,#GET{reponse}|array_merge{#ARRAY{reponse7,#REPONSE7}}})] ]
9[(#REPONSE8|trim|oui)  [(#SET{reponse,#GET{reponse}|array_merge{#ARRAY{reponse8,#REPONSE8}}})] ]
10[(#REPONSE9|trim|oui)  [(#SET{reponse,#GET{reponse}|array_merge{#ARRAY{reponse9,#REPONSE9}}})] ]
11[(#REPONSE10|trim|oui)  [(#SET{reponse,#GET{reponse}|array_merge{#ARRAY{reponse10,#REPONSE10}}})] ] 
12
13[(#HASARD|oui)   [(#SET{reponse, #GET{reponse}|quickvote_shuffle})]  ] 
14
15
16<div class="formulaire_spip formulaire_quickvote ajax"> 
17        [(#ENV{masquer_question}|non)<div class="quickvote-question">#TITRE</div>]
18        [<div class="quickvotebilan">(#ENV*{message_ok})</div>]
19        [<div class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</div>]
20     
21        [(#ENV**{editable}|oui)
22            <form action="#ENV{action}" method="post">
23            <div>
24                #ACTION_FORMULAIRE{#ENV{action}}
25               
26                <ul>
27                [(#SAISIE{radio, quickvote,
28                                 datas=#GET{reponse}}
29                  )]
30                </ul>
31                <p class="boutons"><input type="submit" class="submit" value="<:pass_ok:>" /></p>
32            </div>
33            </form> 
34         ]
35</div>     
36</BOUCLE_quickvote>
Note: See TracBrowser for help on using the repository browser.