fix define: cleanup, update link, license, version

This commit is contained in:
Jean-Christian Paul Denis 2021-09-07 15:04:27 +02:00
parent 152ccc3766
commit 14343aa882

View File

@ -1,16 +1,15 @@
<?php <?php
# -- BEGIN LICENSE BLOCK ---------------------------------- /**
# * @brief cinecturlink2, a plugin for Dotclear 2
# This file is part of cinecturlink2, a plugin for Dotclear 2. *
# * @package Dotclear
# Copyright (c) 2009-2013 Jean-Christian Denis and contributors * @subpackage Plugin
# contact@jcdenis.fr http://jcd.lv *
# * @author Jean-Christian Denis and Contributors
# Licensed under the GPL version 2.0 license. *
# A copy of this license is available in LICENSE file or at * @copyright Jean-Christian Denis
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
# */
# -- END LICENSE BLOCK ------------------------------------
/* /*
* Taken from cinecturlink for Dotclear 1 * Taken from cinecturlink for Dotclear 1
@ -19,25 +18,20 @@
*/ */
if (!defined('DC_RC_PATH')) { if (!defined('DC_RC_PATH')) {
return null; return null;
} }
$this->registerModule( $this->registerModule(
/* Name */ 'Cinecturlink 2',
"Cinecturlink 2", 'Widgets and pages about books, musics, films, blogs you are interested in',
/* Description*/ 'Jean-Christian Denis and Contributors',
"Widgets and pages about books, musics, films, blogs you are interested in", '0.7.1',
/* Author */ [
"Jean-Christian Denis", 'requires' => [['core', '2.19']],
/* Version */
'0.7',
/* Properties */
array(
'permissions' => 'contentadmin', 'permissions' => 'contentadmin',
'type' => 'plugin', 'type' => 'plugin',
'dc_min' => '2.6', 'support' => 'https://github.com/JcDenis/cinecturlink2',
'support' => 'http://jcd.lv/q=cinecturlink2', 'details' => 'https://plugins.dotaddict.org/dc2/details/cinecturlink2',
'details' => 'http://plugins.dotaddict.org/dc2/details/cinecturlink2' 'repository' => 'https://raw.githubusercontent.com/JcDenis/cinecturlink2/master/dcstore.xml'
) ]
); );