release 1.1
This commit is contained in:
parent
90905e5024
commit
39a1c6debf
4 changed files with 16 additions and 12 deletions
|
@ -1,3 +1,7 @@
|
|||
1.1 - 2023.03.26
|
||||
- require dotclear 2.26
|
||||
- use namespace
|
||||
|
||||
1.0 - 2022.12.21
|
||||
- use short settings id
|
||||
- use anonymous functions
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
[![Release](https://img.shields.io/github/v/release/JcDenis/fac)](https://github.com/JcDenis/fac/releases)
|
||||
[![Date](https://img.shields.io/github/release-date/JcDenis/fac)](https://github.com/JcDenis/fac/releases)
|
||||
[![Issues](https://img.shields.io/github/issues/JcDenis/fac)](https://github.com/JcDenis/fac/issues)
|
||||
[![Dotclear](https://img.shields.io/badge/dotclear-v2.24-blue.svg)](https://fr.dotclear.org/download)
|
||||
[![Dotclear](https://img.shields.io/badge/dotclear-v2.26-blue.svg)](https://fr.dotclear.org/download)
|
||||
[![Dotaddict](https://img.shields.io/badge/dotaddict-official-green.svg)](https://plugins.dotaddict.org/dc2/details/fac)
|
||||
[![License](https://img.shields.io/github/license/JcDenis/fac)](https://github.com/JcDenis/fac/blob/master/LICENSE)
|
||||
|
||||
|
@ -22,7 +22,7 @@ to link en extenal feed to the bottom of an entry.
|
|||
* superadmin to configure feeds formats
|
||||
* admin permissions to configure plugin
|
||||
* usage,contentadmin permissions to link feeds
|
||||
* Dotclear 2.24
|
||||
* Dotclear 2.26
|
||||
* A theme that contents behavior publicEntryAfterContent
|
||||
|
||||
## USAGE
|
||||
|
|
14
_define.php
14
_define.php
|
@ -18,18 +18,18 @@ $this->registerModule(
|
|||
'Feed after content',
|
||||
'Add RSS/Atom feeds after entries content',
|
||||
'Jean-Christian Denis and Contributors',
|
||||
'1.0',
|
||||
'1.1',
|
||||
[
|
||||
'requires' => [['core', '2.24']],
|
||||
'requires' => [['core', '2.26']],
|
||||
'permissions' => dcCore::app()->auth->makePermissions([
|
||||
dcAuth::PERMISSION_USAGE,
|
||||
dcAuth::PERMISSION_CONTENT_ADMIN,
|
||||
]),
|
||||
'type' => 'plugin',
|
||||
'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/repository.xml',
|
||||
'settings' => [
|
||||
'type' => 'plugin',
|
||||
'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/repository.xml',
|
||||
'settings' => [
|
||||
'blog' => '#params.fac_params',
|
||||
],
|
||||
]
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
<modules xmlns:da="http://dotaddict.org/da/">
|
||||
<module id="fac">
|
||||
<name>Feed after content</name>
|
||||
<version>1.0</version>
|
||||
<version>1.1</version>
|
||||
<author>Jean-Christian Denis and Contributors</author>
|
||||
<desc>Add RSS/Atom feeds after entries content</desc>
|
||||
<file>https://github.com/JcDenis/fac/releases/download/v1.0/plugin-fac.zip</file>
|
||||
<da:dcmin>2.24</da:dcmin>
|
||||
<file>https://github.com/JcDenis/fac/releases/download/v1.1/plugin-fac.zip</file>
|
||||
<da:dcmin>2.26</da:dcmin>
|
||||
<da:details>https://plugins.dotaddict.org/dc2/details/fac</da:details>
|
||||
<da:support>https://github.com/JcDenis/fac</da:support>
|
||||
</module>
|
||||
|
|
Loading…
Reference in a new issue