[PLUGINS] ~maj globale
[lhc/web/www.git] / www / plugins / formidable / 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,#GRAND_TOTAL|singulier_ou_pluriel{formidable:info_1_formulaire,formidable:info_nb_formulaires}})</strong></caption>]
11 <thead>
12 <tr class="first_row">
13 <th class="statut" scope='col'></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="reponses" scope='col'>[(#TRI{compteur_formulaires_reponses,<:formidable:titre_reponses:>,ajax})]</th>
17 <th class="id_formulaire id" scope='col'>[(#TRI{id_formulaire,<:info_numero_abbreviation:>,ajax})]</th>
18 </tr>
19 </thead>
20 <tbody>
21 <BOUCLE_formulaires(FORMULAIRES){id_formulaire?}{statut?}{compteur_left formulaires_reponses}{tri #ENV{par,compteur_formulaires_reponses},#GET{defaut_tri}}{recherche?}{pagination #ENV{nb,10}}>
22 <tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})][ (#EXPOSE|unique)]">
23 <td class="statut">[(#STATUT|puce_statut{formulaire,#ID_FORMULAIRE})]</td>
24 <td class="titre"><a href="[(#ID_FORMULAIRE|generer_url_entite{formulaire})]">#TITRE</a></td>
25 <td class="identifiant">#IDENTIFIANT</td>
26 <td class="reponses">[<a href="#URL_ECRIRE{formulaires_reponses,id_formulaire=#ID_FORMULAIRE}">(#COMPTEUR{formulaires_reponses}|?{#COMPTEUR{formulaires_reponses},''})</a>]
27 <BOUCLE_pub(FORMULAIRES_REPONSES){id_formulaire}{statut=publie}/>[<span class="small"><br />(#TOTAL_BOUCLE|!={#COMPTEUR{formulaires_reponses}}|et{#COMPTEUR{formulaires_reponses}}|?{#TOTAL_BOUCLE})&nbsp;[(#TOTAL_BOUCLE|>{1}|?{<:formidable:info_reponse_publiees:>,<:formidable:info_reponse_publiee:>})]</span>]<//B_pub>
28 </td>
29 <td class="id_formulaire id">[(#AUTORISER{modifier,formulaire,#ID_FORMULAIRE}|?{
30 <a href="[(#URL_ECRIRE{formulaire_edit,id_formulaire=#ID_FORMULAIRE})]">#ID_FORMULAIRE</a>,
31 #ID_FORMULAIRE
32 })]</td>
33 </tr>
34 </BOUCLE_formulaires>
35 </tbody>
36 </table>
37 [<p class="pagination">(#PAGINATION{prive})</p>]
38 </div>
39 </B_formulaires>[
40 <div class="liste-objets formulaires"><strong class="caption">(#ENV*{sinon,''})</strong></div>
41 ]<//B_formulaires>