From ae29c8066a63376b5fea383258b4a6958f3e12ca Mon Sep 17 00:00:00 2001 From: Pierre Date: Thu, 11 Nov 2021 00:20:02 +0100 Subject: [PATCH] Update _define.php --- _define.php | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/_define.php b/_define.php index 49672af..d51268a 100644 --- a/_define.php +++ b/_define.php @@ -2,7 +2,7 @@ # -- BEGIN LICENSE BLOCK ---------------------------------- # This file is part of Email Optionnel, a plugin for Dotclear. # -# Copyright (c) 2007-2015 Oleksandr Syenchuk, Pierre Van Glabeke +# 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 @@ -19,14 +19,21 @@ if (!defined('DC_RC_PATH')) { return; } $this->registerModule( /* Name */ 'emailOptionnel', /* Description*/ 'Make e-mail address optional in comments', - /* Author */ 'Oleksandr Syenchuk, Pierre Van Glabeke', - /* Version */ '0.4.6', + /* Author */ 'Oleksandr Syenchuk, Pierre Van Glabeke, Gvx', + /* Version */ '0.5.0', /* Properties */ array( 'permissions' => 'admin', 'type' => 'plugin', - 'dc_min' => '2.6', 'support' => 'http://forum.dotclear.org/viewtopic.php?pid=332948#p332948', - 'details' => 'http://plugins.dotaddict.org/dc2/details/emailOptionnel' + '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' + ) ) -); \ No newline at end of file + +);