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

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

support de typo() pour permettre le multilangue notamment la balise <multi> dans les titres et réponses

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<div class="formulaire_spip formulaire_quickvote ajax"> 
16        [(#ENV{masquer_question}|non)<div class="quickvote-question">#TITRE</div>]
17        [<div class="quickvotebilan">(#ENV*{message_ok})</div>]
18        [<div class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</div>]
19     
20        [(#ENV**{editable}|oui)
21            <form action="#ENV{action}" method="post">
22            <div>
23                #ACTION_FORMULAIRE{#ENV{action}}
24               
25                <ul>
26                [(#SAISIE{radio, quickvote,
27                                 datas=#GET{reponse}}
28                  )]
29                </ul>
30                <p class="boutons"><input type="submit" class="submit" value="<:pass_ok:>" /></p>
31            </div>
32            </form> 
33         ]
34</div>     
35</BOUCLE_quickvote>
Note: See TracBrowser for help on using the repository browser.