Skip to content
Extraits de code Groupes Projets
Valider 2b7fe920 rédigé par real3t@gmail.com's avatar real3t@gmail.com
Parcourir les fichiers

En SPIP 2.1, le paramètre id_mot n'allait pas chercher dans la boucle...

En SPIP 2.1, le paramètre id_mot n'allait pas chercher dans la boucle englobante sa valeur, mais dans l'env.
Tricky celle-là !
parent f5253264
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -11,12 +11,12 @@
{titretop=#GET{titretop}}
>
<BOUCLE_EstAgenda(HIERARCHIE){id_rubrique}{tout}{titre_mot=Agenda}{inverse}{0,1}>
[(#CONFIG{soyezcreateurs/agendathematique,}|=={#ENV{calendrier,on}}|oui)[(#INCLURE{fond=noisettes/agenda/agendathematique}{id_rubrique=#_rubrique_principal:ID_RUBRIQUE}{mots}{id_mot})]]
[(#CONFIG{soyezcreateurs/agendathematique,}|=={#ENV{calendrier,on}}|oui)[(#INCLURE{fond=noisettes/agenda/agendathematique}{id_rubrique=#_rubrique_principal:ID_RUBRIQUE}{env})]]
[(#CONFIG{soyezcreateurs/agendathematique,}|!={#ENV{calendrier,on}}|oui)
[(#CONFIG{soyezcreateurs/agendascolaire,annuel}|=={scolaire}|oui)[(#INCLURE{fond=noisettes/agenda/agendaliste_scolaire}{id_rubrique=#_rubrique_principal:ID_RUBRIQUE}{date_ev}{mots}{id_mot})]]
[(#CONFIG{soyezcreateurs/agendascolaire,annuel}|=={scolaire}|oui)[(#INCLURE{fond=noisettes/agenda/agendaliste_scolaire}{id_rubrique=#_rubrique_principal:ID_RUBRIQUE}{date_ev}{env})]]
[(#CONFIG{soyezcreateurs/agendascolaire,annuel}|=={annuel}|oui)
[(#CONFIG{soyezcreateurs/agendafuturseul,non}|=={oui}|oui)[(#INCLURE{fond=noisettes/agenda/agendaliste_futurseul}{id_rubrique=#_rubrique_principal:ID_RUBRIQUE}{date_ev}{mots}{id_mot})]]
[(#CONFIG{soyezcreateurs/agendafuturseul,non}|=={non}|oui)[(#INCLURE{fond=noisettes/agenda/agendaliste}{id_rubrique=#_rubrique_principal:ID_RUBRIQUE}{date_ev}{mots}{id_mot})]]
[(#CONFIG{soyezcreateurs/agendafuturseul,non}|=={oui}|oui)[(#INCLURE{fond=noisettes/agenda/agendaliste_futurseul}{id_rubrique=#_rubrique_principal:ID_RUBRIQUE}{date_ev}{env})]]
[(#CONFIG{soyezcreateurs/agendafuturseul,non}|=={non}|oui)[(#INCLURE{fond=noisettes/agenda/agendaliste}{id_rubrique=#_rubrique_principal:ID_RUBRIQUE}{date_ev}{env})]]
]
]
</BOUCLE_EstAgenda>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter