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
|
<?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 */
|
'permissions' => 'contentadmin',
|
||||||
'0.7',
|
'type' => 'plugin',
|
||||||
/* Properties */
|
'support' => 'https://github.com/JcDenis/cinecturlink2',
|
||||||
array(
|
'details' => 'https://plugins.dotaddict.org/dc2/details/cinecturlink2',
|
||||||
'permissions' => 'contentadmin',
|
'repository' => 'https://raw.githubusercontent.com/JcDenis/cinecturlink2/master/dcstore.xml'
|
||||||
'type' => 'plugin',
|
]
|
||||||
'dc_min' => '2.6',
|
);
|
||||||
'support' => 'http://jcd.lv/q=cinecturlink2',
|
|
||||||
'details' => 'http://plugins.dotaddict.org/dc2/details/cinecturlink2'
|
|
||||||
)
|
|
||||||
);
|
|
Loading…
Reference in New Issue
Block a user