[(#ENV{editable})
[(#ENV{_mode}|=={image}|oui)

[(#CHEMIN_IMAGE{image-24.png}|balise_img{'',cadre-icone})][(#ENV{id,new}|intval|?{<:medias:bouton_remplacer_image:>,<:medias:bouton_ajouter_image:>}) #AIDER{ins_img}]

][(#ENV{_mode}|=={document}|oui)

[(#CHEMIN_IMAGE{doc-24.png}|balise_img{'',cadre-icone})][(#ENV{id,new}|intval|?{<:medias:bouton_remplacer_document:>,<:medias:bouton_ajouter_document:>}) #AIDER{ins_doc}]

][(#ENV{_mode}|=={choix}|oui)

[(#CHEMIN_IMAGE{doc-24.png}|balise_img{'',cadre-icone})][(#ENV{id,new}|intval|?{<:medias:bouton_remplacer_image_document:>,<:medias:bouton_ajouter_image_document:>}) #AIDER{ins_doc}]

] [
(#ENV**{message_ok})
] [

(#ENV**{message_erreur})

]
[(#ACTION_FORMULAIRE{#ENV{action}})] [(#INCLURE{fond=formulaires/inc-upload_document, env, mediatheque=#ENV{objet,''}|et{#ENV{id_objet,''}}|et{#ENV{proposer_media}}})]
] [(#ENV{_galerie,''}|oui) [(#INCLURE{fond=#ENV{_galerie}, env, ajax})] ]