diff --git a/CHANGELOG.md b/CHANGELOG.md index 80e3081..5502264 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +1.1 - 2023.03.26 +- require dotclear 2.26 +- use namespace + 1.0 - 2022.12.21 - use short settings id - use anonymous functions diff --git a/README.md b/README.md index 6d68b58..ff6c821 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Release](https://img.shields.io/github/v/release/JcDenis/fac)](https://github.com/JcDenis/fac/releases) [![Date](https://img.shields.io/github/release-date/JcDenis/fac)](https://github.com/JcDenis/fac/releases) [![Issues](https://img.shields.io/github/issues/JcDenis/fac)](https://github.com/JcDenis/fac/issues) -[![Dotclear](https://img.shields.io/badge/dotclear-v2.24-blue.svg)](https://fr.dotclear.org/download) +[![Dotclear](https://img.shields.io/badge/dotclear-v2.26-blue.svg)](https://fr.dotclear.org/download) [![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/fac) [![License](https://img.shields.io/github/license/JcDenis/fac)](https://github.com/JcDenis/fac/blob/master/LICENSE) @@ -22,7 +22,7 @@ to link en extenal feed to the bottom of an entry. * superadmin to configure feeds formats * admin permissions to configure plugin * usage,contentadmin permissions to link feeds - * Dotclear 2.24 + * Dotclear 2.26 * A theme that contents behavior publicEntryAfterContent ## USAGE diff --git a/_define.php b/_define.php index 9737046..537752d 100644 --- a/_define.php +++ b/_define.php @@ -18,18 +18,18 @@ $this->registerModule( 'Feed after content', 'Add RSS/Atom feeds after entries content', 'Jean-Christian Denis and Contributors', - '1.0', + '1.1', [ - 'requires' => [['core', '2.24']], + 'requires' => [['core', '2.26']], 'permissions' => dcCore::app()->auth->makePermissions([ dcAuth::PERMISSION_USAGE, dcAuth::PERMISSION_CONTENT_ADMIN, ]), - 'type' => 'plugin', - 'support' => 'https://github.com/JcDenis/' . basename(__DIR__), - 'details' => 'https://plugins.dotaddict.org/dc2/details/' . basename(__DIR__), - 'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/repository.xml', - 'settings' => [ + 'type' => 'plugin', + 'support' => 'https://github.com/JcDenis/' . basename(__DIR__), + 'details' => 'https://plugins.dotaddict.org/dc2/details/' . basename(__DIR__), + 'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/repository.xml', + 'settings' => [ 'blog' => '#params.fac_params', ], ] diff --git a/dcstore.xml b/dcstore.xml index e6d70ad..1b32425 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,11 +2,11 @@ Feed after content - 1.0 + 1.1 Jean-Christian Denis and Contributors Add RSS/Atom feeds after entries content - https://github.com/JcDenis/fac/releases/download/v1.0/plugin-fac.zip - 2.24 + https://github.com/JcDenis/fac/releases/download/v1.1/plugin-fac.zip + 2.26 https://plugins.dotaddict.org/dc2/details/fac https://github.com/JcDenis/fac