Changeset 108185 in spip-zone


Ignore:
Timestamp:
Dec 25, 2017, 4:01:05 PM (17 months ago)
Author:
brunobergot@…
Message:

report de r108184

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

Location:
_core_/branches/spip-3.2/plugins/medias
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _core_/branches/spip-3.2/plugins/medias

  • _core_/branches/spip-3.2/plugins/medias/paquet.xml

    r108116 r108185  
    22        prefix="medias"
    33        categorie="multimedia"
    4         version="2.20.17"
     4        version="2.20.18"
    55        etat="stable"
    66        compatibilite="[3.2.0;3.2.*]"
  • _core_/branches/spip-3.2/plugins/medias/prive/squelettes/inclure/mediatheque-galerie.html

    r108119 r108185  
    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.