[SPIP] +spip v3.0.17
[lhc/web/clavette_www.git] / www / plugins-dist / breves / prive / objets / liste / breves.html
1 [(#SET{defaut_tri,#ARRAY{
2 date,#ENV{date_sens,-1},
3 date_heure,#ENV{date_sens,-1},
4 titre,1,
5 id_breve,1,
6 points,-1
7 }})
8 ]<B_liste_bre>
9 #ANCRE_PAGINATION
10 <div class="liste-objets breves">
11 <table class='spip liste'>
12 [<caption><strong class="caption">(#ENV*{titre,#GRAND_TOTAL|singulier_ou_pluriel{breves:info_1_breve,breves:info_nb_breves}})</strong></caption>]
13 <thead>
14 <tr class='first_row'>
15 <th class='statut' scope='col'>[(#TRI{statut,<span title="<:lien_trier_statut|attribut_html:>">#</span>,ajax})]</th>
16 <th class='titre' scope='col'>[(#TRI{titre,<:info_titre:>,ajax})]</th>
17 <th class='date' scope='col'>[(#TRI{date,<:date:>,ajax})]</th>
18 <th class='id' scope='col'>[(#TRI{id_breve,<:info_numero_abbreviation:>,ajax})]</th>
19 </tr>
20 </thead>
21 <tbody>
22 <BOUCLE_liste_bre(BREVES){id_breve?}{id_secteur?}{id_mot?}{id_rubrique?}{where?}{recherche?}{statut?}{tri #ENV{par,date},#GET{defaut_tri}}{pagination #ENV{nb,10}}>
23 <tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]">
24 <td class='statut'>[(#STATUT|puce_statut{'breve',#ID_BREVE,#ID_RUBRIQUE})]</td>
25 <td class='titre principale'>[(#LOGO_BREVE|image_reduire{20,26})]<a href="[(#ID_BREVE|generer_url_entite{breve})]"
26 title="<:info_numero_abbreviation|attribut_html:> #ID_BREVE">#TITRE</a></td>
27 <td class='date secondaire'>[(#DATE|affdate_jourcourt)]</td>
28 <td class='id'>[(#AUTORISER{modifier,breve,#ID_BREVE}|?{
29 <a href="[(#URL_ECRIRE{breve_edit,id_breve=#ID_BREVE})]">#ID_BREVE</a>,
30 #ID_BREVE
31 })]</td>
32 </tr>
33 </BOUCLE_liste_bre>
34 </tbody>
35 </table>
36 [<p class='pagination'>(#PAGINATION{prive})</p>]
37 </div>
38 </B_liste_bre>[
39 <div class="liste-objets breves caption-wrap"><strong class="caption">(#ENV*{sinon,''})</strong></div>
40 ]<//B_liste_bre>