14 lines
891 B
HTML
14 lines
891 B
HTML
[(#ENV{multiple}|oui)
|
|
[(#SET{valeur,[(#ENV*{valeur}|is_array|?{[(#ENV*{valeur})],[(#ENV*{valeur}|explode{','})]})]})]
|
|
]
|
|
<select name="#ENV{nom}[(#ENV{multiple}|?{\[\]})]" id="champ_[(#ENV{nom}|saisie_nom2classe)]"[ class="(#ENV{class})"][(#ENV{multiple}|oui) multiple="multiple" size="#ENV{size,10}"][ disabled="(#ENV{disable})"]>
|
|
[(#ENV{cacher_option_intro}|ou{#ENV{multiple}}|non)
|
|
<option value="">[(#ENV{option_intro})]</option>]
|
|
<BOUCLE_podcasts(PODCASTS){id_podcast?}{id_article?}{recherche?}{tout}{par num code, code}>
|
|
[(#ENV{multiple}|oui)
|
|
<option value="#ID_PODCAST"[(#ID_PODCAST|in_array{#ENV{valeur_forcee,#GET{valeur,#ENV{defaut,#ARRAY}}}}|oui) selected="selected"]>#CODE</option>]
|
|
[(#ENV{multiple}|non)
|
|
<option value="#ID_PODCAST"[(#ID_PODCAST|=={#ENV{valeur_forcee,#ENV{valeur,#ENV{defaut}}}}|oui) selected="selected"]>#CODE</option>]
|
|
</BOUCLE_podcasts>
|
|
</select>
|