Changeset 10611 for extensions/piclens/admin
- Timestamp:
- Apr 25, 2011, 3:51:54 PM (14 years ago)
- Location:
- extensions/piclens/admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/piclens/admin/config.tpl
r8902 r10611 1 {include file='include/autosize.inc.tpl'} 1 2 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} 7 jQuery(document).ready(function(){ 8 jQuery('.cluetip').cluetip({ 8 9 width: 400, 9 10 splitTitle: '|' 10 11 }); 11 12 }); 12 </script> 13 {/literal}{/footer_script} 13 14 14 15 {html_head} 15 {literal}16 16 17 <script type="text/javascript"> 17 {footer_script}{literal} 18 18 19 19 window.onload = load; … … 36 36 } 37 37 38 </script> 38 {/literal}{/footer_script} 39 39 40 41 {/literal}42 40 {/html_head} 43 41 -
extensions/piclens/admin/piclenswallconfig.tpl
r8789 r10611 1 {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} 2 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js"} 3 {known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.resizable.packed.js"} 1 {combine_script id='jquery.packed' path='themes/default/js/jquery.packed.js'} 4 2 5 3 {html_head} 6 4 {/html_head} 7 8 9 5 10 6 <div class="titrePage"> … … 155 151 156 152 </table> 157 {literal} 158 <script type="text/javascript"> 153 {footer_script require='jquery.ui.core.packed,jquery.ui.resizable.packed'}{literal} 159 154 resize = false; 160 155 function show_cat_list() … … 216 211 } 217 212 218 </script> 219 {/literal} 213 {/literal}{/footer_script} 220 214 221 215 <br/> -
extensions/piclens/admin/piclenswallconfig2.tpl
r8789 r10611 1 {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} 2 {known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js"} 3 {known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.resizable.packed.js"} 1 {combine_script id='jquery.packed' path='themes/default/js/jquery.packed.js'} 4 2 5 3 {html_head} … … 147 145 </TABLE> 148 146 149 {literal} 150 <script type="text/javascript" charset="utf-8"> 151 $(document).ready(function() { 152 var f = $.farbtastic('#colorpicker'); 147 {footer_script require='jquery.ui.core.packed,jquery.ui.resizable.packed'}{literal} 148 jQuery(document).ready(function() { 149 var f = jQuery.farbtastic('#colorpicker'); 153 150 var selected; 154 $('.colorwell')151 jQuery('.colorwell') 155 152 .each(function () { f.linkTo(this); }) 156 153 .focus(function() { … … 159 156 }); 160 157 }); 161 </script> 162 {/literal} 158 {/literal}{/footer_script} 163 159 164 160
Note: See TracChangeset
for help on using the changeset viewer.