Changeset 3431 for extensions/CommentEditor/main.inc.php
- Timestamp:
- Jun 18, 2009, 9:29:00 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/CommentEditor/main.inc.php
r3426 r3431 3 3 /* 4 4 Plugin Name: Comment Editor 5 Version: 1.0. a5 Version: 1.0.b 6 6 Description: Allow to edit comment 7 Plugin URI: http://piwigo.org/ 7 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=296 8 8 Author: Criss 9 9 Author URI: http://piwigo.org/ 10 10 */ 11 11 12 /** History ** 13 14 2009-06-18 1.0.b 15 Fix plugin URI to be available in plugin update 16 check page. 17 Reduce code line size. 18 19 */ 12 20 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 13 21 … … 18 26 19 27 $ce_plugin = new CE_Plugin(); 20 add_event_handler('loc_begin_page_header', array(&$ce_plugin, 'loc_begin_page_header')); 21 add_event_handler('loc_begin_index', array(&$ce_plugin, 'loc_end_index'), 1); 28 add_event_handler( 'loc_begin_page_header', 29 array(&$ce_plugin, 'loc_begin_page_header')); 30 add_event_handler( 'loc_begin_index', 31 array(&$ce_plugin, 'loc_end_index'), 1); 22 32 23 33 set_plugin_data($plugin['id'], $ce_plugin);
Note: See TracChangeset
for help on using the changeset viewer.