Changeset 92290 in spip-zone for _plugins_/compositions


Ignore:
Timestamp:
Oct 13, 2015, 2:56:23 PM (4 years ago)
Author:
marcimat@…
Message:

Boucle DATA pour le choix de la composition.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/compositions/trunk/formulaires/inc-selecteur_composition.html

    r86321 r92290  
    1 <B_pour>
    2 <BOUCLE_pour(POUR){tableau #ENV{_compositions}}{par nom}>
     1<BOUCLE_compositions(DATA){source tableau, #ENV{_compositions}}{par nom}>
    32<div class='choix'>
    4 <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>
     3<input type='radio' class='radio' name='#ENV{name}' id='#ENV{name}-#CLE' value='#CLE'[(#CLE|=={#ENV{selected}}|oui)checked='checked'] />
     4<label for='#ENV{name}-#CLE'>
     5        [(#ICON|sinon{#CHEMIN_IMAGE{composition-24.png}}|image_reduire{24,24}|inserer_attribut{class,logo})]
     6        [(#NOM|supprimer_numero)][(#ENV{composition_heritee}|et{#CLE|=={''}}|oui)(<:compositions:composition_heritee:>)]
     7        [<br /><span class='descriptif'>(#DESCRIPTION)</span>]
     8</label>
    59</div>
    6 </BOUCLE_pour>
    7 </B_pour>
     10</BOUCLE_compositions>
Note: See TracChangeset for help on using the changeset viewer.