spip_nursit/plugins/dist/squelettes/z-dist/inclure/documents.html

35 lines
1.3 KiB
HTML
Raw Normal View History

2023-06-01 15:30:12 +00:00
[(#REM) Portfolio : album d'images ]
<B_documents_portfolio>
<div class="documents documents_portfolio">
<h2 class="h2"><:medias:info_portfolio:></h2>
<BOUCLE_documents_portfolio(DOCUMENTS) {id_article?}{id_rubrique?} {mode=document}{extension IN png,jpg,gif} {par num titre, date}{vu=non}>[
<a href="(#URL_DOCUMENT)"
type="#MIME_TYPE"
rel="documents_portfolio[-a(#ID_ARTICLE)][-r(#ID_RUBRIQUE)]"
[ title="(#TITRE|attribut_html|couper{80})"]>[(#FICHIER
|image_reduire{0,100}
|inserer_attribut{class,spip_logos}
|inserer_attribut{alt,[(#TITRE|attribut_html|couper{80})]})]</a>
]</BOUCLE_documents_portfolio>
</div>
</B_documents_portfolio>
[(#REM)
Liste des autres documents joints
]
<B_documents_joints>
<div class="liste documents documents_joints">
<h2 class="h2"><:medias:titre_documents_joints:></h2>
<ul class="liste-items">
<BOUCLE_documents_joints(DOCUMENTS) {id_article?}{id_rubrique?} {extension !IN gif,jpg,png} {vu=non}{par num titre, date}>[
<li class="item">
<strong><a href="(#URL_DOCUMENT)" title="<:bouton_telecharger:>" type="#MIME_TYPE">[(#TITRE|sinon{[(#FICHIER|basename|couper{80})]})]</a></strong>
<span class="small">(<span>#TYPE_DOCUMENT[ &ndash; (#TAILLE|taille_en_octets)]</span>)</span>
#DESCRIPTIF
]</li>
</BOUCLE_documents_joints>
</ul>
</div>
</B_documents_joints>