[PLUGINS] +set de base
[lhc/web/www.git] / www / plugins / formidable_1_0 / prive / objets / liste / formulaires_reponses.html
1 [(#SET{defaut_tri,#ARRAY{
2 date,-1,
3 titre,1,
4 id_formulaires_reponse,1
5 }})
6 ]<B_reponses>
7 [(#BOITE_OUVRIR{'','simple'})]
8 #ANCRE_PAGINATION
9 <div class="liste-objets formulaires_reponses">
10 <table class="liste spip">
11 [<caption><strong class="caption">(#ENV*{titre})</strong></caption>]
12 <thead>
13 <tr class="first_row">
14 <th class="statut" scope='col'>[(#TRI{statut,<span>#</span>,ajax})]</th>
15 <th class="date" scope='col'>[(#TRI{date,<:date:>,ajax})]</th>
16 <th class="auteur" scope='col'>[(#TRI{id_auteur,<:formidable:reponses_auteur:>,ajax})]</th>
17 <th class="ip" scope='col'>[(#TRI{ip,<:formidable:reponses_ip:>,ajax})]</th>
18 <th class="action" scope='col'></th>
19 </tr>
20 </thead>
21 <tbody>
22 <BOUCLE_reponses(FORMULAIRES_REPONSES){id_formulaire}{id_auteur?}{statut?}{tri #ENV{order,date},#GET{defaut_tri}}{pagination #ENV{nb,10}}>
23 <tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]">
24 <td class="statut">[(#ID_FORMULAIRES_REPONSE|puce_changement_statut{#STATUT, #ID_FORMULAIRE, formulaires_reponse})]</td>
25 <td class="date">[(#DATE|affdate_jourcourt|concat{#DATE|affdate{", H:i"}})]</td>
26 <td class="auteur">
27 <BOUCLE_auteur(AUTEURS){id_auteur}{tout}>
28 <a href="[(#ID_AUTEUR|generer_url_entite{auteur})]">#NOM</a>
29 </BOUCLE_auteur>
30 <:formidable:reponses_anonyme:>
31 <//B_auteur>
32 </td>
33 <td class="ip">#IP</td>
34 <td class="action">
35 <a href="[(#URL_ECRIRE{formulaires_reponse}|parametre_url{id_formulaires_reponse,#ID_FORMULAIRES_REPONSE})]" title="<:formidable:reponses_voir_detail:>">
36 <img src="#CHEMIN{images/formulaire-reponse-24.png}" alt="<:formidable:reponses_voir_detail:>" />
37 </a>
38 </td>
39 </tr>
40 </BOUCLE_reponses>
41 </tbody>
42 </table>
43 [<p class="pagination">(#PAGINATION{prive})</p>]
44 </div>
45 #BOITE_FERMER
46 </B_reponses>[
47 <div class="liste-objets formulaires_reponses"><strong class="caption">(#ENV*{sinon,''})</strong></div>
48 ]<//B_reponses>