emailOptionnel/_define.php
2021-11-11 00:20:02 +01:00

39 lines
1.3 KiB
PHP

<?php
# -- BEGIN LICENSE BLOCK ----------------------------------
# This file is part of Email Optionnel, a plugin for Dotclear.
#
# Copyright (c) 2007-2020 Oleksandr Syenchuk, Pierre Van Glabeke, Gvx
#
# Licensed under the GPL version 2.0 license.
# A copy is available in LICENSE file or at
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# -- END LICENSE BLOCK ------------------------------------
if (!defined('DC_RC_PATH')) { return; }
# WARNING :
# Email Optionnel is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
$this->registerModule(
/* Name */ 'emailOptionnel',
/* Description*/ 'Make e-mail address optional in comments',
/* Author */ 'Oleksandr Syenchuk, Pierre Van Glabeke, Gvx',
/* Version */ '0.5.0',
/* Properties */
array(
'permissions' => 'admin',
'type' => 'plugin',
'support' => 'http://forum.dotclear.org/viewtopic.php?pid=332948#p332948',
'details' => 'http://plugins.dotaddict.org/dc2/details/emailOptionnel',
'requires' /* id(s) */ => array(
array('core', '2.11')
),
/* depuis dc 2.11 */
'settings' => array(
'blog' => '#params.emailOptionnelParam'
)
)
);