release 2022.12.23

master
Jean-Christian Paul Denis 2022-12-23 18:23:30 +01:00
parent 7954de4037
commit c602942e41
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
4 changed files with 31 additions and 44 deletions

View File

@ -1,3 +1,7 @@
2022.12.23
- fix permissions
- use anonymous function
2022.11.28
* Use SVG icon
* Update to Dotclear 2.24

View File

@ -21,14 +21,14 @@ if (!dcCore::app()->auth->check(dcCore::app()->auth->makePermissions([dcAuth::PE
dcCore::app()->addBehavior('adminPostsActions', function (dcPostsActions $pa) {
$pa->addAction(
[
__('Comments') => [
__('Mark as opened') => 'commentsopen',
__('Mark as closed') => 'commentsclose',
__('Comments') => [
__('Mark as opened') => 'commentsopen',
__('Mark as closed') => 'commentsclose',
__('Delete all comments') => 'commentsdelete',
],
__('Trackbacks') => [
__('Mark as opened') => 'trackbacksopen',
__('Mark as closed') => 'trackbacksclose',
__('Mark as opened') => 'trackbacksopen',
__('Mark as closed') => 'trackbacksclose',
__('Delete all trackbacks') => 'trackbacksdelete',
],
],

View File

@ -25,8 +25,8 @@ $this->registerModule(
dcAuth::PERMISSION_ADMIN,
]),
'type' => 'plugin',
'support' => 'https://github.com/JcDenis/postslistOptions',
'details' => 'https://plugins.dotaddict.org/dc2/details/postslistOptions',
'repository' => 'https://raw.githubusercontent.com/JcDenis/postslistOptions/master/dcstore.xml',
'support' => 'https://github.com/JcDenis/' . basename(__DIR__),
'details' => 'https://plugins.dotaddict.org/dc2/details/' . basename(__DIR__),
'repository' => 'https://raw.githubusercontent.com/JcDenis/' . basename(__DIR__) . '/master/dcstore.xml',
]
);

View File

@ -1,42 +1,25 @@
<?php
/**
* @brief postslistOptions, a plugin for Dotclear 2
*
* @package Dotclear
* @subpackage Plugin
*
* @author Jean-Christian Denis and Contributors
*
* @copyright Jean-Christian Denis
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
* @copyright Olivier Meunier & Association Dotclear
* @copyright GPL-2.0-only
*/
// Language: Français
// Module: postslistOptions - 0.1
// Date: 2010-09-09 23:05:58
// Translated with dcTranslater - 1.5
#
# DOT NOT MODIFY THIS FILE !
#
#_admin.php:27
#_admin.php:30
$GLOBALS['__l10n']['Mark as opened'] = 'Ouvrir';
#_admin.php:28
#_admin.php:31
$GLOBALS['__l10n']['Mark as closed'] = 'Fermer';
#_admin.php:29
$GLOBALS['__l10n']['Delete all comments'] = 'Supprimer tous les commentaires';
#_admin.php:32
$GLOBALS['__l10n']['Delete all trackbacks'] = 'Supprimer tous les rétroliens';
#_admin.php:38
$GLOBALS['__l10n']['Are you sure you want to delete all comments?'] = 'Êtes-vous sûr de vouloir supprimer tous les commentaires ?';
#_admin.php:39
$GLOBALS['__l10n']['Are you sure you want to delete all trackbacks?'] = 'Êtes-vous sûr de vouloir supprimer tous les rétroliens ?';
#_admin.php:46
$GLOBALS['__l10n']['Confirm action'] = 'Confirmation';
#_admin.php:112
$GLOBALS['__l10n']['You are not allowed to change this entry option'] = 'Vous n\'êtes pas autorisé à changer cette option';
l10n::$locales['Mark as opened'] = 'Ouvrir';
l10n::$locales['Mark as closed'] = 'Fermer';
l10n::$locales['Delete all comments'] = 'Supprimer tous les commentaires';
l10n::$locales['Delete all trackbacks'] = 'Supprimer tous les rétroliens';
l10n::$locales['Comments successfully opened.'] = 'Commentaires ouverts avec succès.';
l10n::$locales['Comments successfully closed.'] = 'Commentaires fermés avec succès.';
l10n::$locales['Delete posts comments'] = 'Supprimer les commentaires des billets';
l10n::$locales['Are you sure you want to delete all comments?'] = 'Êtes-vous sûr de vouloir supprimer tous les commentaires ?';
l10n::$locales['Comments successfully deleted.'] = 'Commentaires supprimés avec succès.';
l10n::$locales['Trackbacks successfully opened.'] = 'Trackbacks ouverts avec succès.';
l10n::$locales['Trackbacks successfully closed.'] = 'Trackbacks fermés avec succès.';
l10n::$locales['Delete posts trackbacks'] = 'Supprimer les trackbacks des billets';
l10n::$locales['Are you sure you want to delete all trackbacks?'] = 'Êtes-vous sûr de vouloir supprimer tous les rétroliens ?';
l10n::$locales['Trackbacks successfully deleted.'] = 'Trackbacks supprimés avec succès.';