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{largeur,#ENV{largeur, #LARGEUR|?{#LARGEUR,400}}|max{120}}
#SET{duree,#ENV{duree,#DUREE}}[(#SET{duree,[(#GET{duree}|intval|?{[(#GET{duree}|intval)],''})]})]
<div
class="[(#ID_DOCUMENT|medias_modele_document_standard_classes{audio})]"[
(#ID_DOCUMENT|medias_modele_document_standard_attributs{audio})
]>
<div class="spip_document spip_document_#ID_DOCUMENT spip_document_#ENV{align}">
<figure class="spip_doc_inner">
[(#LOGO_DOCUMENT{vignette}|image_reduire{#GET{largeur},0}|vider_attribut{class})]
<div class="audio-wrapper"[ style='width:(#GET{largeur})px;max-width:100%;']>