Changeset 73831 in spip-zone


Ignore:
Timestamp:
Jun 24, 2013, 1:38:50 PM (6 years ago)
Author:
kent1@…
Message:

On répare si id_objet est passé en url au lieu de id_document

Location:
_plugins_/embed_code/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/embed_code/trunk/embed_code.html

    r73475 r73831  
    11#HTTP_HEADER{Content-Type: text/html}
    2 <BOUCLE_document(DOCUMENTS){id_document}{mode IN document,image}>
     2<BOUCLE_document(DOCUMENTS){id_document=#ENV{id_objet,#ENV{id_document}}}{mode IN document,image}>
    33[(#CHEMIN{embed/#EXTENSION.html}|oui)
    44[(#SET{done,oui})]
    5 #INCLURE{fond=embed/#EXTENSION,env}]
     5#INCLURE{fond=embed/#EXTENSION,id_document=#ENV{id_objet,#ENV{id_document}},env}]
    66[(#GET{done,non}|!={oui}|et{#CHEMIN{embed/#MEDIA.html}|oui}|oui)
    77[(#SET{done,oui})]
    8 #INCLURE{fond=embed/#MEDIA,env}]
     8#INCLURE{fond=embed/#MEDIA,id_document=#ENV{id_objet,#ENV{id_document}},env}]
    99[(#GET{done,non}|!={oui}|oui)
    1010[(#SET{done,oui})]
    11 #INCLURE{fond=embed/document,env}]
     11#INCLURE{fond=embed/document,id_document=#ENV{id_objet,#ENV{id_document}},env}]
    1212</BOUCLE_document>
    1313</B_document>
  • _plugins_/embed_code/trunk/paquet.xml

    r73405 r73831  
    22        prefix="embed_code"
    33        categorie="multimedia"
    4         version="0.4.0"
     4        version="0.4.1"
    55        etat="test"
    66        compatibilite="[3.0.0;3.0.99]"
Note: See TracChangeset for help on using the changeset viewer.