[SPIP] ~v3.0.20-->v3.0.25
[lhc/web/clavette_www.git] / www / prive / objets / liste / articles.html
1 [(#SET{defaut_tri,#ARRAY{
2 date,#ENV{date_sens,-1},
3 num titre,1,
4 id_article,1,
5 points,-1
6 }|defaut_tri_defined})
7 ]<B_liste_art>
8 #ANCRE_PAGINATION
9 <div class="liste-objets articles">
10 <table class='spip liste'>
11 [<caption><strong class="caption">(#ENV*{titre,#GRAND_TOTAL|singulier_ou_pluriel{info_1_article,info_nb_articles}})</strong></caption>]
12 <thead>
13 <tr class='first_row'>
14 <th class='statut' scope='col'>[(#TRI{statut,<span title="<:lien_trier_statut|attribut_html:>">#</span>,ajax})]</th>
15 <th class='titre principale' scope='col'>[(#TRI{num titre,<:info_titre:>,ajax})]</th>
16 <th class='auteur' scope='col'><:auteur:></th>
17 <th class='date secondaire' scope='col'>[(#TRI{date,<:date:>,ajax})]</th>
18 <th class='id' scope='col'>[(#TRI{id_article,<:info_numero_abbreviation:>,ajax})]</th>
19 </tr>
20 </thead>
21 <tbody>
22 <BOUCLE_liste_art(ARTICLES){id_article?}{id_rubrique?}{id_mot?}{id_auteur?}{where?}{statut?}{recherche?}{tri #ENV{par,date}|defaut_tri_par{#GET{defaut_tri}},#GET{defaut_tri}}{par titre}{pagination #ENV{nb,10}}{!lang_select}>
23 [(#LANG|changer_typo)]
24 <tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]">
25 <td class='statut'>[(#STATUT|puce_statut{article,#ID_ARTICLE,#ID_RUBRIQUE})]</td>
26 <td class='titre principale'>[(#LOGO_ARTICLE|image_reduire{20,26})]<a href="[(#ID_ARTICLE|generer_url_entite{article})]"
27 title="<:info_numero_abbreviation|attribut_html:> #ID_ARTICLE">[(#RANG). ]#TITRE</a> [(#ENV{lang}|=={#LANG}|non) &#40;#LANG&#41;]</td>
28 <td class='auteur'><div class="inner"><BOUCLE_auteurs(AUTEURS){id_article}{', '}><a href="[(#ID_AUTEUR|generer_url_entite{auteur})]">#NOM</a></BOUCLE_auteurs></div></td>
29 <td class='date secondaire'>[<span title="[(#DATE|heures_minutes)]">(#DATE|affdate_jourcourt)</span>]</td>
30 <td class='id'>[(#AUTORISER{modifier,article,#ID_ARTICLE}|?{
31 <a href="[(#URL_ECRIRE{article_edit,id_article=#ID_ARTICLE})]">#ID_ARTICLE</a>,
32 #ID_ARTICLE
33 })]</td>
34 </tr>
35 </BOUCLE_liste_art>
36 [(#REM|changer_typo)]
37 </tbody>
38 </table>
39 [<p class='pagination'>(#PAGINATION{#ENV{pagination,prive}})</p>]
40 </div>
41 </B_liste_art>[
42 <div class="liste-objets articles caption-wrap"><strong class="caption">(#ENV*{sinon,''})</strong></div>
43 ]<//B_liste_art>