Utilisation d'une url absolue pour le diaporama flash.
authorBenoît Pin <pin@cri.ensmp.fr>
Wed, 3 Aug 2011 15:35:07 +0000 (17:35 +0200)
committerBenoît Pin <pin@cri.ensmp.fr>
Wed, 3 Aug 2011 15:35:07 +0000 (17:35 +0200)
skins/photo_view.pt

index 921b7d6..e447bbd 100644 (file)
@@ -59,9 +59,9 @@
                   (function(){
                   var params = {'allowFullScreen' : true
                                ,'allowScriptAccess' : 'always'};
                   (function(){
                   var params = {'allowFullScreen' : true
                                ,'allowScriptAccess' : 'always'};
-                  swfobject.embedSWF('slide_show.swf', 'slide_show', '33', '27', '9.0.0', undefined, undefined, params);
+                  swfobject.embedSWF('%s/slide_show.swf', 'slide_show', '33', '27', '9.0.0', undefined, undefined, params);
                   })();
                   })();
-                  '''">
+                  ''' % portal_url">
                 </script>
                 <img tal:attributes="src string:${portal_url}/imgtoolbar_sep.gif" style="padding:0" width="2" height="27" alt="|" />
                 <a title="Back to portfolio..." rel="index"
                 </script>
                 <img tal:attributes="src string:${portal_url}/imgtoolbar_sep.gif" style="padding:0" width="2" height="27" alt="|" />
                 <a title="Back to portfolio..." rel="index"