source: extensions/Comments_Access_Manager/main.inc.php @ 18250

Last change on this file since 18250 was 17439, checked in by Eric, 12 years ago

New version 2.4.3 hard coded for publication :
Update el_GR translation (thanks to bas_alba)
Update pt_PT translation (thanks to alahel76)
Update sk_SK translation (thanks to dodo)
Update lv_LV translation (thanks to agrisans)
Add tr_TR translation (thanks to Nakre and LazBoy)

  • Property svn:eol-style set to LF
File size: 829 bytes
Line 
1<?php
2/*
3Plugin Name: Comments Access Manager
4Version: 2.4.3
5Description: Gérer l'accès aux commentaites - Manage comments access
6Plugin URI: http://piwigo.org/ext/extension_view.php?eid=545
7Author: Eric
8Author URI: http://www.infernoweb.net
9*/
10
11/* History:  CM_PATH.'Changelog.txt' */
12
13if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
14if (!defined('CM_PATH')) define('CM_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/');
15
16global $conf;
17
18include_once (CM_PATH.'include/functions.inc.php');
19
20// Plugin administration panel
21add_event_handler('get_admin_plugin_menu_links', 'CM_admin_menu');
22
23// Comments authorisation check
24add_event_handler('user_comment_check', 'CM_CheckComment', 50, 2);
25
26// Comments on album authorisation check
27add_event_handler('user_comment_check_albums', 'CM_CheckComment', 50, 2);
28?>
Note: See TracBrowser for help on using the repository browser.