Skip to content
Extraits de code Groupes Projets
Valider 418ac640 rédigé par nicod's avatar nicod
Parcourir les fichiers

Appel récursif : on a peut-être des types de blocks à ajouter dans ce block s'il est conteneur

parent 2679a46b
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -38,11 +38,16 @@ ...@@ -38,11 +38,16 @@
#GENERER_BLOCK #GENERER_BLOCK
</div> </div>
[(#ID_BLOCKTYPE|bloctypes_trouver_enfants|oui)
<div class="objetblock__blocks">
<INCLURE{fond=prive/squelettes/inclure/blocks_objet, objet=block, id_objet=#ID_BLOCK, id_blocktype_parent=#ID_BLOCKTYPE}>
</div>]
</div> </div>
</BOUCLE> </BOUCLE>
[(#ENV{edit_bloc}|oui) [(#ENV{edit_bloc}|oui)
<div class="ajax ajout_block" id="block_#ENV{id_block,new}"> <div class="ajax ajout_block" id="block_#ENV{id_block,new}">
[(#FORMULAIRE_EDITER_BLOCK{#ENV{id_block,new}, #OBJET, #ID_OBJET, #SELF|ancre_url{block_#ENV{id_block,new}}, 1})] [(#FORMULAIRE_EDITER_BLOCK{#ENV{id_block,new}, #OBJET, #ID_OBJET, #ENV{id_blocktype_parent}, #SELF|ancre_url{block_#ENV{id_block,new}}, 1})]
</div> </div>
] ]
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