Changeset 108184 in spip-zone


Ignore:
Timestamp:
Dec 25, 2017, 3:58:00 PM (15 months ago)
Author:
brunobergot@…
Message:

Fix #3427 : afficher les poids total des documents listés par la médiathèque

Location:
_core_/plugins/medias
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/medias/paquet.xml

    r108117 r108184  
    22        prefix="medias"
    33        categorie="multimedia"
    4         version="2.21.4"
     4        version="2.21.5"
    55        etat="stable"
    66        compatibilite="[3.3.0-dev;3.3.*]"
  • _core_/plugins/medias/prive/squelettes/inclure/mediatheque-galerie.html

    r108118 r108184  
    22
    33<div class="galerie[ media-(#ENV{media,''})]">
     4        [(#SET{poids_total,0})]<BOUCLE_poids_total(DOCUMENTS){id_rubrique ?}{id_article ?}{id_breve ?}{id_document ?}{recherche ?}{media?}{extension?}{distant?}{brise?}{statut==#ENV{statut,.*}}{orphelins?}{titre==(#ENV{sanstitre}|?{'^$','.*'})}{id_vignette==(#ENV{sansvignette}|?{'^0','.*'})}>[(#SET{poids_total,#GET{poids_total}|plus{#TAILLE}})]</BOUCLE_poids_total>
    45        <B_galerie>
    5        
    6         <h2>[(#GRAND_TOTAL|singulier_ou_pluriel{#VAL{medias:un_}|concat{#ENV{media,document}},#VAL{medias:des_}|concat{#ENV{media,document},s}})]</h2>
     6        <h2>[(#GRAND_TOTAL|singulier_ou_pluriel{#VAL{medias:un_}|concat{#ENV{media,document}},#VAL{medias:des_}|concat{#ENV{media,document},s}})][ - (#GET{poids_total}|taille_en_octets)]</h2>
    77        <div class='pagination tri'>
    88                [(#TRI{'>',#CHEMIN_IMAGE{tri-asc-16.png}|balise_img{<:par_tri_croissant:>}}) |]
Note: See TracChangeset for help on using the changeset viewer.