[SPIP] +2.1.12
[velocampus/web/www.git] / www / plugins / auto / afficher_objets / prive / liste / documents.html
1 <B_liste_docs>
2 #ANCRE_PAGINATION
3 <div class="liste-elements liste-objets documents">
4 <table class='spip liste'>
5 [<caption><strong class="caption">(#ENV*{titre,<:info_tous_documents_presents:>}) ([(#GRAND_TOTAL)])</strong></caption>]
6 <thead>
7 <tr class='first_row'>
8 <th class='statut' scope='col'>[(#TRI{statut,<span title="<:afficher_objets:info_statut|attribut_html:>">#</span>,ajax})]</th>
9 <th class='titre' scope='col'>[(#TRI{titre,<:info_titre:>,ajax})]</th>
10 <th class='date' scope='col'>[(#TRI{date,<:date:>,ajax})]</th>
11 <th class='id' scope='col'>[(#TRI{id_document,<:info_numero_abbreviation:>,ajax})]</th>
12 </tr>
13 </thead>
14 <tbody>
15
16 <BOUCLE_liste_docs(DOCUMENTS){id_article?}{id_rubrique?}{id_mot?}{id_auteur?}{where?}{statut?}{tri #ENV{order,date},#GET{defaut_tri}}{pagination #ENV{nb,10}}{!lang_select}>
17 <tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]">
18 <td class='info'>
19 [(#DISTANT|=={oui}|non)#SET{missing,#FICHIER|file_exists|non}]
20 [(#GET{missing}|oui)<img src='#CHEMIN{images/document-manquant-24.png}' width='22' height='22' alt='<:medias:fichier_manquant:>' title='<:medias:fichier_manquant:>' />]
21 [(#DISTANT|=={oui}|oui)<img src='#CHEMIN{images/document-distant-24.png}' width='22' height='22' alt='<:medias:fichier_distant:>'title='<:medias:fichier_distant:>'/>]
22 </td>
23 <td class='titre'>[(#LOGO_DOCUMENT||image_reduire{20,26})]<a href="[(#ID_DOCUMENT|generer_url_entite{document})]">[(#TITRE|sinon{#FICHIER**})]</a></td>
24 <td class='date'>[(#DATE|affdate_jourcourt)]</td>
25 <td class='id'>[(#AUTORISER{modifier,document,#ID_DOCUMENT}|?{
26 <a href="[(#URL_ECRIRE{documents_edit,id_document=#ID_DOCUMENT})]">#ID_DOCUMENT</a>,
27 #ID_DOCUMENT
28 })]</td>
29 </tr>
30 </BOUCLE_liste_docs>
31
32 </tbody>
33 </table>
34 [<p class='pagination'>(#PAGINATION{prive})</p>]
35 </div>
36 </B_liste_docs>[
37 <div class="liste-elements liste-objets documents caption-wrap"><strong class="caption">(#ENV*{sinon,''})</strong></div>
38 ]<//B_liste_docs>
39