1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/spip_ynh.git synced 2024-09-03 20:25:59 +02:00
spip_ynh/sources/prive/squelettes/hierarchie/dist.html
2015-04-28 17:10:23 +02:00

14 lines
No EOL
906 B
HTML

<!-- hierarchie -->
#SET{objet_exec,#ENV{exec}|trouver_objet_exec}
[(#GET{objet_exec}|oui)
#SET{objet,#GET{objet_exec}|table_valeur{type}}
#SET{id_objet,#ENV{#GET{objet_exec}|table_valeur{id_table_objet}}}
#SET{id_parent,#GET{objet}|=={rubrique}|?{#ENV{id_parent,#INFO_ID_PARENT{#GET{objet},#GET{id_objet}}},#ENV{id_rubrique,#INFO_ID_RUBRIQUE{#GET{objet},#GET{id_objet}}}}}
[(#GET{id_parent}|ou{#GET{objet}|=={rubrique}}|oui)
<INCLURE{fond=prive/echafaudage/hierarchie/objet,objet=#GET{objet},id_objet=#GET{id_objet},id_parent=#GET{id_parent},id_secteur=#INFO_ID_SECTEUR{#GET{objet},#GET{id_objet}},restreint=#INFO_STATUT{#GET{objet},#GET{id_objet}}|=={publie},editable=#AUTORISER{modifier,#GET{objet},#GET{id_objet}},ajax}>
]
[(#GET{id_parent}|ou{#GET{objet}|=={rubrique}}|non)
<INCLURE{fond=prive/echafaudage/hierarchie/objet.sans_rubrique,objet=#GET{objet},id_objet=#GET{id_objet},ajax}>
]
]