[PLUGINS] ~maj globale
[lhc/web/www.git] / www / plugins / compositions_v3 / formulaires / inc-selecteur_composition.html
index d63dfc4..44c2102 100644 (file)
@@ -1,7 +1,13 @@
-<B_pour>\r
-<BOUCLE_pour(POUR){tableau #ENV{_compositions}}{par nom}>\r
-<div class='choix'>\r
-<input type='radio' class='radio' name='#ENV{name}' id='[(#ENV{name})]-#CLE' value='#CLE'[(#CLE|=={#ENV{selected}}|oui)checked='checked'] /><label for='[(#ENV{name})]-#CLE'>[(#VALEUR|table_valeur{icon}|sinon{#CHEMIN_IMAGE{composition-24.png}}|image_reduire{24,24}|inserer_attribut{class,logo})][(#VALEUR|table_valeur{nom}|supprimer_numero)][(#ENV{composition_heritee}|et{#CLE|=={''}}|oui)(<:compositions:composition_heritee:>)][<br /><span class='descriptif'>(#VALEUR|table_valeur{description})</span>]</label>\r
-</div>\r
-</BOUCLE_pour>\r
-</B_pour>
\ No newline at end of file
+<BOUCLE_compositions(DATA){source tableau, #ENV{_compositions}}{par nom}>
+<div class='choix'>
+<input type='radio' class='radio' name='#ENV{name}' id='#ENV{name}-#CLE' value='#CLE'[(#CLE|=={#ENV{selected}}|oui)checked='checked'] />
+<label for='#ENV{name}-#CLE'>
+       [ [<a href="(#IMAGE_EXEMPLE|balise_img|extraire_attribut{src})" class='mediabox exemple' title="<:compositions:voir_image_exemple|attribut_html:>">]
+               (#ICON|sinon{#CHEMIN_IMAGE{composition-24.png}}|image_reduire{24,24}|inserer_attribut{class,logo})
+               [(#IMAGE_EXEMPLE|oui)</a>]
+       ]
+       [(#NOM|supprimer_numero)][(#ENV{composition_heritee}|et{#CLE|=={''}}|oui)(<:compositions:composition_heritee:>)]
+       [<br /><span class='descriptif'>(#DESCRIPTION)</span>]
+</label>
+</div>
+</BOUCLE_compositions>