Changeset 27264 in spip-zone


Ignore:
Timestamp:
Mar 12, 2009, 10:36:32 PM (10 years ago)
Author:
kent1@…
Message:

Un petit commit pour régler une erreur sur l'url du ficher xspf

et pour avoir une possibilité d'afficher dans le même article 2 rotator du même objet spip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_dev_/xspf/modeles/rotator.html

    r26472 r27264  
    132132<!-- alternative texte pour ceux qui ont le js desactive -->
    133133
    134 <div id="rotator_container_[(#GET{objet_spip})]_[(#GET{objet_val})]" class="xspf_player" style="[(#GET{align}|=={center}|?{margin:auto; text-align:center;,float:[(#GET{align})]})]">
     134<div id="rotator_container_[(#GET{objet_spip})]_[(#GET{objet_val})][_(#ENV{id})]" class="xspf_player" style="[(#GET{align}|=={center}|?{margin:auto; text-align:center;,float:[(#GET{align})]})]">
    135135        <p>
    136136                <a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.
     
    140140<script type="text/javascript">
    141141// <![CDATA[
    142         var s_[(#ENV{id})]_[(#GET{objet_val})] = new SWFObject("#CHEMIN{lib/imagerotator/imagerotator.swf}","rotator_[(#GET{objet_spip})]_[(#GET{objet_val})]","#GET{width}","#GET{height}","7");
     142        var s_[(#ENV{id})]_[(#GET{objet_val})] = new SWFObject("#CHEMIN{lib/imagerotator/imagerotator.swf}","rotator_[(#GET{objet_spip})]_[(#GET{objet_val})][_(#ENV{id})]","#GET{width}","#GET{height}","7");
    143143        s_[(#ENV{id})]_[(#GET{objet_val})].addParam("wmode","#GET{wmode}");
    144144        s_[(#ENV{id})]_[(#GET{objet_val})].addParam("allowfullscreen","#GET{usefullscreen}");
    145145        s_[(#ENV{id})]_[(#GET{objet_val})].addParam('menu','#GET{menu}');
    146146
    147         s_[(#ENV{id})]_[(#GET{objet_val})].addVariable("file",encodeURIComponent("[(#URL_PAGE{xspf}|parametre_url{type,'jpg|png|gif','&'}|parametre_url{[(#GET{objet_spip})],[(#GET{objet_val})],'&'}|url_absolue)]})]"));
     147        s_[(#ENV{id})]_[(#GET{objet_val})].addVariable("file",encodeURIComponent("[(#URL_PAGE{xspf}|parametre_url{type,'jpg|png|gif','&'}|parametre_url{[(#GET{objet_spip})],[(#GET{objet_val})],'&'}|url_absolue)]"));
    148148
    149149        s_[(#ENV{id})]_[(#GET{objet_val})].addVariable("height","#GET{height}");
     
    176176       
    177177        $(document).ready(function() {
    178                 s_[(#ENV{id})]_[(#GET{objet_val})].write("rotator_container_[(#GET{objet_spip})]_[(#GET{objet_val})]");
     178                s_[(#ENV{id})]_[(#GET{objet_val})].write("rotator_container_[(#GET{objet_spip})]_[(#GET{objet_val})][_(#ENV{id})]");
    179179        });
    180180// ]]>
Note: See TracChangeset for help on using the changeset viewer.