clean up and release

This commit is contained in:
Jean-Christian Paul Denis 2021-09-02 23:01:31 +02:00
parent e9274e5b43
commit 453b36e962
8 changed files with 85 additions and 65 deletions

View File

@ -1,5 +1,9 @@
simplyFavicon 2021.08.18 2021.09.02
- clean up code
- add dcstore.xml pre-release file
2021.08.18
* update license * update license
simplyFavicon 2011.04.08 2011.04.08
* first version * first version

View File

@ -2,22 +2,22 @@
## WHAT IS simplyFavicon ? ## WHAT IS simplyFavicon ?
simplyFavicon is a plugin for the open-source _simplyFavicon_ is a plugin for the open-source
web publishing software called Dotclear. web publishing software called Dotclear.
. It adds a favicon to your blog.
## REQUIREMENTS ## REQUIREMENTS
simplyFavicon requires: _simplyFavicon_ requires:
* Administrator permissions * Administrator permissions
* Dotclear 2.18 * Dotclear 2.19
* A readable public directory. * A readable public directory.
## USAGE ## USAGE
First install simplyFavicon, manualy from a zip package or from First install _simplyFavicon_, 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 un file called ''favicon.xxx'' where xxx could be ico, jpg, png, Add un file called ''favicon.xxx'' where xxx could be ico, jpg, png,

View File

@ -1,15 +1,15 @@
<?php <?php
# -- BEGIN LICENSE BLOCK ---------------------------------- /**
# * @brief simplyFavicon, a plugin for Dotclear 2
# This file is part of simplyFavicon, 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
# 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; return;

View File

@ -1,15 +1,15 @@
<?php <?php
# -- BEGIN LICENSE BLOCK ---------------------------------- /**
# * @brief simplyFavicon, a plugin for Dotclear 2
# This file is part of simplyFavicon, 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
# 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; return;
@ -19,6 +19,13 @@ $this->registerModule(
"Simply favicon", "Simply favicon",
"Multi-agents favicon", "Multi-agents favicon",
"Jean-Christian Denis", "Jean-Christian Denis",
'2021.08.18', '2021.09.02',
'admin' [
'requires' => [['core', '2.19']],
'permissions' => 'admin',
'type' => 'plugin',
'support' => 'https://github.com/JcDenis/simplyFavicon',
'details' => 'http://plugins.dotaddict.org/dc2/details/simplyFavicon',
'repository' => 'https://raw.githubusercontent.com/JcDenis/simplyFavicon/master/dcstore.xml'
]
); );

View File

@ -1,15 +1,15 @@
<?php <?php
# -- BEGIN LICENSE BLOCK ---------------------------------- /**
# * @brief simplyFavicon, a plugin for Dotclear 2
# This file is part of simplyFavicon, 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
# 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; return;

View File

@ -1,15 +1,15 @@
<?php <?php
# -- BEGIN LICENSE BLOCK ---------------------------------- /**
# * @brief simplyFavicon, a plugin for Dotclear 2
# This file is part of simplyFavicon, 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
# 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; return;

11
dcstore.xml Normal file
View File

@ -0,0 +1,11 @@
<modules xmlns:da="http://dotaddict.org/da/">
<module id="simplyFavicon">
<name>Simply favicon</name>
<version>2021.09.02</version>
<author>Jean-Christian Denis</author>
<desc>Multi-agents favicon</desc>
<file>https://github.com/JcDenis/simplyFavicon/releases/download/v2021.09.02/plugin-simplyFavicon.zip</file>
<da:details>http://plugins.dotaddict.org/dc2/details/simplyFavicon</da:details>
<da:support>https://github.com/JcDenis/simplyFavicon</da:support>
</module>
</modules>

View File

@ -9,5 +9,3 @@ $GLOBALS['__l10n']['Enable "Simply favicon" extension'] = 'Activer l\'extension
#_admin.php:28 #_admin.php:28
$GLOBALS['__l10n']['You must place an image called favicon.png or .jpg or .ico into your blog\'s public directory.'] = 'Vous devez placer une image nommée favicon.png, .jpg ou .ico dans le répertoire publique du blog.'; $GLOBALS['__l10n']['You must place an image called favicon.png or .jpg or .ico into your blog\'s public directory.'] = 'Vous devez placer une image nommée favicon.png, .jpg ou .ico dans le répertoire publique du blog.';
?>