[SPIP] +spip v3.0.17
[lhc/web/clavette_www.git] / www / plugins-dist / svp / prive / objets / liste / paquets.html
1 [(#REM) <!-- Liste des paquets :
2 - soit integrale de l'ensemble du site
3 - soit reduite a un seul depot ou a un plugin
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 - id_depot : filtrer la liste sur un depot
10 - id_plugin : filtrer la liste sur un plugin
11 - recherche : critere de recherche
12 - where : condition supplementaire construire par l'appelant (non utilisee)
13 -->]
14
15 [(#SET{defaut_tri, #ARRAY{
16 nom_archive, 1,
17 date_modif, -1,
18 version, -1,
19 id_paquet, 1}})]
20
21 <B_liste_paquets>
22 #ANCRE_PAGINATION
23 <div class="liste-objets paquets">
24 <table class="spip liste" summary="<:svp:resume_table_paquets:>">
25 [<caption><strong class="caption">(#ENV*{titre, #GRAND_TOTAL|singulier_ou_pluriel{svp:info_1_paquet,svp:info_nb_paquets}})</strong></caption>]
26 <thead>
27 <tr class="first_row">
28 <th class="titre principale">[(#TRI{nom_archive, <:info_titre:>, ajax})]</th>
29 <th class="date secondaire">[(#TRI{date_modif, <:svp:label_modifie_le:>, ajax})]</th>
30 <th class="intervalle"><:svp:label_compatibilite_spip:></th>
31 <th class="numero">[(#TRI{version, <:svp:label_version:>, ajax})]</th>
32 <th class="lien"><:svp:label_xml_plugin:></th>
33 <th class="lien"><:svp:titre_depot:></th>
34 <th class="id">[(#TRI{id_paquet, <:info_numero_abbreviation:>, ajax})]</th>
35 </tr>
36 </thead>
37 <tbody>
38 <BOUCLE_liste_paquets(PAQUETS) {where?}{id_depot?}{id_plugin?}{recherche?}{tri #ENV{par, nom_archive}, #GET{defaut_tri}}{pagination #ENV{pas, 25}}>
39 <tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]">
40 <BOUCLE_depot_paquet(DEPOTS) {id_depot}>
41 <td class="titre principale">
42 <a[ id="(#NOM_ARCHIVE|basename{.zip})"][ href="(#URL_ARCHIVES|concat{/}|concat{#NOM_ARCHIVE})"] title="<:svp:bulle_telecharger_archive:>[ (#NOM_ARCHIVE)][ - (#NBO_ARCHIVE|taille_en_octets)]">
43 [(#NOM_ARCHIVE)]
44 </a>
45 </td>
46 <td class="date secondaire">[(#DATE_MODIF|affdate{d-m-y H:i})]</td>
47 <td class="intervalle">[(#COMPATIBILITE_SPIP|svp_afficher_intervalle{SPIP}|sinon{--})]</td>
48 <td class="numero">[(#_liste_paquets:VERSION)]</td>
49 <td class="lien">
50 <a class="mediabox boxIframe boxWidth-800px boxHeight-600px"[ href="(#URL_PAGE{xml,url=#URL_ARCHIVES|concat{/}|concat{#NOM_ARCHIVE|basename{.zip}}|concat{.xml}})"] title="<:svp:bulle_afficher_xml_plugin:>">
51 [(#CHEMIN_IMAGE{plugin-16.png}|balise_img{'', icone})]
52 </a>
53 </td>
54 <td class="lien">
55 <a[ href="(#ID_DEPOT|generer_url_entite{depot})"] title="<:svp:bulle_aller_depot:>">
56 [(#TITRE)]
57 </a>
58 </td>
59 <td class="id">[(#ID_PAQUET)]</td>
60 </BOUCLE_depot_paquet>
61 </tr>
62 </BOUCLE_liste_paquets>
63 </tbody>
64 </table>
65 [<p class='pagination'>(#PAGINATION{prive})</p>]
66 </div>
67 </B_liste_paquets>
68 <//B_liste_paquets>