Ignore:
Timestamp:
May 26, 2010, 3:48:18 PM (15 years ago)
Author:
patdenice
Message:

Compatible Piwigo 2.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/lightbox/lightbox.php

    r5735 r6373  
    77$conf['lightbox_rel'] = isset($conf['lightbox_rel']) ? ++$conf['lightbox_rel'] : 0;
    88
    9 switch ($user['template'])
     9switch ($user['theme'])
    1010{
    1111  case 'simple':
     
    1818}
    1919
    20 $template->func_known_script(array('id'=>'colorbox', 'src'=>get_root_url().'plugins/lightbox/jquery.colorbox.js'), $smarty);
     20$template->func_known_script(array('id'=>'jquery', 'src'=>get_root_url().'themes/default/js/jquery.packed.js'), $smarty);
     21$template->func_known_script(array('id'=>'colorbox', 'src'=>get_root_url().'plugins/lightbox/js/jquery.colorbox-min.js'), $smarty);
    2122$template->block_html_head('', '
    2223<link rel="stylesheet" href="'.get_root_url().'plugins/lightbox/theme/'.$params['theme'].'/colorbox.css" type="text/css" media="screen">
Note: See TracChangeset for help on using the changeset viewer.