From 6bb51db969636e0eb9ea8961adabceacb7606acd Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Thu, 2 Sep 2021 21:43:35 +0200 Subject: [PATCH] clean up again... --- CHANGELOG.md | 3 +++ _admin.php | 22 ++++++++++----------- _config.php | 22 ++++++++++----------- _define.php | 35 +++++++++++++++++---------------- _install.php | 22 ++++++++++----------- _prepend.php | 22 ++++++++++----------- _uninstall.php | 22 ++++++++++----------- dcstore.xml | 11 +++++++++++ inc/class.license.bootstrap.php | 30 ++++++++++++++-------------- inc/lib.license.bootstrap.php | 24 +++++++++++----------- inc/licenses/lgpl3.full.txt | 1 - index.php | 22 ++++++++++----------- locales/fr/main.lang.php | 4 +--- locales/fr/resources.php | 6 +++--- 14 files changed, 129 insertions(+), 117 deletions(-) create mode 100644 dcstore.xml diff --git a/CHANGELOG.md b/CHANGELOG.md index cacd695..c749362 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +2021.08.17.1 +- clean up again... + licenseBootstrap 2021.08.17 * Move to Franck style diff --git a/_admin.php b/_admin.php index 4843a5b..796e886 100644 --- a/_admin.php +++ b/_admin.php @@ -1,15 +1,15 @@ registerModule( - 'License bootstrap', // Name - 'Add license to your plugins and themes', // Description - 'Jean-Christian Denis', // Author - '2021.08.17.1', // Version + 'License bootstrap', + 'Add license to your plugins and themes', + 'Jean-Christian Denis', + '2021.08.17.1', [ + 'requires' => [['core', '2.19']], 'permissions' => null, 'type' => 'plugin', - 'dc_min' => '2.19', 'support' => 'https://github.com/JcDenis/licenseBootstrap', - 'details' => 'https://plugins.dotaddict.org/dc2/details/licenseBootstrap' + 'details' => 'https://plugins.dotaddict.org/dc2/details/licenseBootstrap', + 'repository' => 'https://raw.githubusercontent.com/JcDenis/licenseBootstrap/master/dcstore.xml' ] ); \ No newline at end of file diff --git a/_install.php b/_install.php index fba4c69..6e49d22 100644 --- a/_install.php +++ b/_install.php @@ -1,15 +1,15 @@ + +License bootstrap +2021.08.17.1 +Jean-Christian Denis +Add license to your plugins and themes +https://github.com/JcDenis/licenseBootstrap/releases/download/v2021.08.17.1/plugin-licenseBootstrap.zip +https://plugins.dotaddict.org/dc2/details/licenseBootstrap +https://github.com/JcDenis/licenseBootstrap + + \ No newline at end of file diff --git a/inc/class.license.bootstrap.php b/inc/class.license.bootstrap.php index 8c7bd48..2e4dc42 100644 --- a/inc/class.license.bootstrap.php +++ b/inc/class.license.bootstrap.php @@ -1,15 +1,15 @@ ' . __('Name') . '' . '' . __('Root') . '' . ''; - + foreach (self::sort($modules) as $id => $module) { echo '' . diff --git a/inc/licenses/lgpl3.full.txt b/inc/licenses/lgpl3.full.txt index fc8a5de..797ffb4 100644 --- a/inc/licenses/lgpl3.full.txt +++ b/inc/licenses/lgpl3.full.txt @@ -5,7 +5,6 @@ Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. - This version of the GNU Lesser General Public License incorporates the terms and conditions of version 3 of the GNU General Public License, supplemented by the additional permissions listed below. diff --git a/index.php b/index.php index fe348b6..6996655 100644 --- a/index.php +++ b/index.php @@ -1,15 +1,15 @@ \ No newline at end of file +$GLOBALS['__l10n']['Configuration'] = 'Configuration'; \ No newline at end of file diff --git a/locales/fr/resources.php b/locales/fr/resources.php index b4059e1..4cbc149 100644 --- a/locales/fr/resources.php +++ b/locales/fr/resources.php @@ -13,9 +13,9 @@ if (!defined('DC_RC_PATH')) { - return null; + return null; } if (!empty($_REQUEST['module']) && $_REQUEST['module'] == 'licenseBootstrap') { - $__resources['help']['core_plugins_conf'] = dirname(__FILE__).'/help/help.html'; -} + $__resources['help']['core_plugins_conf'] = dirname(__FILE__).'/help/help.html'; +} \ No newline at end of file