From b82735227e38f5d2150c2dd9410eb6c1caf19b49 Mon Sep 17 00:00:00 2001 From: Pierre Date: Fri, 17 Sep 2021 22:44:21 +0200 Subject: [PATCH] Update _define.php --- _define.php | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/_define.php b/_define.php index 1494187..a94cb57 100644 --- a/_define.php +++ b/_define.php @@ -16,16 +16,15 @@ if (!defined('DC_RC_PATH')) { return; } $this->registerModule( - /* Name */ 'Arlequin', - /* Description*/ 'Allows visitors choose a theme', - /* Author */ 'Oleksandr Syenchuk, Pierre Van Glabeke', - /* Version */ '1.4', - /* Properties */ - array( - 'permissions' => 'contentadmin', - 'type' => 'plugin', - 'dc_min' => '2.19', - 'support' => 'http://forum.dotclear.org/viewtopic.php?id=48345', - 'details' => 'http://plugins.dotaddict.org/dc2/details/arlequin' - ) -); \ No newline at end of file + 'Arlequin', + 'Allows visitors choose a theme', + 'Oleksandr Syenchuk, Pierre Van Glabeke', + '1.5', + [ + 'requires' => [['core', '2.19']], + 'permissions' => 'contentadmin', + 'type' => 'plugin', + 'support' => 'http://forum.dotclear.org/viewtopic.php?id=48345', + 'details' => 'http://plugins.dotaddict.org/dc2/details/arlequin' + ] +);