[SPIP] ~spip v3.2.0-->v3.2.1
[lhc/web/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})
26 ]<a href="[(#ID_BREVE|generer_url_entite{breve})]"
27 [hreflang="(#ENV{lang}|=={#LANG}|non|?{#LANG})"]
28 title="<:info_numero_abbreviation|attribut_html:> #ID_BREVE">#TITRE</a></td>
29 <td class='date secondaire'>[(#DATE|affdate_jourcourt)]</td>
30 <td class='id'>[(#AUTORISER{modifier,breve,#ID_BREVE}|?{
31 <a href="[(#URL_ECRIRE{breve_edit,id_breve=#ID_BREVE})]" title="<:breves:icone_modifier_breve|attribut_html:>">#ID_BREVE</a>,
32 #ID_BREVE
33 })]</td>
34 </tr>
35 </BOUCLE_liste_bre>
36 </tbody>
37 </table>
38 [<p class='pagination'>(#PAGINATION{prive})</p>]
39 </div>
40 </B_liste_bre>[
41 <div class="liste-objets breves caption-wrap"><strong class="caption">(#ENV*{sinon,''})</strong></div>
42 ]<//B_liste_bre>