bugfix : variable définie trop bas.
[Portfolio.git] / skins / photo_view.pt
index 5b3b3ce..e447bbd 100644 (file)
                   <img tal:attributes="src string:${portal_url}/next_img_btn.gif" width="23" height="27" alt="Next" i18n:attributes="alt"
                        name="next" />
                 </a>
                   <img tal:attributes="src string:${portal_url}/next_img_btn.gif" width="23" height="27" alt="Next" i18n:attributes="alt"
                        name="next" />
                 </a>
-                <!--
                 <img tal:attributes="src string:${portal_url}/slide_show_btn.gif" width="33" height="27" alt="slide show" i18n:attributes="alt"
                      id="slide_show"/>
                 <script type="text/javascript" tal:content="python:'''
                   (function(){
                   var params = {'allowFullScreen' : true
                                ,'allowScriptAccess' : 'always'};
                 <img tal:attributes="src string:${portal_url}/slide_show_btn.gif" width="33" height="27" alt="slide show" i18n:attributes="alt"
                      id="slide_show"/>
                 <script type="text/javascript" tal:content="python:'''
                   (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>
                 </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"
                    tal:attributes="href contextInfos/backUrl"
                 <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"
                    tal:attributes="href contextInfos/backUrl"