[SPIP] +2.1.12
[velocampus/web/www.git] / www / plugins / auto / afficher_objets / prive / liste / syndic_articles.html
1 [(#SET{defaut_tri,#ARRAY{
2 date,-1,
3 titre,1,
4 id_article,1
5 }})
6 ]<B_liste_art>
7 #ANCRE_PAGINATION
8 <div class="liste-elements liste-objets syndic_articles">
9 <table class='spip liste'>
10 [<caption><strong class="caption">(#ENV*{titre,<:titre_articles_syndiques:>}) ([(#GRAND_TOTAL)])</strong></caption>]
11 <thead>
12 <tr class='first_row'>
13 <th class='statut' scope='col'>[(#TRI{statut,<span title="<:afficher_objets:info_statut|attribut_html:>">#</span>,ajax})]</th>
14 <th class='titre' scope='col'>[(#TRI{titre,<:info_titre:>,ajax})]</th>
15 <th class='date' scope='col'>[(#TRI{date,<:date:>,ajax})]</th>
16 <th class='action' scope='col'></th>
17 </tr>
18 </thead>
19 <tbody>
20 <BOUCLE_liste_art(SYNDIC_ARTICLES){id_syndic?}{where?}{statut?}{tri #ENV{order,date},#GET{defaut_tri}}{pagination #ENV{nb,10}}>
21 <tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]">
22 <td class='statut'>[(#ID_SYNDIC_ARTICLE|puce_changement_statut{#STATUT,#ID_SYNDIC,syndic_article})]</td>
23 <td class='titre'>[<a
24 href="(#URL_ARTICLE)">#SET{a,'</a>'}]#TITRE[(#GET{a})]
25 <span class="auteurs">([(#LESAUTEURS), ][(#DATE|affdate_court)])</span>
26 [(#TAGS|afficher_enclosures)]
27 [<div style='float:#LANG_RIGHT;'>&nbsp;<em>(#TAGS|afficher_tags)</em></div>]
28 [<div style='float:#LANG_RIGHT;'>[<a href="(#URL_SOURCE)">#SET{b,'</a>'}](#SOURCE|sinon{#URL_SOURCE})#GET{b}</div>]
29 </td>
30 <td class='date'>[(#DATE|affdate_jourcourt)]</td>
31 <td class='action'>[(#AUTORISER{modifier,syndic_article,#ID_SYNDIC_ARTICLE}|oui)
32 #SET{valider,' '}
33 [(#STATUT|=={publie}|oui)[(#BOUTON_ACTION{<:info_bloquer_lien:>,#URL_ACTION_AUTEUR{instituer_syndic,#ID_SYNDIC_ARTICLE-refuse,#SELF},ajax})]
34 #SET{valider,''}][
35 (#STATUT|=={refuse}|oui)[(#BOUTON_ACTION{<:info_retablir_lien:>,#URL_ACTION_AUTEUR{instituer_syndic,#ID_SYNDIC_ARTICLE-publie,#SELF},ajax})]
36 #SET{valider,''}][
37 (#STATUT|=={off}|et{#ID_SYNDIC_ARTICLE|test_syndic_article_miroir}|oui)
38 <:syndic_lien_obsolete:>
39 #SET{valider,''}][(#GET{valider}|oui)
40 [(#BOUTON_ACTION{<:info_retablir_lien:>,#URL_ACTION_AUTEUR{instituer_syndic,#ID_SYNDIC_ARTICLE-publie,#SELF},ajax})]
41 ]
42 ]</td>
43 </tr>
44 </BOUCLE_liste_art>
45 </tbody>
46 </table>
47 [<p class='pagination'>(#PAGINATION{prive})</p>]
48 </div>
49 </B_liste_art>[
50 <div class="liste-elements liste-objets syndic_articles caption-wrap"><strong class="caption">(#ENV*{sinon,''})</strong></div>
51 ]<//B_liste_art>