joindre_document.html 1.4 KB

12345678910111213141516171819202122232425
  1. [(#ENV{editable})
  2. <div class='formulaire_spip formulaire_joindre formulaire_joindre_document' id='formulaire_joindre_document-#ENV{id,new}'>
  3. [(#ENV{_mode}|=={image}|oui)
  4. <h3 class='titrem'>[(#CHEMIN_IMAGE{image-24.png}|balise_img{'',cadre-icone})][(#ENV{id,new}|intval|?{<:medias:bouton_remplacer_image:>,<:medias:bouton_ajouter_image:>}) #AIDER{ins_img}]</h3>
  5. ][(#ENV{_mode}|=={document}|oui)
  6. <h3 class='titrem'>[(#CHEMIN_IMAGE{doc-24.png}|balise_img{'',cadre-icone})][(#ENV{id,new}|intval|?{<:medias:bouton_remplacer_document:>,<:medias:bouton_ajouter_document:>}) #AIDER{ins_doc}]</h3>
  7. ][(#ENV{_mode}|=={choix}|oui)
  8. <h3 class='titrem'>[(#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}]</h3>
  9. ]
  10. <span class="image_loading"></span>
  11. [<div class="reponse_formulaire reponse_formulaire_ok">(#ENV**{message_ok})</div>]
  12. [<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV**{message_erreur})</p>]
  13. <form action="#ENV{action}#formulaire_joindre_document-#ENV{id,new}" method="post" enctype='multipart/form-data'><div>
  14. [(#ACTION_FORMULAIRE{#ENV{action}})]
  15. [(#INCLURE{fond=formulaires/inc-upload_document, env, mediatheque=#ENV{objet,''}|et{#ENV{id_objet,''}}|et{#ENV{proposer_media}}})]
  16. </div></form>
  17. </div>]
  18. [(#ENV{_galerie,''}|oui)
  19. [(#INCLURE{fond=#ENV{_galerie}, env, ajax})]
  20. ]