From b49ab867c621fe5f367cd35ba6bcbb50c3224f08 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Thu, 2 Sep 2021 21:59:31 +0200 Subject: [PATCH] clean up again --- CHANGELOG.md | 35 +++++++++++++++++++---------------- README.md | 8 ++++---- _admin.php | 22 +++++++++++----------- _define.php | 26 +++++++++++++------------- _public.php | 22 +++++++++++----------- _widgets.php | 22 +++++++++++----------- dcstore.xml | 8 +++----- 7 files changed, 72 insertions(+), 71 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 00b605b..73f8530 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,25 +1,28 @@ -myBlogNumbers 2021.08.27 +2021.08.27.1 - dev +- [x] clean up again + +2021.08.27 - cleanup (PSR2, short array, ...) - enhance widget style - update license -myBlogNumbers 2015.04.23 - Pierre Van Glabeke - * modif url support +2015.04.23 - Pierre Van Glabeke +- modif url support -myBlogNumbers 2015.01.20 - Pierre Van Glabeke - * Ajout hors ligne dans widget (dc2.7) - * Corrections typo +2015.01.20 - Pierre Van Glabeke +- Ajout hors ligne dans widget (dc2.7) +- Corrections typo -myBlogNumbers 2013.11.12 - * Use plural form - * Add options to widgets +2013.11.12 +- Use plural form +- Add options to widgets -myBlogNumbers 2013.06.29 - * Used new 'homeonly' option - * Fixed text for 0 count +2013.06.29 +- Used new 'homeonly' option +- Fixed text for 0 count -myBlogNumbers 0.2 - 2010-06-05 - * Switched to DC 2.2 +0.2 - 2010-06-05 +- Switched to DC 2.2 -myBlogNumbers 0.1 - 2009-10-16 - * First lab release \ No newline at end of file +0.1 - 2009-10-16 +- First lab release \ No newline at end of file diff --git a/README.md b/README.md index 687453e..b73c3b5 100644 --- a/README.md +++ b/README.md @@ -9,14 +9,14 @@ Simply show visitors some statistics about current blog. ## REQUIREMENTS - myBlogNumbers requires: + _myBlogNumbers_ requires: * permissions to manage widgets * Dotclear 2.19 ## USAGE -First install myBlogNumbers, manualy from a zip package or from +First install _myBlogNumbers_, manualy from a zip package or from Dotaddict repository. (See Dotclear's documentation to know how do this) Add and configure "My Blog Numbers" from widgets manager. @@ -30,5 +30,5 @@ You can add a dashboard item by enable it from your dashboard preferences. ## CONTRIBUTORS - * Jean-Chirstian Denis - * Pierre Van Glabeke + * Jean-Christian Denis + * Pierre Van Glabeke \ No newline at end of file diff --git a/_admin.php b/_admin.php index 9fe9bd4..a52bb8f 100644 --- a/_admin.php +++ b/_admin.php @@ -1,15 +1,15 @@ registerModule( - 'myBlogNumbers', + 'My blog numbers', 'Show some figures of your blog', 'Jean-Christian Denis, Pierre Van Glabeke', '2021.08.27.1', [ + 'requires' => [['core', '2.19']], 'permissions' => 'usage,contentadmin', 'type' => 'plugin', - 'dc_min' => '2.19', 'support' => 'http://forum.dotclear.org/viewtopic.php?id=40934', 'details' => 'http://plugins.dotaddict.org/dc2/details/myBlogNumbers', 'repository' => 'https://raw.githubusercontent.com/JcDenis/myBlogNumbers/master/dcstore.xml' diff --git a/_public.php b/_public.php index 621eb23..5688505 100644 --- a/_public.php +++ b/_public.php @@ -1,15 +1,15 @@ -myBlogNumbers -2021.08.27 +Mon blog en chiffres +2021.08.27.1 Jean-Christian Denis, Pierre Van Glabeke Show some figures of your blog -https://github.com/JcDenis/myBlogNumbers/releases/download/v2021.08.27/plugin-myBlogNumbers.zip -2.19 +https://github.com/JcDenis/myBlogNumbers/releases/download/v2021.08.27.1/plugin-myBlogNumbers.zip http://plugins.dotaddict.org/dc2/details/myBlogNumbers - http://forum.dotclear.org/viewtopic.php?id=40934 \ No newline at end of file