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