release 2022.11.20
parent
16684555a0
commit
bbda2b142f
|
@ -1,5 +1,5 @@
|
|||
dev
|
||||
- ...
|
||||
2022.11.20
|
||||
- fix compatibility with Dotclear 2.24 (required)
|
||||
|
||||
2021.11.06
|
||||
- fix error on empty record on widget
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
[![Release](https://img.shields.io/github/v/release/JcDenis/postWidgetText)](https://github.com/JcDenis/postWidgetText/releases)
|
||||
[![Date](https://img.shields.io/github/release-date/JcDenis/postWidgetText)](https://github.com/JcDenis/postWidgetText/releases)
|
||||
[![Issues](https://img.shields.io/github/issues/JcDenis/postWidgetText)](https://github.com/JcDenis/postWidgetText/issues)
|
||||
[![Dotclear](https://img.shields.io/badge/dotclear-v2.20-blue.svg)](https://fr.dotclear.org/download)
|
||||
[![Dotclear](https://img.shields.io/badge/dotclear-v2.24-blue.svg)](https://fr.dotclear.org/download)
|
||||
[![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/postWidgetText)
|
||||
[![License](https://img.shields.io/github/license/JcDenis/postWidgetText)](https://github.com/JcDenis/postWidgetText/blob/master/LICENSE)
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ $this->registerModule(
|
|||
'Post widget text',
|
||||
'Add a widget with a text related to an entry',
|
||||
'Jean-Christian Denis and Contributors',
|
||||
'2022.11.12',
|
||||
'2022.11.20',
|
||||
[
|
||||
'requires' => [['core', '2.24']],
|
||||
'permissions' => dcCore::app()->auth->makePermissions([
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
<modules xmlns:da="http://dotaddict.org/da/">
|
||||
<module id="postWidgetText">
|
||||
<name>Post widget text</name>
|
||||
<version>2021.11.06</version>
|
||||
<version>2022.11.20</version>
|
||||
<author>Jean-Christian Denis and Contributors</author>
|
||||
<desc>Add a widget with a text related to an entry</desc>
|
||||
<file>https://github.com/JcDenis/postWidgetText/releases/download/v2021.11.06/plugin-postWidgetText.zip</file>
|
||||
<da:dcmin>2.20</da:dcmin>
|
||||
<file>https://github.com/JcDenis/postWidgetText/releases/download/v2022.11.20/plugin-postWidgetText.zip</file>
|
||||
<da:dcmin>2.24</da:dcmin>
|
||||
<da:details>https://plugins.dotaddict.org/dc2/details/postWidgetText</da:details>
|
||||
<da:support>https://github.com/JcDenis/postWidgetText</da:support>
|
||||
</module>
|
||||
|
|
|
@ -72,7 +72,10 @@ class adminPostWidgetText
|
|||
'url' => dcCore::app()->adminurl->get('admin.plugin.postWidgetText'),
|
||||
'small-icon' => dcPage::getPF('postWidgetText/icon.png'),
|
||||
'large-icon' => dcPage::getPF('postWidgetText/icon-big.png'),
|
||||
'permissions' => dcCore::app()->auth->check('usage,contentadmin', dcCore::app()->blog->id),
|
||||
'permissions' => dcCore::app()->auth->check(dcCore::app()->auth->makePermissions([
|
||||
dcAuth::PERMISSION_USAGE,
|
||||
dcAuth::PERMISSION_CONTENT_ADMIN,
|
||||
]), dcCore::app()->blog->id),
|
||||
'active_cb' => ['adminPostWidgetText', 'adminDashboardFavoritesActive'],
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue