[SPIP] +2.1.12
[velocampus/web/www.git] / www / plugins / auto / afficher_objets / prive / liste / syndic.html
1 [(#SET{defaut_tri,#ARRAY{
2 date,-1,
3 nom_site,1,
4 id_syndic,1
5 }})
6 ]<B_liste_sites>
7 #ANCRE_PAGINATION
8 <div class="liste-elements liste-objets sites">
9 <table class='spip liste'>
10 [<caption><strong class="caption">(#ENV*{titre,<:info_tous_articles_presents:>}) ([(#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='nom_site' scope='col'>[(#TRI{nom_site,<:form_prop_nom_site:>,ajax})]</th>
15 <th class='syndication' scope='col'><:info_syndication:></th>
16 <th class='date' scope='col'>[(#TRI{date,<:date:>,ajax})]</th>
17 <th class='id' scope='col'>[(#TRI{id_syndic,<:info_numero_abbreviation:>,ajax})]</th>
18 </tr>
19 </thead>
20 <tbody>
21 <BOUCLE_liste_sites(SYNDIC){id_mot?}{id_rubrique?}{where?}{statut?}{tri #ENV{order,date},#GET{defaut_tri}}{pagination #ENV{nb,10}}>
22 <tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]">
23 <td class='statut'>[(#ID_SYNDIC|puce_changement_statut{#STATUT,#ID_RUBRIQUE,site})]</td>
24 <td class='titre'>[(#LOGO_SITE||image_reduire{26,20})]
25 <a href="[(#ID_SYNDIC|generer_url_entite{site})]">#NOM_SITE</a> [<span class='visiter'>&#91;<a href='(#URL_SITE)'><:lien_visite_site:></a>&#93;</span>]
26 </td>
27 <td class='syndication'>[(#SYNDICATION|match{off|sus}|oui)
28 <span class="etat #SYNDICATION">[(#CHEMIN{puce-orange-anim.gif}|tag_img|inserer_attribut{alt,<:info_panne_site_syndique:>})<:info_probleme_grave:>]</span>
29 ]<BOUCLE_articlesyndic(SYNDIC_ARTICLES){id_syndic}{statut==.*}{tout} />[
30 (#SYNDICATION|match{oui|off|sus}|oui)
31 [(#TOTAL_BOUCLE)] <:info_syndication_articles:>
32 ]<//B_articlesyndic>
33 </td>
34 <td class='date'>[
35 (#STATUT|=={prop}|non) [(#DATE|affdate_jourcourt)]][
36 (#STATUT|=={prop}|oui) <:info_a_valider:>
37 ]</td>
38 <td class='id'>[(#AUTORISER{modifier,site,#ID_SYNDIC}|?{
39 <a href="[(#URL_ECRIRE{sites_edit,id_syndic=#ID_SYNDIC})]">#ID_SYNDIC</a>,
40 #ID_SYNDIC
41 })]</td>
42 </tr>
43 </BOUCLE_liste_sites>
44 </tbody>
45 </table>
46 [<p class='pagination'>(#PAGINATION{prive})</p>]
47 </div>
48 </B_liste_sites>[
49 <div class="liste-elements liste-objets sites caption-wrap"><strong class="caption">(#ENV*{sinon,''})</strong></div>
50 ]<//B_liste_sites>