Ignore:
Timestamp:
Jan 26, 2012, 3:25:13 PM (8 years ago)
Author:
joseph@…
Message:

Un formulaire de sélection des compositions à la SPIP 3 : plus compact

File:
1 edited

Legend:

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

    r54521 r57712  
    11<B_pour>
    22<BOUCLE_pour(POUR){tableau #ENV{_compositions}}{par nom}>
    3 <div class='choix'>[(#VALEUR|table_valeur{icon}|sinon{#CHEMIN{images/objet-liste-contenus.png}}|image_reduire{24,24}|inserer_attribut{class,logo})]
    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{nom}|supprimer_numero)][(#ENV{composition_heritee}|et{#CLE|=={''}}|oui)(<:compositions:composition_heritee:>)]</label>
    5 [<p class='descriptif'>(#VALEUR|table_valeur{description})</p>]
     3<div class='choix'>[(#VALEUR|table_valeur{icon}|sinon{#CHEMIN_IMAGE{composition-24.png}}|image_reduire{24,24}|inserer_attribut{class,logo})]
     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{nom}|supprimer_numero)][(#ENV{composition_heritee}|et{#CLE|=={''}}|oui)(<:compositions:composition_heritee:>)][<br /><span class='descriptif'>(#VALEUR|table_valeur{description})</span>]</label>
    65</div>
    76</BOUCLE_pour>
Note: See TracChangeset for help on using the changeset viewer.