Ignore:
Timestamp:
Apr 25, 2011, 3:51:54 PM (13 years ago)
Author:
Gotcha
Message:

combine_script remplace known_script
bug:2276

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/piclens/admin/config.tpl

    r8902 r10611  
     1{include file='include/autosize.inc.tpl'}
    12
    2 {include file='include/autosize.inc.tpl'}
    3 {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"}
    4 {known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.cluetip.packed.js"}
    5 <script type="text/javascript">
    6 jQuery().ready(function(){ldelim}
    7   jQuery('.cluetip').cluetip({ldelim}
     3{combine_script id='jquery.packed' path='themes/default/js/jquery.packed.js'}
     4{combine_script id='jquery.cluetip' load='footer' require='jquery' path='themes/default/js/plugins/jquery.cluetip.js'}
     5 
     6{footer_script require='jquery.cluetip'}{literal}
     7jQuery(document).ready(function(){
     8  jQuery('.cluetip').cluetip({
    89    width: 400,
    910    splitTitle: '|'
    1011  });
    1112});
    12 </script>
     13{/literal}{/footer_script}
    1314
    1415{html_head}
    15 {literal}
    1616
    17 <script type="text/javascript">
     17{footer_script}{literal}
    1818
    1919window.onload = load;
     
    3636}
    3737
    38 </script>
     38{/literal}{/footer_script}
    3939
    40 
    41 {/literal}
    4240{/html_head}
    4341
Note: See TracChangeset for help on using the changeset viewer.