cosmetics

This commit is contained in:
Jean-Christian Paul Denis 2021-10-28 22:56:33 +02:00
parent bd4cf28109
commit d365d27def
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
4 changed files with 20 additions and 11 deletions

View File

@ -1,5 +1,9 @@
2021.10.23
- add user pref filters for periods list - add user pref filters for periods list
- add user pref columns for periods list
- add period columns to posts list and user pref
- fix auto-link to blog pref - fix auto-link to blog pref
- fix halfday period
2021.09.02 2021.09.02
- update php headers to phpdoc style - update php headers to phpdoc style

View File

@ -43,9 +43,15 @@ to link this post to a period.
You can also add or remove period to multiple posts from posts actions page. You can also add or remove period to multiple posts from posts actions page.
## MORE ## LINKS
* License : GNU GPL v2 * License : [GNU GPL v2](https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html)
* Source & contribution : [GitHub Page](https://github.com/JcDenis/periodical) * Source & contribution : [GitHub Page](https://github.com/JcDenis/periodical)
* Packages & details: [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/periodical) * Packages & details: [Dotaddict Page](https://plugins.dotaddict.org/dc2/details/periodical)
* Discuss & help: [Dotclear Forum](https://forum.dotclear.org/viewtopic.php?id=42289) * Discuss & help: [Dotclear Forum](https://forum.dotclear.org/viewtopic.php?id=42289)
## CONTRIBUTORS
* Jean-Christian Denis
You are welcome to contribute to this code.

View File

@ -19,15 +19,15 @@ $this->registerModule(
'Periodical', 'Periodical',
'Published periodically entries', 'Published periodically entries',
'Jean-Christian Denis and contributors', 'Jean-Christian Denis and contributors',
'2021.09.02.1', '2021.10.23',
[ [
'requires' => [['core', '2.19']], 'requires' => [['core', '2.20']],
'permissions' => 'usage,contentadmin', 'permissions' => 'usage,contentadmin',
'type' => 'plugin', 'type' => 'plugin',
'support' => 'https://github.com/JcDenis/periodical', 'support' => 'https://github.com/JcDenis/periodical',
'details' => 'https://plugins.dotaddict.org/dc2/details/periodical', 'details' => 'https://plugins.dotaddict.org/dc2/details/periodical',
'repository' => 'https://raw.githubusercontent.com/JcDenis/periodical/master/dcstore.xml', 'repository' => 'https://raw.githubusercontent.com/JcDenis/periodical/master/dcstore.xml',
'settings' => [ 'settings' => [
'blog' => '#params.periodical_params' 'blog' => '#params.periodical_params'
] ]
] ]

View File

@ -24,7 +24,6 @@ class adminPeriodicalList extends adminGenericList
{ {
public function periodDisplay($filter, $enclose_block='') public function periodDisplay($filter, $enclose_block='')
{ {
$echo = '';
if ($this->rs->isEmpty()) { if ($this->rs->isEmpty()) {
if ($filter->show()) { if ($filter->show()) {
echo '<p><strong>' . __('No period matches the filter') . '</strong></p>'; echo '<p><strong>' . __('No period matches the filter') . '</strong></p>';