diff --git a/CHANGELOG.md b/CHANGELOG.md index d6e8a1b..74031ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,34 +1,49 @@ -2023.07.29 -- require Dotclear 2.27 -- require PHP 7.4+ -- update to Dotclear 2.27-dev +simplyFavicon 2023.08.13 +=========================================================== +* Require Dotclear 2.27 +* Require PHP 7.4+ +* Move third party repository +* Use Dotclear style for CHANGELOG -2023.04.23 -- require Dotclear 2.26 -- use latest dotclear namespace -- remove magix -- fix nullsafe warnings +simplyFavicon 2023.07.29 +=========================================================== +* require Dotclear 2.27 +* require PHP 7.4+ +* update to Dotclear 2.27-dev -2023.03.21 -- require Dotclear 2.26 -- use PHP namespace -- use new plugin structure -- use new Form class -- add icon url on blog pref +simplyFavicon 2023.04.23 +=========================================================== +* require Dotclear 2.26 +* use latest dotclear namespace +* remove magix +* fix nullsafe warnings -2022.12.23 -- use anonymlous functions -- code review (phpstan, php-cs-fixer) +simplyFavicon 2023.03.21 +=========================================================== +* require Dotclear 2.26 +* use PHP namespace +* use new plugin structure +* use new Form class +* add icon url on blog pref -2022.11.20 -- fix compatibility with Dotclear 2.24 (required) +simplyFavicon 2022.12.23 +=========================================================== +* use anonymlous functions +* code review (phpstan, php-cs-fixer) -2021.09.02 -- clean up code -- add dcstore.xml pre-release file +simplyFavicon 2022.11.20 +=========================================================== +* fix compatibility with Dotclear 2.24 (required) -2021.08.18 -- update license +simplyFavicon 2021.09.02 +=========================================================== +* clean up code +* add dcstore.xml pre-release file -2011.04.08 -- first version \ No newline at end of file +simplyFavicon 2021.08.18 +=========================================================== +* update license + +simplyFavicon 2011.04.08 +=========================================================== +* first version \ No newline at end of file diff --git a/README.md b/README.md index c27c3a7..809a03c 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,10 @@ # README -[![Release](https://img.shields.io/github/v/release/JcDenis/simplyFavicon)](https://github.com/JcDenis/simplyFavicon/releases) -[![Date](https://img.shields.io/github/release-date/JcDenis/simplyFavicon)](https://github.com/JcDenis/simplyFavicon/releases) -[![Issues](https://img.shields.io/github/issues/JcDenis/simplyFavicon)](https://github.com/JcDenis/simplyFavicon/issues) -[![Dotclear](https://img.shields.io/badge/dotclear-v2.27-blue.svg)](https://fr.dotclear.org/download) -[![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/simplyFavicon) -[![License](https://img.shields.io/github/license/JcDenis/simplyFavicon)](https://github.com/JcDenis/simplyFavicon/blob/master/LICENSE) +[![Release](https://img.shields.io/badge/release-2023.08.13-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/simplyFavicon/releases) +[![Date](https://img.shields.io/badge/date-2023.08.13-c44d58.svg)](https://git.dotclear.watch/JcDenis/simplyFavicon/releases) +[![Dotclear](https://img.shields.io/badge/dotclear-v2.27-137bbb.svg)](https://fr.dotclear.org/download) +[![Dotaddict](https://img.shields.io/badge/dotaddict-official-9ac123.svg)](https://plugins.dotaddict.org/dc2/details/simplyFavicon) +[![License](https://img.shields.io/github/license/JcDenis/simplyFavicon)](https://git.dotclear.watch/JcDenis/simplyFavicon/blob/master/LICENSE) ## WHAT IS simplyFavicon ? @@ -18,10 +17,10 @@ It adds a favicon to your blog. _simplyFavicon_ requires: - * Administrator permissions - * Dotclear 2.27 - * PHP 7.4+ - * A readable public directory. +* Administrator permissions +* Dotclear 2.27 +* PHP 7.4+ +* A readable public directory. ## USAGE @@ -34,12 +33,12 @@ simplyFavicon add required code to public page to show favicon on browser. ## LINKS - * License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) - * Source & contribution : [GitHub Page](https://github.com/JcDenis/simplyFavicon) - * Packages & details : [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/simplyFavicon) +* License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html) +* Source & contribution : [Gitea Page](https://git.dotclear.watch/JcDenis/simplyFavicon) or [GitHub Page](https://github.com/JcDenis/simplyFavicon) +* Packages & details : [Gitea Page](https://git.dotclear.watch/JcDenis/simplyFavicon/releases) or [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/simplyFavicon) ## CONTRIBUTORS - * Jean-Christian Denis +* Jean-Christian Denis - You are welcome to contribute to this code. \ No newline at end of file +You are welcome to contribute to this code. diff --git a/_define.php b/_define.php index cb12f8f..26c3049 100644 --- a/_define.php +++ b/_define.php @@ -18,18 +18,18 @@ $this->registerModule( 'Simply favicon', 'Multi-agents favicon', 'Jean-Christian Denis', - '2023.07.29', + '2023.08.13', [ 'requires' => [['core', '2.27']], 'permissions' => dcCore::app()->auth->makePermissions([ dcCore::app()->auth::PERMISSION_ADMIN, ]), - 'type' => 'plugin', - 'support' => 'https://github.com/JcDenis/' . basename(__DIR__), - 'details' => 'http://plugins.dotaddict.org/dc2/details/' . basename(__DIR__), - 'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml', - 'settings' => [ - 'blog' => '#params.simply_favicon_params', + 'settings' => [ + 'blog' => '#params.' . basename(__DIR__) . '_params', ], + 'type' => 'plugin', + 'support' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/issues', + 'details' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/src/branch/master/README.md', + 'repository' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/raw/branch/master/dcstore.xml', ] ); diff --git a/dcstore.xml b/dcstore.xml index 3dfc682..2a1ccd2 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,12 +2,12 @@ Simply favicon - 2023.07.29 + 2023.08.13 Jean-Christian Denis Multi-agents favicon - https://github.com/JcDenis/simplyFavicon/releases/download/v2023.07.29/plugin-simplyFavicon.zip + https://git.dotclear.watch/JcDenis/simplyFavicon/releases/download/v2023.08.13/plugin-simplyFavicon.zip 2.27 - http://plugins.dotaddict.org/dc2/details/simplyFavicon - https://github.com/JcDenis/simplyFavicon + https://git.dotclear.watch/JcDenis/simplyFavicon/src/branch/master/README.md + https://git.dotclear.watch/JcDenis/simplyFavicon/issues diff --git a/src/Backend.php b/src/Backend.php index 1a822dd..3205198 100644 --- a/src/Backend.php +++ b/src/Backend.php @@ -56,7 +56,7 @@ class Backend extends Process } echo - '

' . __('Favicon') . '

' . + '

' . __('Favicon') . '

' . '
' . (new Div()) ->__call('class', ['box'])