clean up again

This commit is contained in:
Jean-Christian Denis 2021-09-02 21:59:31 +02:00
parent fc94c5508d
commit b49ab867c6
7 changed files with 72 additions and 71 deletions

View file

@ -1,25 +1,28 @@
myBlogNumbers 2021.08.27 2021.08.27.1 - dev
- [x] clean up again
2021.08.27
- cleanup (PSR2, short array, ...) - cleanup (PSR2, short array, ...)
- enhance widget style - enhance widget style
- update license - update license
myBlogNumbers 2015.04.23 - Pierre Van Glabeke 2015.04.23 - Pierre Van Glabeke
* modif url support - modif url support
myBlogNumbers 2015.01.20 - Pierre Van Glabeke 2015.01.20 - Pierre Van Glabeke
* Ajout hors ligne dans widget (dc2.7) - Ajout hors ligne dans widget (dc2.7)
* Corrections typo - Corrections typo
myBlogNumbers 2013.11.12 2013.11.12
* Use plural form - Use plural form
* Add options to widgets - Add options to widgets
myBlogNumbers 2013.06.29 2013.06.29
* Used new 'homeonly' option - Used new 'homeonly' option
* Fixed text for 0 count - Fixed text for 0 count
myBlogNumbers 0.2 - 2010-06-05 0.2 - 2010-06-05
* Switched to DC 2.2 - Switched to DC 2.2
myBlogNumbers 0.1 - 2009-10-16 0.1 - 2009-10-16
* First lab release - First lab release

View file

@ -9,14 +9,14 @@ Simply show visitors some statistics about current blog.
## REQUIREMENTS ## REQUIREMENTS
myBlogNumbers requires: _myBlogNumbers_ requires:
* permissions to manage widgets * permissions to manage widgets
* Dotclear 2.19 * Dotclear 2.19
## USAGE ## 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) Dotaddict repository. (See Dotclear's documentation to know how do this)
Add and configure "My Blog Numbers" from widgets manager. 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 ## CONTRIBUTORS
* Jean-Chirstian Denis * Jean-Christian Denis
* Pierre Van Glabeke * Pierre Van Glabeke

View file

@ -1,15 +1,15 @@
<?php <?php
# -- BEGIN LICENSE BLOCK ---------------------------------- /**
# * @brief myBlogNumbers, a plugin for Dotclear 2
# This file is part of myBlogNumbers, a plugin for Dotclear 2. *
# * @package Dotclear
# Copyright (c) 2009-2021 Jean-Christian Denis and contributors * @subpackage Plugin
# *
# Licensed under the GPL version 2.0 license. * @author Jean-Christian Denis, Pierre Van Glabeke
# A copy of this license is available in LICENSE file or at *
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * @copyright Jean-Christian Denis
# * @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
# -- END LICENSE BLOCK ------------------------------------ */
if (!defined('DC_CONTEXT_ADMIN')) { if (!defined('DC_CONTEXT_ADMIN')) {
return null; return null;

View file

@ -1,29 +1,29 @@
<?php <?php
# -- BEGIN LICENSE BLOCK ---------------------------------- /**
# * @brief myBlogNumbers, a plugin for Dotclear 2
# This file is part of myBlogNumbers, a plugin for Dotclear 2. *
# * @package Dotclear
# Copyright (c) 2009-2021 Jean-Christian Denis and contributors * @subpackage Plugin
# *
# Licensed under the GPL version 2.0 license. * @author Jean-Christian Denis, Pierre Van Glabeke
# A copy of this license is available in LICENSE file or at *
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * @copyright Jean-Christian Denis
# * @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
# -- END LICENSE BLOCK ------------------------------------ */
if (!defined('DC_RC_PATH')) { if (!defined('DC_RC_PATH')) {
return null; return null;
} }
$this->registerModule( $this->registerModule(
'myBlogNumbers', 'My blog numbers',
'Show some figures of your blog', 'Show some figures of your blog',
'Jean-Christian Denis, Pierre Van Glabeke', 'Jean-Christian Denis, Pierre Van Glabeke',
'2021.08.27.1', '2021.08.27.1',
[ [
'requires' => [['core', '2.19']],
'permissions' => 'usage,contentadmin', 'permissions' => 'usage,contentadmin',
'type' => 'plugin', 'type' => 'plugin',
'dc_min' => '2.19',
'support' => 'http://forum.dotclear.org/viewtopic.php?id=40934', 'support' => 'http://forum.dotclear.org/viewtopic.php?id=40934',
'details' => 'http://plugins.dotaddict.org/dc2/details/myBlogNumbers', 'details' => 'http://plugins.dotaddict.org/dc2/details/myBlogNumbers',
'repository' => 'https://raw.githubusercontent.com/JcDenis/myBlogNumbers/master/dcstore.xml' 'repository' => 'https://raw.githubusercontent.com/JcDenis/myBlogNumbers/master/dcstore.xml'

View file

@ -1,15 +1,15 @@
<?php <?php
# -- BEGIN LICENSE BLOCK ---------------------------------- /**
# * @brief myBlogNumbers, a plugin for Dotclear 2
# This file is part of myBlogNumbers, a plugin for Dotclear 2. *
# * @package Dotclear
# Copyright (c) 2009-2021 Jean-Christian Denis and contributors * @subpackage Plugin
# *
# Licensed under the GPL version 2.0 license. * @author Jean-Christian Denis, Pierre Van Glabeke
# A copy of this license is available in LICENSE file or at *
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * @copyright Jean-Christian Denis
# * @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
# -- END LICENSE BLOCK ------------------------------------ */
if (!defined('DC_RC_PATH')) { if (!defined('DC_RC_PATH')) {
return null; return null;

View file

@ -1,15 +1,15 @@
<?php <?php
# -- BEGIN LICENSE BLOCK ---------------------------------- /**
# * @brief myBlogNumbers, a plugin for Dotclear 2
# This file is part of myBlogNumbers, a plugin for Dotclear 2. *
# * @package Dotclear
# Copyright (c) 2009-2021 Jean-Christian Denis and contributors * @subpackage Plugin
# *
# Licensed under the GPL version 2.0 license. * @author Jean-Christian Denis, Pierre Van Glabeke
# A copy of this license is available in LICENSE file or at *
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * @copyright Jean-Christian Denis
# * @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
# -- END LICENSE BLOCK ------------------------------------ */
if (!defined('DC_RC_PATH')) { if (!defined('DC_RC_PATH')) {
return null; return null;

View file

@ -1,13 +1,11 @@
<modules xmlns:da="http://dotaddict.org/da/"> <modules xmlns:da="http://dotaddict.org/da/">
<module id="myBlogNumbers"> <module id="myBlogNumbers">
<name>myBlogNumbers</name> <name>Mon blog en chiffres</name>
<version>2021.08.27</version> <version>2021.08.27.1</version>
<author>Jean-Christian Denis, Pierre Van Glabeke</author> <author>Jean-Christian Denis, Pierre Van Glabeke</author>
<desc>Show some figures of your blog</desc> <desc>Show some figures of your blog</desc>
<file>https://github.com/JcDenis/myBlogNumbers/releases/download/v2021.08.27/plugin-myBlogNumbers.zip</file> <file>https://github.com/JcDenis/myBlogNumbers/releases/download/v2021.08.27.1/plugin-myBlogNumbers.zip</file>
<da:dcmin>2.19</da:dcmin>
<da:details>http://plugins.dotaddict.org/dc2/details/myBlogNumbers</da:details> <da:details>http://plugins.dotaddict.org/dc2/details/myBlogNumbers</da:details>
<da:section></da:section>
<da:support>http://forum.dotclear.org/viewtopic.php?id=40934</da:support> <da:support>http://forum.dotclear.org/viewtopic.php?id=40934</da:support>
</module> </module>
</modules> </modules>