From 01db3e79a5052d05bb5af5b51006da4e20429ffa Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 1 Jul 2023 01:12:05 +0200 Subject: [PATCH] release 2023.07.01 fix #2 --- CHANGELOG.md | 7 +++++-- _define.php | 2 +- dcstore.xml | 4 ++-- src/BackendBehaviors.php | 10 +++++----- 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 09ebbf9..9fa5a45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,9 +3,12 @@ - [ ] add plugin muppet support (request Mathieu M.) - [ ] add log for errors -2023.06.30 +2023.07.01 - require dotclear 2.26 -- fix php8.1 compliant (hope so) +- require php 8.1+ +- fix php8.1 compliant +- duplicate settings to blog pref +- fix checkbox helpers 2023.05.13 - require dotclear 2.26 diff --git a/_define.php b/_define.php index e2d5131..0aa3c9f 100644 --- a/_define.php +++ b/_define.php @@ -18,7 +18,7 @@ $this->registerModule( 'Feeds server', 'Mix your blog with a feeds planet', 'Jean-Christian Denis, BG, Pierre Van Glabeke', - '2023.06.30.2', + '2023.07.01', [ 'requires' => [ ['php', '8.1'], diff --git a/dcstore.xml b/dcstore.xml index 9e29785..21e06cd 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,10 +2,10 @@ Feeds server - 2023.06.30.2 + 2023.07.01 Jean-Christian Denis, BG, Pierre Van Glabeke Mix your blog with a feeds planet - https://github.com/JcDenis/zoneclearFeedServer/releases/download/v2023.06.30.2/plugin-zoneclearFeedServer.zip + https://github.com/JcDenis/zoneclearFeedServer/releases/download/v2023.07.01/plugin-zoneclearFeedServer.zip 2.26 https://plugins.dotaddict.org/dc2/details/zoneclearFeedServer https://github.com/JcDenis/zoneclearFeedServer diff --git a/src/BackendBehaviors.php b/src/BackendBehaviors.php index 7ce7065..f8dd80e 100644 --- a/src/BackendBehaviors.php +++ b/src/BackendBehaviors.php @@ -112,9 +112,9 @@ class BackendBehaviors echo (new Div())->class('fieldset') ->items([ - !is_null($blog_settings) ? + !is_null($blog_settings) ? (new Text('h4', My::name())) - ->id('disclaimerParam') : + ->id('disclaimerParam') : (new Text()), (new Div()) ->items($msg), @@ -214,16 +214,16 @@ class BackendBehaviors ]), ]), (new Div())->class('clear')->items( - !is_null($blog_settings) && $s->active ? + !is_null($blog_settings) && $s->active ? [(new Para()) ->items([ (new Link()) ->href(dcCore::app()->adminurl?->get('admin.plugin.' . My::id())) - ->text(__('Configure feeds')) + ->text(__('Configure feeds')), ])] : [], ), - (new Div())->class('clear') + (new Div())->class('clear'), ]) ->render(); }