Ignore:
Timestamp:
Jan 12, 2011, 3:23:39 PM (13 years ago)
Author:
cljosse
Message:

[cl_conflit] compatibility whith piwishack


File:
1 edited

Legend:

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

    r8537 r8629  
    22/*
    33Plugin Name: cl_conflit
    4 Version: 1.0.6
     4Version: 1.0.7
    55Description: gestion des conflits entre jQuery et les autres librairies
    66Plugin URI: http://piwigo.org/ext/extension_view.php?eid=474
     
    1212if (!defined('CONFLIT_PATH'))
    1313define(  'CONFLIT_PATH',   PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/' );
    14  
    15         $path = CONFLIT_PATH;   
    16          
    17 //============================================================================         
    18   include ($path."include/constants.php");         
    19 //============================================================================
    20 include_once(CONFLIT_PATH.'conflit.inc.php');   
    21 
     14//==================================================================
     15        include_once (CONFLIT_PATH."include/constants.php"); 
     16        include_once(CONFLIT_PATH.'conflit.inc.php');   
     17//==================================================================
    2218$conflit_controler = new conflit_controler();
    2319add_event_handler('get_admin_plugin_menu_links', array(&$conflit_controler,'cl_conflit_admin')  );
    2420
    25 add_event_handler('loc_after_page_header', array(&$conflit_controler, 'cl_conflit_script'),  EVENT_HANDLER_PRIORITY_NEUTRAL+20 ,  2);
     21
     22
     23add_event_handler('loc_after_page_header', array(&$conflit_controler, 'cl_conflit_script_1'),  EVENT_HANDLER_PRIORITY_NEUTRAL+20 ,  2);
    2624add_event_handler('loc_end_page_tail',array(&$conflit_controler, 'cl_conflit_script_2'),  EVENT_HANDLER_PRIORITY_NEUTRAL );
    27 add_event_handler('render_element_content',array(&$conflit_controler, 'cl_conflit_script_3'),  EVENT_HANDLER_PRIORITY_NEUTRAL-1,  2  );
    28  
    29 
    3025?>
Note: See TracChangeset for help on using the changeset viewer.