[SPIP] +2.1.12
[velocampus/web/www.git] / www / plugins / auto / afficher_objets / prive / liste / articles.html
diff --git a/www/plugins/auto/afficher_objets/prive/liste/articles.html b/www/plugins/auto/afficher_objets/prive/liste/articles.html
new file mode 100644 (file)
index 0000000..d900449
--- /dev/null
@@ -0,0 +1,42 @@
+[(#SET{defaut_tri,#ARRAY{
+       date,#ENV{date_sens,-1},
+       titre,1,
+       num titre,1,
+       id_article,1
+}})
+]<B_liste_art>
+#ANCRE_PAGINATION
+<div class="liste-elements liste-objets articles">
+<table class='spip liste'>
+[<caption><strong class="caption">(#ENV*{titre,<:info_tous_articles_presents:>}) ([(#GRAND_TOTAL)])</strong></caption>]
+       <thead>
+               <tr class='first_row'>
+                       <th class='statut' scope='col'>[(#TRI{statut,<span title="<:afficher_objets:info_statut|attribut_html:>">#</span>,ajax})]</th>
+                       <th class='rang' scope='col'>[(#TRI{num titre,<:afficher_objets:rang:>,ajax})]</th>
+                       <th class='titre' scope='col'>[(#TRI{titre,<:info_titre:>,ajax})]</th>
+                       <th class='auteur' scope='col'><:auteur:></th>
+                       <th class='date' scope='col'>[(#TRI{date,<:date:>,ajax})]</th>
+                       <th class='id' scope='col'>[(#TRI{id_article,<:info_numero_abbreviation:>,ajax})]</th>
+               </tr>
+       </thead>
+       <tbody>
+       <BOUCLE_liste_art(ARTICLES){id_rubrique?}{id_mot?}{id_auteur?}{where?}{statut?}{tri #ENV{order,date},#GET{defaut_tri}}{pagination #ENV{nb,10}}{!lang_select}>
+               <tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]">
+                       <td class='statut'>[(#ID_ARTICLE|puce_changement_statut{#STATUT,#ID_RUBRIQUE,article})]</td>
+                       <td class='rang'>#RANG</td>
+                       <td class='titre'>[(#LOGO_ARTICLE||image_reduire{20,26})]<a href="[(#ID_ARTICLE|generer_url_entite{article})]">[(#TITRE|supprimer_numero)]</a></td>
+                       <td class='auteur'><BOUCLE_auteurs(AUTEURS){id_article}{', '}><a href="[(#ID_AUTEUR|generer_url_entite{auteur})]">#NOM</a></BOUCLE_auteurs></td>
+                       <td class='date'>[(#DATE|affdate_jourcourt)]</td>
+                       <td class='id'>[(#AUTORISER{modifier,article,#ID_ARTICLE}|?{
+                               <a href="[(#URL_ECRIRE{articles_edit,id_article=#ID_ARTICLE})]">#ID_ARTICLE</a>,
+                               #ID_ARTICLE
+                       })]</td>
+               </tr>
+       </BOUCLE_liste_art>
+       </tbody>
+</table>
+[<p class='pagination'>(#PAGINATION{prive})</p>]
+</div>
+</B_liste_art>[
+<div class="liste-elements liste-objets articles caption-wrap"><strong class="caption">(#ENV*{sinon,''})</strong></div>
+]<//B_liste_art>