2021-08-17 19:06:58 +00:00
|
|
|
<?php
|
|
|
|
# -- BEGIN LICENSE BLOCK ----------------------------------
|
|
|
|
#
|
|
|
|
# This file is part of whiteListCom, a plugin for Dotclear 2.
|
|
|
|
#
|
2021-08-20 22:39:20 +00:00
|
|
|
# Copyright (c) 2009-2021 Jean-Christian Denis and contributors
|
2021-08-17 19:06:58 +00:00
|
|
|
#
|
|
|
|
# Licensed under the GPL version 2.0 license.
|
|
|
|
# A copy of this license is available in LICENSE file or at
|
|
|
|
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
|
|
|
#
|
|
|
|
# -- END LICENSE BLOCK ------------------------------------
|
|
|
|
|
2021-08-20 22:39:20 +00:00
|
|
|
if (!defined('DC_RC_PATH')) {
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
2021-08-17 19:06:58 +00:00
|
|
|
$this->registerModule(
|
2021-08-20 22:39:20 +00:00
|
|
|
'Whitelist comments',
|
|
|
|
'Whitelists for comments moderation',
|
|
|
|
'Jean-Christian Denis and Contributors',
|
2021-09-02 21:52:43 +00:00
|
|
|
'0.7.1',
|
2021-08-20 22:39:20 +00:00
|
|
|
[
|
|
|
|
'permissions' => 'admin',
|
|
|
|
'priority' => 200,
|
|
|
|
'type' => 'plugin',
|
|
|
|
'dc_min' => '2.18',
|
|
|
|
'support' => 'https://github.com/JcDenis/whiteListCom',
|
|
|
|
'details' => 'https://plugins.dotaddict.org/dc2/details/whiteListCom'
|
|
|
|
]
|
|
|
|
);
|