spip_nursit/plugins/dist/squelettes/spipr-dist/content/galerie.html

38 lines
995 B
HTML
Raw Permalink Normal View History

2023-06-01 15:30:12 +00:00
[(#PLUGIN{albums}|sinon_interdire_acces{#URL_PAGE{404}})]
#SET{close,''}
<B_albums>
<section>
<header class="cartouche">
<h1>Galerie</h1>
</header>
<div class="main">
<div class="galerie">
<BOUCLE_albums(ALBUMS){!par date}>
[(#COMPTEUR_BOUCLE|alterner{' ','',''})
#GET{close}
<div class="row-fluid">
<ul class="thumbnails">
#SET{close,'</ul></div>'}
]
<li class="span4">
<div class="thumbnail">
#SET{img,''}
<BOUCLE_fi(DOCUMENTS){id_album}{media=image}{0,1}>#SET{img,#FICHIER}</BOUCLE_fi>
[(#LOGO_ALBUM|sinon{#GET{img}}
|image_passe_partout{150,150}
|image_recadre{150,150,center,transparent}
|image_aplatir{jpg,#ffffff}
|inserer_attribut{class,spip_logos}
|inserer_attribut{alt,[(#TITRE|attribut_html|couper{60})]}
)]
<div class="caption">
<h3>#TITRE</h3>
[(#DESCRIPTIF|couper{150})]
</div>
</div>
</li>
</BOUCLE_albums>[
(#GET{close})
</div>
</div>
</section>]