release 2022.11.20
This commit is contained in:
parent
53ed454fac
commit
cd4073ea8a
@ -1,5 +1,5 @@
|
|||||||
2021.08.27.1
|
2022.11.20
|
||||||
- [ ] ?
|
- fix compatibility with Dotclear 2.24 (required)
|
||||||
|
|
||||||
2021.08.27
|
2021.08.27
|
||||||
- cleanup (PSR2, short array, ...)
|
- cleanup (PSR2, short array, ...)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
[![Release](https://img.shields.io/github/v/release/JcDenis/lastBlogUpdate)](https://github.com/JcDenis/lastBlogUpdate/releases)
|
[![Release](https://img.shields.io/github/v/release/JcDenis/lastBlogUpdate)](https://github.com/JcDenis/lastBlogUpdate/releases)
|
||||||
[![Date](https://img.shields.io/github/release-date/JcDenis/lastBlogUpdate)](https://github.com/JcDenis/lastBlogUpdate/releases)
|
[![Date](https://img.shields.io/github/release-date/JcDenis/lastBlogUpdate)](https://github.com/JcDenis/lastBlogUpdate/releases)
|
||||||
[![Issues](https://img.shields.io/github/issues/JcDenis/lastBlogUpdate)](https://github.com/JcDenis/lastBlogUpdate/issues)
|
[![Issues](https://img.shields.io/github/issues/JcDenis/lastBlogUpdate)](https://github.com/JcDenis/lastBlogUpdate/issues)
|
||||||
[![Dotclear](https://img.shields.io/badge/dotclear-v2.20-dev-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/lastBlogUpdate)
|
[![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/lastBlogUpdate)
|
||||||
[![License](https://img.shields.io/github/license/JcDenis/lastBlogUpdate)](https://github.com/JcDenis/lastBlogUpdate/blob/master/LICENSE)
|
[![License](https://img.shields.io/github/license/JcDenis/lastBlogUpdate)](https://github.com/JcDenis/lastBlogUpdate/blob/master/LICENSE)
|
||||||
|
|
||||||
@ -19,7 +19,7 @@ Simply show visitors last update of posts, comments, etc of your blog.
|
|||||||
**lastBlogUpdate** requires:
|
**lastBlogUpdate** requires:
|
||||||
|
|
||||||
* permissions to manage widgets
|
* permissions to manage widgets
|
||||||
* Dotclear 2.19
|
* Dotclear 2.24
|
||||||
|
|
||||||
## USAGE
|
## USAGE
|
||||||
|
|
||||||
@ -32,7 +32,7 @@ Add and configure **Last blog update** from widgets manager.
|
|||||||
|
|
||||||
* License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html)
|
* License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html)
|
||||||
* Source & contribution : [GitHub Page](https://github.com/JcDenis/lastBlogUpdate)
|
* Source & contribution : [GitHub Page](https://github.com/JcDenis/lastBlogUpdate)
|
||||||
* Packages & details: [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/lastBlogUpdate)
|
* Packages & details : [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/lastBlogUpdate)
|
||||||
* Discuss and help : [Dotclear Forum](ttp://forum.dotclear.org/viewtopic.php?pid=332950#p332950)
|
* Discuss and help : [Dotclear Forum](ttp://forum.dotclear.org/viewtopic.php?pid=332950#p332950)
|
||||||
|
|
||||||
## CONTRIBUTORS
|
## CONTRIBUTORS
|
||||||
|
@ -18,7 +18,7 @@ $this->registerModule(
|
|||||||
'Last blog update',
|
'Last blog update',
|
||||||
'Show the dates of last updates of your blog in a widget',
|
'Show the dates of last updates of your blog in a widget',
|
||||||
'Jean-Christian Denis, Pierre Van Glabeke',
|
'Jean-Christian Denis, Pierre Van Glabeke',
|
||||||
'2022.11.12',
|
'2022.11.20',
|
||||||
[
|
[
|
||||||
'requires' => [['core', '2.24']],
|
'requires' => [['core', '2.24']],
|
||||||
'permissions' => dcCore::app()->auth->makePermissions([
|
'permissions' => dcCore::app()->auth->makePermissions([
|
||||||
|
@ -24,7 +24,7 @@ function lastBlogUpdateWidgetPublic($w)
|
|||||||
|
|
||||||
# Nothing to display
|
# Nothing to display
|
||||||
if ($w->homeonly == 1 && dcCore::app()->url->type != 'default'
|
if ($w->homeonly == 1 && dcCore::app()->url->type != 'default'
|
||||||
|| $w->homeonly == 2 && dcCore::app()->url->type == 'default'
|
|| $w->homeonly == 2 && dcCore::app()->url->type == 'default'
|
||||||
|| !$w->blog_show && !$w->post_show && !$w->comment_show && !$w->media_show
|
|| !$w->blog_show && !$w->post_show && !$w->comment_show && !$w->media_show
|
||||||
|| !$w->blog_text && !$w->post_text && !$w->comment_text && !$w->media_text) {
|
|| !$w->blog_text && !$w->post_text && !$w->comment_text && !$w->media_text) {
|
||||||
return null;
|
return null;
|
||||||
|
21
dcstore.xml
21
dcstore.xml
@ -1,12 +1,13 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
<modules xmlns:da="http://dotaddict.org/da/">
|
<modules xmlns:da="http://dotaddict.org/da/">
|
||||||
<module id="lastBlogUpdate">
|
<module id="lastBlogUpdate">
|
||||||
<name>Last blog update</name>
|
<name>Last blog update</name>
|
||||||
<version>2021.09.17</version>
|
<version>2022.11.20</version>
|
||||||
<author>Jean-Christian Denis, Pierre Van Glabeke</author>
|
<author>Jean-Christian Denis, Pierre Van Glabeke</author>
|
||||||
<desc>Show the dates of last updates of your blog in a widget</desc>
|
<desc>Show the dates of last updates of your blog in a widget</desc>
|
||||||
<file>https://github.com/JcDenis/lastBlogUpdate/releases/download/v2021.09.17/plugin-lastBlogUpdate.zip</file>
|
<file>https://github.com/JcDenis/lastBlogUpdate/releases/download/v2022.11.20/plugin-lastBlogUpdate.zip</file>
|
||||||
<da:dcmin>2.19</da:dcmin>
|
<da:dcmin>2.24</da:dcmin>
|
||||||
<da:details>http://plugins.dotaddict.org/dc2/details/lastBlogUpdate</da:details>
|
<da:details>http://plugins.dotaddict.org/dc2/details/lastBlogUpdate</da:details>
|
||||||
<da:support>http://forum.dotclear.org/viewtopic.php?pid=332950#p332950</da:support>
|
<da:support>http://forum.dotclear.org/viewtopic.php?pid=332950#p332950</da:support>
|
||||||
</module>
|
</module>
|
||||||
</modules>
|
</modules>
|
Loading…
Reference in New Issue
Block a user