Changeset 8629 for extensions/cl_conflit/main.inc.php
- Timestamp:
- Jan 12, 2011, 3:23:39 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/cl_conflit/main.inc.php
r8537 r8629 2 2 /* 3 3 Plugin Name: cl_conflit 4 Version: 1.0. 64 Version: 1.0.7 5 5 Description: gestion des conflits entre jQuery et les autres librairies 6 6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=474 … … 12 12 if (!defined('CONFLIT_PATH')) 13 13 define( '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 //================================================================== 22 18 $conflit_controler = new conflit_controler(); 23 19 add_event_handler('get_admin_plugin_menu_links', array(&$conflit_controler,'cl_conflit_admin') ); 24 20 25 add_event_handler('loc_after_page_header', array(&$conflit_controler, 'cl_conflit_script'), EVENT_HANDLER_PRIORITY_NEUTRAL+20 , 2); 21 22 23 add_event_handler('loc_after_page_header', array(&$conflit_controler, 'cl_conflit_script_1'), EVENT_HANDLER_PRIORITY_NEUTRAL+20 , 2); 26 24 add_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 30 25 ?>
Note: See TracChangeset
for help on using the changeset viewer.