From 14343aa882399af85546ccbc0ae396a165a30d39 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Tue, 7 Sep 2021 15:04:27 +0200 Subject: [PATCH] fix define: cleanup, update link, license, version --- _define.php | 56 ++++++++++++++++++++++++----------------------------- 1 file changed, 25 insertions(+), 31 deletions(-) diff --git a/_define.php b/_define.php index 761de21..d2155f8 100644 --- a/_define.php +++ b/_define.php @@ -1,16 +1,15 @@ registerModule( - /* Name */ - "Cinecturlink 2", - /* Description*/ - "Widgets and pages about books, musics, films, blogs you are interested in", - /* Author */ - "Jean-Christian Denis", - /* Version */ - '0.7', - /* Properties */ - array( - 'permissions' => 'contentadmin', - 'type' => 'plugin', - 'dc_min' => '2.6', - 'support' => 'http://jcd.lv/q=cinecturlink2', - 'details' => 'http://plugins.dotaddict.org/dc2/details/cinecturlink2' - ) -); + 'Cinecturlink 2', + 'Widgets and pages about books, musics, films, blogs you are interested in', + 'Jean-Christian Denis and Contributors', + '0.7.1', + [ + 'requires' => [['core', '2.19']], + 'permissions' => 'contentadmin', + 'type' => 'plugin', + 'support' => 'https://github.com/JcDenis/cinecturlink2', + 'details' => 'https://plugins.dotaddict.org/dc2/details/cinecturlink2', + 'repository' => 'https://raw.githubusercontent.com/JcDenis/cinecturlink2/master/dcstore.xml' + ] +); \ No newline at end of file