[PLUGINS] +set de base
[lhc/web/www.git] / www / plugins / formidable_1_0 / prive / objets / liste / formulaires.html
1 [(#SET{defaut_tri,#ARRAY{
2 date,-1,
3 titre,1,
4 id_formulaire,1
5 }})
6 ]<B_formulaires>
7 #ANCRE_PAGINATION
8 <div class="liste-objets formulaires">
9 <table class="spip liste">
10 [<caption><strong class="caption">(#ENV*{titre})</strong></caption>]
11 <thead>
12 <tr class="first_row">
13 <th class="id_formulaire id" scope='col'>[(#TRI{id_formulaire,<span>#</span>,ajax})]</th>
14 <th class="titre" scope='col'>[(#TRI{titre,<:formidable:editer_titre:>,ajax})]</th>
15 <th class="identifiant" scope='col'>[(#TRI{identifiant,<:formidable:editer_identifiant:>,ajax})]</th>
16 <th class="action" scope='col'></th>
17 </tr>
18 </thead>
19 <tbody>
20 <BOUCLE_formulaires(FORMULAIRES){statut?}{tri #ENV{order,titre},#GET{defaut_tri}}{pagination #ENV{nb,10}}>
21 <tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})][ (#EXPOSE|unique)]">
22 <td class="id_formulaire"><:info_numero_abbreviation:>#ID_FORMULAIRE</td>
23 <td class="titre"><a href="[(#ID_FORMULAIRE|generer_url_entite{formulaire})]">#TITRE</a></td>
24 <td class="identifiant">#IDENTIFIANT</td>
25 <td class="action">
26 [(#AUTORISER{editer, formulaire}|oui)
27 [(#BOUTON_ACTION{[(#CHEMIN_IMAGE{formulaire-dupliquer-24.png}
28 |balise_img{<:formidable:formulaires_dupliquer:>})],
29 #URL_ACTION_AUTEUR{dupliquer_formulaire, #ID_FORMULAIRE},link})]
30 ]
31 [(#AUTORISER{editer, formulaire, #ID_FORMULAIRE}|oui)
32 [(#BOUTON_ACTION{[(#CHEMIN_IMAGE{formulaire-supprimer-24.png}
33 |balise_img{<:formidable:formulaires_supprimer:>})],
34 #URL_ACTION_AUTEUR{supprimer_formulaire, #ID_FORMULAIRE},link,<:formidable:formulaires_supprimer_confirmation:>})]
35 ]
36 </td>
37 </tr>
38 </BOUCLE_formulaires>
39 </tbody>
40 </table>
41 [<p class="pagination">(#PAGINATION{prive})</p>]
42 </div>
43 </B_formulaires>[
44 <div class="liste-objets formulaires"><strong class="caption">(#ENV*{sinon,<:formidable:formulaires_aucun:>})</strong></div>
45 ]<//B_formulaires>