16 lines
No EOL
936 B
HTML
16 lines
No EOL
936 B
HTML
<BOUCLE_tous (DOCUMENTS types_documents) {id_document=#ID} {tout}
|
|
>[(#SET{html,[(#FICHIER|contenu_document{#ENV{charset,auto}})]})]
|
|
[(#SET{data,[(#ARRAY{
|
|
type,[(#ARRAY{image,photo,video,video,audio,rich,sound,rich,file,rich}|table_valeur{#MEDIA})],
|
|
html,[(#GET{html})],
|
|
width,[(#GET{html}|extraire_attribut{width})],
|
|
height,[(#GET{html}|extraire_attribut{height})],
|
|
title,[(#TITRE)],
|
|
media,[(#MEDIA)],
|
|
author_name,[(#CREDITS)],
|
|
thumbnail_url,[(#LOGO_DOCUMENT|extraire_attribut{src})]})]})
|
|
]
|
|
<figure class='spip_documents spip_documents_[(#ENV{align,center})] ressource oembed[ oembed_(#GET{data}|table_valeur{type})][ oembed_(#GET{data}|table_valeur{media}|replace{sound,audio})][ oembed_(#GET{data}|table_valeur{provider_name}|strtolower|replace{'\W','_'})]'>
|
|
[(#INCLURE{fond=modeles/oembed_[(#GET{data}|table_valeur{type,link})],data=#GET{data},url=#OEMBED,lien=#OEMBED,align,async,autoplay})]
|
|
</figure>
|
|
</BOUCLE_tous> |