2021-08-23 23:55:52 +00:00
|
|
|
<?php
|
2021-09-02 18:35:25 +00:00
|
|
|
/**
|
|
|
|
* @brief enhancePostContent, 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
|
|
|
|
*/
|
2021-08-23 23:55:52 +00:00
|
|
|
|
|
|
|
if (!defined('DC_RC_PATH')) {
|
2021-08-24 20:05:23 +00:00
|
|
|
return null;
|
2021-08-23 23:55:52 +00:00
|
|
|
}
|
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',
|
2021-09-04 23:07:25 +00:00
|
|
|
'2021.09.05.1',
|
2021-08-24 20:05:23 +00:00
|
|
|
[
|
2021-09-02 18:35:25 +00:00
|
|
|
'requires' => [['core', '2.19']],
|
2021-08-24 20:05:23 +00:00
|
|
|
'permissions' => 'contentadmin',
|
|
|
|
'type' => 'plugin',
|
|
|
|
'support' => 'https://github.com/JcDenis/enhancePostContent',
|
2021-09-02 18:35:25 +00:00
|
|
|
'details' => 'https://plugins.dotaddict.org/dc2/details/enhancePostContent',
|
2021-09-04 19:53:48 +00:00
|
|
|
'repository' => 'https://raw.githubusercontent.com/JcDenis/enhancePostContent/master/dcstore.xml',
|
|
|
|
'settings' => [
|
|
|
|
'blog' => '#params.epc_params'
|
|
|
|
]
|
2021-08-24 20:05:23 +00:00
|
|
|
]
|
|
|
|
);
|