emailOptionnel/_define.php

36 lines
1.1 KiB
PHP
Raw Normal View History

2015-04-22 16:34:32 +00:00
<?php
2022-12-15 22:19:01 +00:00
/**
* @brief emailOptionnel, a plugin for Dotclear 2
*
* @package Dotclear
* @subpackage Plugin
*
* @author Oleksandr Syenchuk, Pierre Van Glabeke, Gvx and Contributors
*
2023-03-26 20:27:43 +00:00
* @copyright Jean-Christian Denis
2022-12-15 22:19:01 +00:00
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
*/
2023-08-12 16:55:47 +00:00
if (!defined('DC_RC_PATH')) {
2022-12-15 22:19:01 +00:00
return null;
}
2015-04-22 16:34:32 +00:00
$this->registerModule(
2022-12-15 22:19:01 +00:00
'emailOptionnel',
'Make e-mail address optional in comments',
'Oleksandr Syenchuk, Pierre Van Glabeke, Gvx and Contributors',
2023-08-12 16:55:47 +00:00
'1.4',
2022-12-15 22:19:01 +00:00
[
2023-08-12 16:55:47 +00:00
'requires' => [['core', '2.27']],
2022-12-15 22:19:01 +00:00
'permissions' => dcCore::app()->auth->makePermissions([
2023-04-23 13:09:07 +00:00
dcCore::app()->auth::PERMISSION_ADMIN,
2022-12-15 22:19:01 +00:00
]),
2023-08-12 16:55:47 +00:00
'settings' => [
'blog' => '#params.' . basename(__DIR__) . 'Param',
2022-12-15 22:19:01 +00:00
],
2023-08-12 16:55:47 +00:00
'type' => 'plugin',
'support' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/issues',
'details' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/src/branch/master/README.md',
'repository' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/raw/branch/master/dcstore.xml',
2022-12-15 22:19:01 +00:00
]
2021-11-10 23:20:02 +00:00
);