Changeset 10078


Ignore:
Timestamp:
04/05/11 19:23:52 (9 years ago)
Author:
patdenice
Message:

Compatible with simple

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/lightbox/lightbox.php

    r9978 r10078  
    88$selector = 'a[rel=colorbox'.$conf['lightbox_rel'].']'; 
    99 
    10 $template->func_combine_script(array('id'=>'jquery.colorbox', 'path'=>'plugins/lightbox/js/jquery.colorbox.js', 'load'=>'footer'), $smarty); 
     10$template->func_combine_script(array('id'=>'jquery.colorbox', 'path'=>'plugins/lightbox/js/jquery.colorbox.js'), $smarty); 
    1111$template->func_combine_css(array('path'=>'plugins/lightbox/theme/'.$params['theme'].'/colorbox.css'), $smarty); 
    12 $template->block_footer_script(array('require'=>'jquery.colorbox'), ' 
     12$template->block_html_head('',' 
     13<script type="text/javascript"> 
    1314jQuery(document).ready(function(){ 
    1415  jQuery("'.$selector.'").attr("href", function () { 
     
    3334  }); 
    3435}); 
     36</script> 
    3537', $smarty, $repeat); 
    3638 
Note: See TracChangeset for help on using the changeset viewer.