Re: Boucle CONDITION avec plusieurs conditions

JLuc <[email protected]>
Newsgroups gmane.comp.web.spip.user
Message-ID <[email protected]>
Le 06/03/2021 à 15:43, Julien Delmas a écrit :
 > <BOUCLE_test(CONDITION){si (#GET{type_lycee_general}|{oui}) AND (#GET{type_lycee_technologique}|{oui}) AND 
(#GET{type_lycee_professionnel}|{oui})}>

- Avec tout filtre et notamment |et et |ou, tu peux composer les conditions :
<BOUCLE_test(CONDITION)
{si #GET{type_lycee_general}|et{#GET{type_lycee_technologique}}|et{#GET{type_lycee_professionnel}}}>

- En indiquant les conditions à la suite, pour faire leur conjonction (AND)
<BOUCLE_test(CONDITION)
    {si #GET{type_lycee_general}}
    {si #GET{type_lycee_technologique}}
    {si #GET{type_lycee_professionnel}}
 >
Le |oui n'a pas d'utilité ici.

JL
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.