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, ...)
- 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
0.1 - 2009-10-16
- First lab release

View file

@ -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

View file

@ -1,15 +1,15 @@
<?php
# -- BEGIN LICENSE BLOCK ----------------------------------
#
# This file is part of myBlogNumbers, a plugin for Dotclear 2.
#
# Copyright (c) 2009-2021 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
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
#
# -- END LICENSE BLOCK ------------------------------------
/**
* @brief myBlogNumbers, a plugin for Dotclear 2
*
* @package Dotclear
* @subpackage Plugin
*
* @author Jean-Christian Denis, Pierre Van Glabeke
*
* @copyright Jean-Christian Denis
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
*/
if (!defined('DC_CONTEXT_ADMIN')) {
return null;

View file

@ -1,29 +1,29 @@
<?php
# -- BEGIN LICENSE BLOCK ----------------------------------
#
# This file is part of myBlogNumbers, a plugin for Dotclear 2.
#
# Copyright (c) 2009-2021 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
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
#
# -- END LICENSE BLOCK ------------------------------------
/**
* @brief myBlogNumbers, a plugin for Dotclear 2
*
* @package Dotclear
* @subpackage Plugin
*
* @author Jean-Christian Denis, Pierre Van Glabeke
*
* @copyright Jean-Christian Denis
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
*/
if (!defined('DC_RC_PATH')) {
return null;
}
$this->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'

View file

@ -1,15 +1,15 @@
<?php
# -- BEGIN LICENSE BLOCK ----------------------------------
#
# This file is part of myBlogNumbers, a plugin for Dotclear 2.
#
# Copyright (c) 2009-2021 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
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
#
# -- END LICENSE BLOCK ------------------------------------
/**
* @brief myBlogNumbers, a plugin for Dotclear 2
*
* @package Dotclear
* @subpackage Plugin
*
* @author Jean-Christian Denis, Pierre Van Glabeke
*
* @copyright Jean-Christian Denis
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
*/
if (!defined('DC_RC_PATH')) {
return null;

View file

@ -1,15 +1,15 @@
<?php
# -- BEGIN LICENSE BLOCK ----------------------------------
#
# This file is part of myBlogNumbers, a plugin for Dotclear 2.
#
# Copyright (c) 2009-2021 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
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
#
# -- END LICENSE BLOCK ------------------------------------
/**
* @brief myBlogNumbers, a plugin for Dotclear 2
*
* @package Dotclear
* @subpackage Plugin
*
* @author Jean-Christian Denis, Pierre Van Glabeke
*
* @copyright Jean-Christian Denis
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
*/
if (!defined('DC_RC_PATH')) {
return null;

View file

@ -1,13 +1,11 @@
<modules xmlns:da="http://dotaddict.org/da/">
<module id="myBlogNumbers">
<name>myBlogNumbers</name>
<version>2021.08.27</version>
<name>Mon blog en chiffres</name>
<version>2021.08.27.1</version>
<author>Jean-Christian Denis, Pierre Van Glabeke</author>
<desc>Show some figures of your blog</desc>
<file>https://github.com/JcDenis/myBlogNumbers/releases/download/v2021.08.27/plugin-myBlogNumbers.zip</file>
<da:dcmin>2.19</da:dcmin>
<file>https://github.com/JcDenis/myBlogNumbers/releases/download/v2021.08.27.1/plugin-myBlogNumbers.zip</file>
<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>
</module>
</modules>