fix define: cleanup, update link, license, version
This commit is contained in:
parent
152ccc3766
commit
14343aa882
56
_define.php
56
_define.php
@ -1,16 +1,15 @@
|
||||
<?php
|
||||
# -- BEGIN LICENSE BLOCK ----------------------------------
|
||||
#
|
||||
# This file is part of cinecturlink2, a plugin for Dotclear 2.
|
||||
#
|
||||
# Copyright (c) 2009-2013 Jean-Christian Denis and contributors
|
||||
# contact@jcdenis.fr http://jcd.lv
|
||||
#
|
||||
# Licensed under the GPL version 2.0 license.
|
||||
# A copy of this license is available in LICENSE file or at
|
||||
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
||||
#
|
||||
# -- END LICENSE BLOCK ------------------------------------
|
||||
/**
|
||||
* @brief cinecturlink2, a plugin for Dotclear 2
|
||||
*
|
||||
* @package Dotclear
|
||||
* @subpackage Plugin
|
||||
*
|
||||
* @author Jean-Christian Denis and Contributors
|
||||
*
|
||||
* @copyright Jean-Christian Denis
|
||||
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
|
||||
/*
|
||||
* Taken from cinecturlink for Dotclear 1
|
||||
@ -19,25 +18,20 @@
|
||||
*/
|
||||
|
||||
if (!defined('DC_RC_PATH')) {
|
||||
|
||||
return null;
|
||||
return null;
|
||||
}
|
||||
|
||||
$this->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'
|
||||
]
|
||||
);
|
Loading…
Reference in New Issue
Block a user