Ignore:
Timestamp:
04/06/11 13:41:18 (9 years ago)
Author:
flop25
Message:

bug resolved : js script in footer doesn't work

Location:
extensions/music_player/template/style
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/music_player/template/style/default.tpl

    r9668 r10102  
    11{combine_css path="$STYLE_FILE"} 
    22{combine_script id="music_player_js" load="header" path="plugins/music_player/player/swfobject.js"} 
    3 {footer_script require='music_player_js'}{literal}<script type="text/javascript"> 
     3{html_head}<script type="text/javascript"> 
     4{literal} 
     5 
    46        function loadFile(obj) { thisMovie("playlist").loadFile(obj); }; 
    57        // This is a javascript handler for the player and is always needed. 
     
    1113                } 
    1214        }; 
    13 </script>{/literal} 
    14 {/footer_script} 
     15{/literal} 
     16 
     17</script>{/html_head} 
    1518 
    1619{if $conf_plugin_1!='true' } 
  • extensions/music_player/template/style/my_phone/my_phone.tpl

    r9590 r10102  
    11{combine_css path="$STYLE_FILE"} 
    2 {html_head}<script type="text/javascript" src="./player/swfobject.js"></script>{/html_head} 
     2{combine_script id="music_player_js" load="header" path="plugins/music_player/player/swfobject.js"} 
    33{html_head}<script type="text/javascript"> 
    44{literal} 
Note: See TracChangeset for help on using the changeset viewer.