You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
753 B
21 lines
753 B
<BOUCLE_test_multiple(CONDITION){si #ENV{multiple}|=={on}|oui}>
|
|
[(#SET{valeur,[(#ENV*{valeur}|is_array|?{[(#ENV*{valeur})],[(#ENV*{valeur}|explode{','})]})]})]
|
|
<B_chapitres_selectionnes>
|
|
<ul>
|
|
<BOUCLE_chapitres_selectionnes(CHAPITRES){id_chapitre IN #GET*{valeur}}
|
|
{par num titre, titre}{tout}>
|
|
<li class="choix">#TITRE (#ID_CHAPITRE)</li>
|
|
</BOUCLE_chapitres_selectionnes>
|
|
</ul>
|
|
</B_chapitres_selectionnes>
|
|
[(#ENV*{sans_reponse}|propre)]
|
|
<//B_chapitres_selectionnes>
|
|
</BOUCLE_test_multiple>
|
|
<BOUCLE_chapitre_selectionne(CHAPITRES){id_chapitre=#ENV{valeur}}
|
|
{par num titre, titre}{tout}>
|
|
<p>#TITRE (#ID_CHAPITRE)</p>
|
|
</BOUCLE_chapitre_selectionne>
|
|
[(#ENV*{sans_reponse}|propre)]
|
|
<//B_chapitre_selectionne>
|
|
<//B_test_multiple>
|