diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c122eb..977da85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +comListe 0.9.2 - 2023.11.04 +=========================================================== +* Require dotclear 2.28 +* Require PHP 8.1 +* Cosmetic fix + comListe 0.9.1 - 2023.10.24 =========================================================== * Require dotclear 2.28 diff --git a/README.md b/README.md index cb1e2a9..4809baf 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # README -[![Release](https://img.shields.io/badge/release-0.9.1-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/comListe/releases) -![Date](https://img.shields.io/badge/date-2023.10.24-c44d58.svg) +[![Release](https://img.shields.io/badge/release-0.9.2-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/comListe/releases) +![Date](https://img.shields.io/badge/date-2023.11.04-c44d58.svg) [![Dotclear](https://img.shields.io/badge/dotclear-v2.28-137bbb.svg)](https://fr.dotclear.org/download) [![Dotaddict](https://img.shields.io/badge/dotaddict-official-9ac123.svg)](https://plugins.dotaddict.org/dc2/details/comListe) [![License](https://img.shields.io/badge/license-GPL--2.0-ececec.svg)](https://git.dotclear.watch/JcDenis/comListe/src/branch/master/LICENSE) diff --git a/_define.php b/_define.php index 9f3de8d..bf38696 100644 --- a/_define.php +++ b/_define.php @@ -18,7 +18,7 @@ $this->registerModule( 'Comments list', 'Display a list of all comments and trackbacks of a blog in a public page', 'Benoit de Marne, Pierre Van Glabeke and contributors', - '0.9.1', + '0.9.2', [ 'requires' => [['core', '2.28']], 'permissions' => 'My', diff --git a/dcstore.xml b/dcstore.xml index a3898b0..2349e11 100644 --- a/dcstore.xml +++ b/dcstore.xml @@ -2,10 +2,10 @@ Comments list - 0.9.1 + 0.9.2 Benoit de Marne, Pierre Van Glabeke and contributors Display a list of all comments and trackbacks of a blog in a public page - https://git.dotclear.watch/JcDenis/comListe/releases/download/v0.9.1/plugin-comListe.zip + https://git.dotclear.watch/JcDenis/comListe/releases/download/v0.9.2/plugin-comListe.zip 2.28 https://git.dotclear.watch/JcDenis/comListe/src/branch/master/README.md https://git.dotclear.watch/JcDenis/comListe/issues diff --git a/src/FrontendUrl.php b/src/FrontendUrl.php index 8fd6d63..3f03ee6 100644 --- a/src/FrontendUrl.php +++ b/src/FrontendUrl.php @@ -28,7 +28,7 @@ class FrontendUrl extends Url App::frontend()->setPageNumber(self::getPageNumber($args) ?: 1); App::frontend()->context()->__set('nb_comment_per_page', (int) My::settings()->get('nb_comments_per_page')); - $tplset = App::themes()->moduleInfo(App::blog()->settings()->get('system')->get('theme'), 'tplset'); + $tplset = App::themes()->getDefine(App::blog()->settings()->get('system')->get('theme'))->get('tplset'); if (empty($tplset) || !is_dir(implode(DIRECTORY_SEPARATOR, [My::path(), 'default-templates', $tplset]))) { $tplset = App::config()->defaultTplset(); }