[SPIP] +spip v3.0.17
[lhc/web/clavette_www.git] / www / plugins-dist / svp / prive / objets / liste / plugins.html
1 [(#REM) <!-- Liste des plugins :
2 - soit integrale de l'ensemble du site
3 - soit reduite a un seul depot la page depot
4
5 Les parametres d'environnement specifiques sont :
6 - titre : le titre de la liste
7 - par : le champ tri principal
8 - pas : le pas de pagination
9 - categorie : filtrer la liste sur categorie
10 - id_depot : filtrer la liste sur un depot
11 - recherche : critere de recherche
12 - where : condition supplementaire construire par l'appelant (non utilisee)
13 -->]
14
15 [(#SET{defaut_tri, #ARRAY{
16 nom, 1,
17 date_modif, -1,
18 prefixe, 1,
19 categorie, 1,
20 id_depot, 1}})]
21
22 <B_liste_plugins>
23 #ANCRE_PAGINATION
24 <div class="liste-objets plugins">
25 <table class="spip liste" summary="<:svp:resume_table_plugins:>">
26 [<caption><strong class="caption">(#ENV*{titre, #GRAND_TOTAL|singulier_ou_pluriel{svp:info_1_plugin,svp:info_nb_plugins}})</strong></caption>]
27 <thead>
28 <tr class="first_row">
29 <th class="titre principale">[(#TRI{nom, <:info_titre:>, ajax})]</th>
30 <th class="liste"><:svp:label_branches_spip:></th>
31 <th class="date secondaire">[(#TRI{date_modif, <:svp:label_modifie_le:>, ajax})]</th>
32 <th class="titre">[(#TRI{prefixe, <:svp:label_prefixe:>, ajax})]</th>
33 <th class="id">[(#TRI{id_plugin, <:info_numero_abbreviation:>, ajax})]</th>
34 </tr>
35 </thead>
36 <tbody>
37 <BOUCLE_liste_plugins(PLUGINS) {where?}{id_depot?}{categorie?}{recherche?}{tri #ENV{par, nom}, #GET{defaut_tri}}{pagination #ENV{pas, 25}}>
38 <tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]">
39 <td class="titre principale">
40 <a[ href="(#ID_PLUGIN|generer_url_entite{plugin})"] title="<:svp:bulle_aller_plugin:>">
41 [(#NOM)]
42 </a>
43 </td>
44 <td class="liste">[(#BRANCHES_SPIP)]</td>
45 <td class="date secondaire">[(#DATE_MODIF|affdate{d-m H:i})]</td>
46 <td class="titre">[(#PREFIXE|strtolower)]</td>
47 <td class="id">[(#ID_PLUGIN)]</td>
48 </tr>
49 </BOUCLE_liste_plugins>
50 </tbody>
51 </table>
52 [<p class='pagination'>(#PAGINATION{prive})</p>]
53 </div>
54 </B_liste_plugins>
55 <//B_liste_plugins>