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

Compatible Piwigo 2.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/lightbox/main.inc.php

    r4826 r6373  
    44Version: auto
    55Description: Display pictures in a lightbox.
    6 Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=280
     6Plugin URI: http://piwigo.org/ext/extension_view.php?eid=280
    77Author: P@t
    88Author URI: http://www.gauchon.com
     
    1111define('LIGHTBOX_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/');
    1212
    13 add_event_handler('init', 'load_jquery_lightbox_plugin');
    1413add_event_handler('loc_end_index_thumbnails', 'lightbox_plugin', 40, 2);
    15 
    16 function load_jquery_lightbox_plugin()
    17 {
    18   global $template;
    19 
    20   $template->func_known_script(array('id'=>'jquery', 'src'=>get_root_url().'plugins/lightbox/jquery.min.js'), $smarty);
    21 }
    2214
    2315function lightbox_plugin($tpl_thumbnails_var, $pictures)
Note: See TracChangeset for help on using the changeset viewer.