Changeset 26985 for extensions/lightbox/lightbox.php
- Timestamp:
- Jan 26, 2014, 7:21:38 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/lightbox/lightbox.php
r26984 r26985 8 8 $selector = 'a[rel=colorbox'.$conf['lightbox_rel'].']'; 9 9 10 $template->func_combine_script(array('id'=>'jquery.colorbox', 'path'=>'plugins/lightbox/js/jquery.colorbox.js')); 11 $template->func_combine_script(array('id'=>'core.scripts', 'path'=>'themes/default/js/scripts.js')); 10 $template->func_combine_script(array('id'=>'jquery.colorbox', 'path'=>'themes/default/js/plugins/jquery.colorbox.min.js')); 12 11 $template->func_combine_css(array('id'=>'colorbox','path'=>'plugins/lightbox/theme/'.$params['theme'].'/colorbox.css')); 13 $template->block_html_head('',' 14 <script type="text/javascript"> 12 $template->block_footer_script('',' 15 13 function PWG_Colorbox() { 16 14 jQuery("'.$selector.'").attr("href", function () { … … 37 35 jQuery(document).ready(PWG_Colorbox); 38 36 jQuery(window).bind("RVTS_loaded", PWG_Colorbox); 39 </script>40 <style type="text/css">img.cboxPhoto { max-width: none; }</style>41 37 '); 38 $template->block_html_style('', 'img.cboxPhoto { max-width: none; }'); 42 39 43 40 foreach($tpl_thumbnails_var as $key => $tpl_var)
Note: See TracChangeset
for help on using the changeset viewer.