From 8dff5e8f5555501390f4494d982ff675b4426fb0 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Thu, 2 Sep 2021 22:14:32 +0200 Subject: [PATCH] clean up again... --- CHANGELOG.md | 8 +++----- _admin.php | 22 +++++++++++----------- _config.php | 22 +++++++++++----------- _define.php | 22 +++++++++++----------- _install.php | 22 +++++++++++----------- _prepend.php | 22 +++++++++++----------- _uninstall.php | 23 +++++++++++------------ dcstore.xml | 11 +++++++++++ inc/class.dc.packman.php | 22 +++++++++++----------- inc/lib.packman.filezip.php | 22 +++++++++++----------- inc/lib.packman.php | 26 +++++++++++++------------- index.php | 22 +++++++++++----------- locales/fr/main.lang.php | 3 +-- 13 files changed, 127 insertions(+), 120 deletions(-) create mode 100644 dcstore.xml diff --git a/CHANGELOG.md b/CHANGELOG.md index 042078a..1a3cec9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,6 @@ -todo -- plop - -2021.08.28 +2021.08.22.1 - dev - add option to convert newline from files content on the fly +- clean up again... 2021.08.22 - fix PSR2 coding style @@ -45,4 +43,4 @@ todo - Added install and uninstall features - Added help - Added LICENSE -- Cleaned up +- Cleaned up \ No newline at end of file diff --git a/_admin.php b/_admin.php index 9966368..7da3631 100644 --- a/_admin.php +++ b/_admin.php @@ -1,15 +1,15 @@ addUserAction( /* desc */ __('delete the version number') ); - $this->addDirectAction( /* type */ 'settings', /* action */ 'delete_all', diff --git a/dcstore.xml b/dcstore.xml new file mode 100644 index 0000000..4e5c984 --- /dev/null +++ b/dcstore.xml @@ -0,0 +1,11 @@ + + +pacKman +2021.08.22.1 +Jean-Christian Denis +Manage your Dotclear packages +https://github.com/JcDenis/pacKman/releases/download/v2021.08.22.1/plugin-pacKman.zip +https://plugins.dotaddict.org/dc2/details/pacKman +https://github.com/JcDenis/pacKman + + \ No newline at end of file diff --git a/inc/class.dc.packman.php b/inc/class.dc.packman.php index c582d22..ec9139c 100644 --- a/inc/class.dc.packman.php +++ b/inc/class.dc.packman.php @@ -1,15 +1,15 @@ '; } - + public static function repository($core, $modules, $type, $title) { if (!in_array($type, ['plugins', 'themes', 'repository'])) { @@ -147,7 +147,7 @@ class libPackman } $combo_action = [__('delete') => 'delete']; - + if ($type == 'plugins' || $type == 'themes') { $combo_action[__('install')] = 'install'; } diff --git a/index.php b/index.php index 12fcffa..40e337e 100644 --- a/index.php +++ b/index.php @@ -1,15 +1,15 @@