source: extensions/CommentEditor/main.inc.php @ 3433

Last change on this file since 3433 was 3433, checked in by Criss, 15 years ago

Update version number

  • Property svn:eol-style set to LF
File size: 1.1 KB
Line 
1<?php
2/* $Id: main.inc.php,v 1.3 2009/06/17 19:08:25 Criss Exp $ */
3/*
4 Plugin Name: Comment Editor
5 Version: 1.0.c
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.c
15                        Add maintain.inc.php file
16                        Fix bug in CE_Comment::validateAuthor()
17
18    2009-06-18 1.0.b
19                        Fix plugin URI to be available in plugin update
20                        check page.
21                        Reduce code line size.
22
23*/
24if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
25
26define('CE_PATH', PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/');
27define('CE_ROOT', dirname(__FILE__).'/');
28include_once(CE_PATH . 'include/ce_common.inc.php');
29
30
31$ce_plugin = new CE_Plugin();
32add_event_handler(  'loc_begin_page_header',
33                    array(&$ce_plugin, 'loc_begin_page_header'));
34add_event_handler(  'loc_begin_index',
35                    array(&$ce_plugin, 'loc_end_index'), 1);
36
37set_plugin_data($plugin['id'], $ce_plugin);
38
39?>
Note: See TracBrowser for help on using the repository browser.