2021-08-23 23:55:52 +00:00
|
|
|
<?php
|
2021-09-02 18:35:25 +00:00
|
|
|
/**
|
|
|
|
* @brief enhancePostContent, a plugin for Dotclear 2
|
2021-11-01 09:33:43 +00:00
|
|
|
*
|
2021-09-02 18:35:25 +00:00
|
|
|
* @package Dotclear
|
|
|
|
* @subpackage Plugin
|
2021-11-01 09:33:43 +00:00
|
|
|
*
|
2021-09-02 18:35:25 +00:00
|
|
|
* @author Jean-Christian Denis and Contributors
|
2021-11-01 09:33:43 +00:00
|
|
|
*
|
2021-09-02 18:35:25 +00:00
|
|
|
* @copyright Jean-Christian Denis
|
|
|
|
* @copyright GPL-2.0 https://www.gnu.org/licenses/gpl-2.0.html
|
|
|
|
*/
|
2023-10-07 22:35:35 +00:00
|
|
|
|
|
|
|
use Dotclear\App;
|
2021-08-24 20:05:23 +00:00
|
|
|
|
2021-08-23 23:55:52 +00:00
|
|
|
$this->registerModule(
|
2021-08-24 20:05:23 +00:00
|
|
|
'Enhance post content',
|
|
|
|
'Add features to words in post content',
|
|
|
|
'Jean-Christian Denis and Contributors',
|
2023-08-14 22:17:33 +00:00
|
|
|
'2023.08.14',
|
2021-08-24 20:05:23 +00:00
|
|
|
[
|
2023-05-13 08:46:55 +00:00
|
|
|
'requires' => [
|
2023-05-10 09:20:09 +00:00
|
|
|
['php', '8.1'],
|
2023-10-07 22:35:35 +00:00
|
|
|
['core', '2.28'],
|
2023-05-10 09:20:09 +00:00
|
|
|
],
|
2023-10-07 22:35:35 +00:00
|
|
|
'permissions' => App::auth()->makePermissions([
|
|
|
|
App::auth()::PERMISSION_CONTENT_ADMIN,
|
2022-11-30 23:40:16 +00:00
|
|
|
]),
|
2023-08-14 22:17:33 +00:00
|
|
|
'settings' => [
|
2022-11-13 20:30:48 +00:00
|
|
|
'blog' => '#params.epc_params',
|
|
|
|
],
|
2023-08-14 22:17:33 +00:00
|
|
|
'type' => 'plugin',
|
|
|
|
'support' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/issues',
|
|
|
|
'details' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/src/branch/master/README.md',
|
|
|
|
'repository' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/raw/branch/master/dcstore.xml',
|
2021-08-24 20:05:23 +00:00
|
|
|
]
|
2021-11-01 09:33:43 +00:00
|
|
|
);
|