adaptons à SPIP3

This commit is contained in:
chankalan 2021-09-07 22:12:14 +02:00
parent 69eb21cd9a
commit ce7659495e

View File

@ -7,10 +7,7 @@
[(#SET{legende,#INCLURE{fond=modeles/document_legende, env}|trim})] [(#SET{legende,#INCLURE{fond=modeles/document_legende, env}|trim})]
#SET{largeur,#ENV{largeur, #LARGEUR|?{#LARGEUR,400}}|max{120}} #SET{largeur,#ENV{largeur, #LARGEUR|?{#LARGEUR,400}}|max{120}}
#SET{duree,#ENV{duree,#DUREE}}[(#SET{duree,[(#GET{duree}|intval|?{[(#GET{duree}|intval)],''})]})] #SET{duree,#ENV{duree,#DUREE}}[(#SET{duree,[(#GET{duree}|intval|?{[(#GET{duree}|intval)],''})]})]
<div <div class="spip_document spip_document_#ID_DOCUMENT spip_document_#ENV{align}">
class="[(#ID_DOCUMENT|medias_modele_document_standard_classes{audio})]"[
(#ID_DOCUMENT|medias_modele_document_standard_attributs{audio})
]>
<figure class="spip_doc_inner"> <figure class="spip_doc_inner">
[(#LOGO_DOCUMENT{vignette}|image_reduire{#GET{largeur},0}|vider_attribut{class})] [(#LOGO_DOCUMENT{vignette}|image_reduire{#GET{largeur},0}|vider_attribut{class})]
<div class="audio-wrapper"[ style='width:(#GET{largeur})px;max-width:100%;']> <div class="audio-wrapper"[ style='width:(#GET{largeur})px;max-width:100%;']>