master v1.3.2
Jean-Christian Paul Denis 2023-11-04 10:56:38 +01:00
parent 1cf66e57e7
commit 96c7e87cba
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
5 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,9 @@
CategoriesPage 1.3.2 - 2023.11.04
===========================================================
* Require Dotclear 2.28
* Require PHP 8.1
* Fix host
CategoriesPage 1.3.1 - 2023.10.24
===========================================================
* Require Dotclear 2.28

View File

@ -1,7 +1,7 @@
# README
[![Release](https://img.shields.io/badge/release-1.3.1-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/CategoriesPage/releases)
![Date](https://img.shields.io/badge/date-2023.10.24-c44d58.svg)
[![Release](https://img.shields.io/badge/release-1.3.2-a2cbe9.svg)](https://git.dotclear.watch/JcDenis/CategoriesPage/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/CategoriesPage)
[![License](https://img.shields.io/badge/license-GPL--2.0-ececec.svg)](https://git.dotclear.watch/JcDenis/CategoriesPage/src/branch/master/LICENSE)
@ -32,6 +32,7 @@ default templates are on plugin directory CategoriesPage/default-templates/
* [Packages & details](https://git.dotclear.watch/JcDenis/CategoriesPage/releases) (or on [Dotaddict](https://plugins.dotaddict.org/dc2/details/CategoriesPage))
* [Sources & contributions](https://git.dotclear.watch/JcDenis/CategoriesPage) (or on [GitHub](https://github.com/JcDenis/CategoriesPage))
* [Issues & security](https://git.dotclear.watch/JcDenis/CategoriesPage/issues) (or on [GitHub](https://github.com/JcDenis/CategoriesPage/issues))
* [Discuss & help](https://forum.dotclear.org/viewtopic.php?id=43627)
## CONTRIBUTORS

View File

@ -18,7 +18,7 @@ $this->registerModule(
'Categories Page',
'Add a public page for categories list',
'Pierre Van Glabeke, Bernard Le Roux and Contributors',
'1.3.1',
'1.3.2',
[
'requires' => [['core', '2.28']],
'permissions' => 'My',

View File

@ -2,10 +2,10 @@
<modules xmlns:da="http://dotaddict.org/da/">
<module id="CategoriesPage">
<name>Categories Page</name>
<version>1.3.1</version>
<version>1.3.2</version>
<author>Pierre Van Glabeke, Bernard Le Roux and Contributors</author>
<desc>Add a public page for categories list</desc>
<file>https://git.dotclear.watch/JcDenis/CategoriesPage/releases/download/v1.3.1/plugin-CategoriesPage.zip</file>
<file>https://git.dotclear.watch/JcDenis/CategoriesPage/releases/download/v1.3.2/plugin-CategoriesPage.zip</file>
<da:dcmin>2.28</da:dcmin>
<da:details>https://git.dotclear.watch/JcDenis/CategoriesPage/src/branch/master/README.md</da:details>
<da:support>https://git.dotclear.watch/JcDenis/CategoriesPage/issues</da:support>

View File

@ -7,6 +7,7 @@ namespace Dotclear\Plugin\CategoriesPage;
use ArrayObject;
use Dotclear\App;
use Dotclear\Core\Process;
use Dotclear\Helper\Html\Html;
/**
* @brief CategoriesPage backend class.
@ -37,7 +38,7 @@ class Backend extends Process
if (My::id() == $type) {
$item[0] = My::name();
$item[1] = My::name();
$item[2] = App::url()->getURLFor(My::id());
$item[2] = Html::stripHostURL(App::blog()->url()) . App::url()->getURLFor(My::id());
}
},
'initWidgets' => Widgets::initWidgets(...),