Last change
on this file since 17141 was
15752,
checked in by Eric, 12 years ago
|
New version 2.4.2 hard coded for publication:
- Update ca_ES translation (thanks to AlbertParera)
- Add el_GR translation (thanks to bas_alba)
|
-
Property svn:eol-style set to
LF
|
File size:
829 bytes
|
Rev | Line | |
---|
[11017] | 1 | <?php |
---|
| 2 | /* |
---|
| 3 | Plugin Name: Comments Access Manager |
---|
[15752] | 4 | Version: 2.4.2 |
---|
[11017] | 5 | Description: Gérer l'accès aux commentaites - Manage comments access |
---|
[11208] | 6 | Plugin URI: http://piwigo.org/ext/extension_view.php?eid=545 |
---|
[11017] | 7 | Author: Eric |
---|
| 8 | Author URI: http://www.infernoweb.net |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | /* History: CM_PATH.'Changelog.txt' */ |
---|
| 12 | |
---|
| 13 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
| 14 | if (!defined('CM_PATH')) define('CM_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/'); |
---|
| 15 | |
---|
| 16 | global $conf; |
---|
| 17 | |
---|
| 18 | include_once (CM_PATH.'include/functions.inc.php'); |
---|
| 19 | |
---|
| 20 | // Plugin administration panel |
---|
| 21 | add_event_handler('get_admin_plugin_menu_links', 'CM_admin_menu'); |
---|
| 22 | |
---|
| 23 | // Comments authorisation check |
---|
[11204] | 24 | add_event_handler('user_comment_check', 'CM_CheckComment', 50, 2); |
---|
[14634] | 25 | |
---|
| 26 | // Comments on album authorisation check |
---|
| 27 | add_event_handler('user_comment_check_albums', 'CM_CheckComment', 50, 2); |
---|
[11017] | 28 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.