emailOptionnel/_define.php

40 lines
1.3 KiB
PHP
Raw Normal View History

2015-04-22 16:34:32 +00:00
<?php
# -- BEGIN LICENSE BLOCK ----------------------------------
# This file is part of Email Optionnel, a plugin for Dotclear.
#
2021-11-10 23:20:02 +00:00
# Copyright (c) 2007-2020 Oleksandr Syenchuk, Pierre Van Glabeke, Gvx
2015-04-22 16:34:32 +00:00
#
# 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',
2021-11-10 23:20:02 +00:00
/* Author */ 'Oleksandr Syenchuk, Pierre Van Glabeke, Gvx',
/* Version */ '0.5.0',
2015-04-22 16:34:32 +00:00
/* Properties */
array(
'permissions' => 'admin',
'type' => 'plugin',
'support' => 'http://forum.dotclear.org/viewtopic.php?pid=332948#p332948',
2021-11-10 23:20:02 +00:00
'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'
)
2015-04-22 16:34:32 +00:00
)
2021-11-10 23:20:02 +00:00
);