spip_nursit/plugins/dist/squelettes/zpip-dist-v1/inclure/documents.html

35 lines
1.4 KiB
HTML
Raw Permalink 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">[(#SPIP_VERSION|>{3}|?{<:medias:info_portfolio:>,<:infos_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">[(#SPIP_VERSION|>{3}|?{<:medias:titre_documents_joints:>,<: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>