release 1.1.0
This commit is contained in:
parent
476f3215a5
commit
945b9403b6
@ -1,6 +1,9 @@
|
||||
dev
|
||||
- [ ] enhance public template
|
||||
|
||||
1.1.0 - 2022.11.20
|
||||
- fix compatibility with Dotclear 2.24 (required)
|
||||
|
||||
1.0.0 - 2021.11.06
|
||||
- fix javascript (and externalize them)
|
||||
- fix modal
|
||||
|
@ -3,7 +3,7 @@
|
||||
[![Release](https://img.shields.io/github/v/release/JcDenis/cinecturlink2)](https://github.com/JcDenis/cinecturlink2/releases)
|
||||
[![Date](https://img.shields.io/github/release-date/JcDenis/cinecturlink2)](https://github.com/JcDenis/cinecturlink2/releases)
|
||||
[![Issues](https://img.shields.io/github/issues/JcDenis/cinecturlink2)](https://github.com/JcDenis/cinecturlink2/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/cinecturlink2)
|
||||
[![License](https://img.shields.io/github/license/JcDenis/cinecturlink2)](https://github.com/JcDenis/cinecturlink2/blob/master/LICENSE)
|
||||
|
||||
@ -22,7 +22,7 @@ by Tigroux and maintain by brol.
|
||||
|
||||
* admin perms for configuration
|
||||
* contentadmin permissions for management
|
||||
* Dotclear 2.20
|
||||
* Dotclear 2.24
|
||||
* A writable directory on public path to store picture
|
||||
* Note: it also creates dedicated database tables
|
||||
|
||||
|
@ -2,11 +2,11 @@
|
||||
<modules xmlns:da="http://dotaddict.org/da/">
|
||||
<module id="cinecturlink2">
|
||||
<name>Cinecturlink 2</name>
|
||||
<version>1.0.0</version>
|
||||
<version>1.1.0</version>
|
||||
<author>Jean-Christian Denis and Contributors</author>
|
||||
<desc>Widgets and pages about books, musics, films, blogs you are interested in</desc>
|
||||
<file>https://github.com/JcDenis/cinecturlink2/releases/download/v1.0.0/plugin-cinecturlink2.zip</file>
|
||||
<da:dcmin>2.20</da:dcmin>
|
||||
<file>https://github.com/JcDenis/cinecturlink2/releases/download/v1.1.0/plugin-cinecturlink2.zip</file>
|
||||
<da:dcmin>2.24</da:dcmin>
|
||||
<da:details>https://plugins.dotaddict.org/dc2/details/cinecturlink2</da:details>
|
||||
<da:support>https://github.com/JcDenis/cinecturlink2</da:support>
|
||||
</module>
|
||||
|
@ -98,9 +98,11 @@ class cinecturlink2
|
||||
|
||||
if (!empty($params['cat_id'])) {
|
||||
if (is_array($params['cat_id'])) {
|
||||
array_walk($params['cat_id'], function (&$v, $k) { if ($v !== null) {
|
||||
$v = (int) $v;
|
||||
}});
|
||||
array_walk($params['cat_id'], function (&$v, $k) {
|
||||
if ($v !== null) {
|
||||
$v = (int) $v;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
$params['cat_id'] = [(int) $params['cat_id']];
|
||||
}
|
||||
@ -286,9 +288,11 @@ class cinecturlink2
|
||||
|
||||
if (!empty($params['cat_id'])) {
|
||||
if (is_array($params['cat_id'])) {
|
||||
array_walk($params['cat_id'], function (&$v, $k) { if ($v !== null) {
|
||||
$v = (int) $v;
|
||||
}});
|
||||
array_walk($params['cat_id'], function (&$v, $k) {
|
||||
if ($v !== null) {
|
||||
$v = (int) $v;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
$params['cat_id'] = [(int) $params['cat_id']];
|
||||
}
|
||||
@ -297,9 +301,11 @@ class cinecturlink2
|
||||
|
||||
if (isset($params['exclude_cat_id']) && $params['exclude_cat_id'] !== '') {
|
||||
if (is_array($params['exclude_cat_id'])) {
|
||||
array_walk($params['exclude_cat_id'], function (&$v, $k) { if ($v !== null) {
|
||||
$v = (int) $v;
|
||||
}});
|
||||
array_walk($params['exclude_cat_id'], function (&$v, $k) {
|
||||
if ($v !== null) {
|
||||
$v = (int) $v;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
$params['exclude_cat_id'] = [(int) $params['exclude_cat_id']];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user