release 2.0.1

This commit is contained in:
Jean-Christian Denis 2023-04-23 21:19:27 +02:00
parent 1b47c35974
commit 54273f14ef
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951
4 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,9 @@
2.0.1 - 2023.04.23
* require Dotclear 2.26
* use latest dotclear namespace
* remove magic
* fix nullsafe warnings
2.0 - 2023.04.11 2.0 - 2023.04.11
* require Dotclear 2.26 * require Dotclear 2.26
* use namespace * use namespace

View file

@ -18,7 +18,7 @@ $this->registerModule(
'shortArchives', 'shortArchives',
'Display blog archives in an accordion menu, sorted by year', 'Display blog archives in an accordion menu, sorted by year',
'annso, Pierre Van Glabeke and Contributors', 'annso, Pierre Van Glabeke and Contributors',
'2.0', '2.0.1',
[ [
'requires' => [['core', '2.26']], 'requires' => [['core', '2.26']],
'permissions' => dcCore::app()->auth->makePermissions([ 'permissions' => dcCore::app()->auth->makePermissions([

View file

@ -2,10 +2,10 @@
<modules xmlns:da="http://dotaddict.org/da/"> <modules xmlns:da="http://dotaddict.org/da/">
<module id="shortArchives"> <module id="shortArchives">
<name>shortArchives</name> <name>shortArchives</name>
<version>2.0</version> <version>2.0.1</version>
<author>annso, Pierre Van Glabeke and Contributors</author> <author>annso, Pierre Van Glabeke and Contributors</author>
<desc>Display blog archives in an accordion menu, sorted by year</desc> <desc>Display blog archives in an accordion menu, sorted by year</desc>
<file>https://github.com/JcDenis/shortArchives/releases/download/v2.0/plugin-shortArchives.zip</file> <file>https://github.com/JcDenis/shortArchives/releases/download/v2.0.1/plugin-shortArchives.zip</file>
<da:dcmin>2.26</da:dcmin> <da:dcmin>2.26</da:dcmin>
<da:details>http://plugins.dotaddict.org/dc2/details/shortArchives</da:details> <da:details>http://plugins.dotaddict.org/dc2/details/shortArchives</da:details>
<da:support>http://forum.dotclear.org/viewtopic.php?pid=321044#p321044</da:support> <da:support>http://forum.dotclear.org/viewtopic.php?pid=321044#p321044</da:support>

View file

@ -34,7 +34,7 @@ class Frontend extends dcNsProcess
} }
dcCore::app()->addBehaviors([ dcCore::app()->addBehaviors([
'initWidgets' => [Widgets::class, 'initWidgets'], 'initWidgets' => [Widgets::class, 'initWidgets'],
'publicHeadContent' => function (): void { 'publicHeadContent' => function (): void {
echo echo
dcUtils::jsModuleLoad(My::id() . '/js/accordion.js') . dcUtils::jsModuleLoad(My::id() . '/js/accordion.js') .