Last change
on this file since 3436 was
3436,
checked in by Criss, 15 years ago
|
Check existence of function update_user_comment()
|
-
Property svn:eol-style set to
LF
|
File size:
1.2 KB
|
Line | |
---|
1 | <?php |
---|
2 | /* $Id: main.inc.php,v 1.6 2009/06/18 21:02:12 Criss Exp $ */ |
---|
3 | /* |
---|
4 | Plugin Name: Comment Editor |
---|
5 | Version: 1.0.e |
---|
6 | Description: Allow to edit comment |
---|
7 | Plugin URI: http://piwigo.org/ext/extension_view.php?eid=296 |
---|
8 | Author: Criss |
---|
9 | Author URI: http://piwigo.org/ |
---|
10 | */ |
---|
11 | |
---|
12 | /** History ** |
---|
13 | |
---|
14 | 2009-06-18 1.0.e |
---|
15 | Check existence of function update_user_comment() |
---|
16 | |
---|
17 | 2009-06-18 1.0.d |
---|
18 | Improve sanity checking |
---|
19 | |
---|
20 | 2009-06-18 1.0.c |
---|
21 | Add maintain.inc.php file |
---|
22 | Fix bug in CE_Comment::validateAuthor() |
---|
23 | |
---|
24 | 2009-06-18 1.0.b |
---|
25 | Fix plugin URI to be available in plugin update |
---|
26 | check page. |
---|
27 | Reduce code line size. |
---|
28 | |
---|
29 | */ |
---|
30 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
31 | |
---|
32 | define('CE_PATH', PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/'); |
---|
33 | define('CE_ROOT', dirname(__FILE__).'/'); |
---|
34 | include_once(CE_PATH . 'include/ce_common.inc.php'); |
---|
35 | |
---|
36 | |
---|
37 | $ce_plugin = new CE_Plugin(); |
---|
38 | add_event_handler( 'loc_begin_page_header', |
---|
39 | array(&$ce_plugin, 'loc_begin_page_header')); |
---|
40 | add_event_handler( 'loc_begin_index', |
---|
41 | array(&$ce_plugin, 'loc_end_index'), 1); |
---|
42 | |
---|
43 | set_plugin_data($plugin['id'], $ce_plugin); |
---|
44 | |
---|
45 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.