File tree 11 files changed +27
-22
lines changed
11 files changed +27
-22
lines changed Original file line number Diff line number Diff line change
1
+ moreCSS 2.5.2 - 2023.10.23
2
+ ===========================================================
3
+ * Require Dotclear 2.28
4
+ * Require PHP 8.1
5
+ * Fix repository branch
6
+
1
7
moreCSS 2.5.1 - 2023.10.13
2
8
===========================================================
3
9
* Require Dotclear 2.28
Original file line number Diff line number Diff line change 1
1
# README
2
2
3
- [ ![ Release] ( https://img.shields.io/badge/release-2.5.1 -a2cbe9.svg )] ( https://git.dotclear.watch/JcDenis/moreCSS/releases )
4
- ![ Date] ( https://img.shields.io/badge/date-2023.10.13 -c44d58.svg )
3
+ [ ![ Release] ( https://img.shields.io/badge/release-2.5.2 -a2cbe9.svg )] ( https://git.dotclear.watch/JcDenis/moreCSS/releases )
4
+ ![ Date] ( https://img.shields.io/badge/date-2023.10.23 -c44d58.svg )
5
5
[ ![ Dotclear] ( https://img.shields.io/badge/dotclear-v2.28-137bbb.svg )] ( https://fr.dotclear.org/download )
6
6
[ ![ Dotaddict] ( https://img.shields.io/badge/dotaddict-official-9ac123.svg )] ( https://plugins.dotaddict.org/dc2/details/moreCSS )
7
7
[ ![ License] ( https://img.shields.io/github/license/JcDenis/moreCSS )] ( https://git.dotclear.watch/JcDenis/moreCSS/blob/master/LICENSE )
@@ -16,7 +16,7 @@ _moreCSS_ is a plugin for the open-source web publishing software called [Dotcle
16
16
17
17
* Dotclear 2.28
18
18
* PHP 8.1+
19
- * content admin permissions to manage CSS
19
+ * Dotclear content admin permissions to manage CSS
20
20
21
21
## USAGE
22
22
Original file line number Diff line number Diff line change 17
17
'Style sheet ' ,
18
18
'Another CSS stylesheet for the active theme ' ,
19
19
'Osku and contributors ' ,
20
- '2.5.1 ' ,
20
+ '2.5.2 ' ,
21
21
[
22
22
'requires ' => [['core ' , '2.28 ' ]],
23
23
'permissions ' => 'My ' ,
Original file line number Diff line number Diff line change 2
2
<modules xmlns : da =" http://dotaddict.org/da/" >
3
3
<module id =" moreCSS" >
4
4
<name >Style sheet</name >
5
- <version >2.5.1 </version >
5
+ <version >2.5.2 </version >
6
6
<author >Osku and contributors</author >
7
7
<desc >Another CSS stylesheet for the active theme</desc >
8
- <file >https://git.dotclear.watch/JcDenis/moreCSS/releases/download/v2.5.1 /plugin-moreCSS.zip</file >
8
+ <file >https://git.dotclear.watch/JcDenis/moreCSS/releases/download/v2.5.2 /plugin-moreCSS.zip</file >
9
9
<da : dcmin >2.28</da : dcmin >
10
10
<da : details >https://git.dotclear.watch/JcDenis/moreCSS/src/branch/master/README.md</da : details >
11
11
<da : support >https://git.dotclear.watch/JcDenis/moreCSS/issues</da : support >
Original file line number Diff line number Diff line change 19
19
use Dotclear \Core \Backend \Favorites ;
20
20
21
21
/**
22
- * @brief moreCSS manage class.
23
- * @ingroup moreCSS
22
+ * @brief moreCSS manage class.
23
+ * @ingroup moreCSS
24
24
*
25
25
* @author Osku (author)
26
26
* @author Jean-Christian Denis (latest)
Original file line number Diff line number Diff line change 8
8
use Dotclear \Core \Process ;
9
9
10
10
/**
11
- * @brief moreCSS frontend class.
12
- * @ingroup moreCSS
11
+ * @brief moreCSS frontend class.
12
+ * @ingroup moreCSS
13
13
*
14
14
* @author Osku (author)
15
15
* @author Jean-Christian Denis (latest)
Original file line number Diff line number Diff line change 9
9
use Exception ;
10
10
11
11
/**
12
- * @brief moreCSS install class.
13
- * @ingroup moreCSS
12
+ * @brief moreCSS install class.
13
+ * @ingroup moreCSS
14
14
*
15
15
* @author Osku (author)
16
16
* @author Jean-Christian Denis (latest)
Original file line number Diff line number Diff line change 23
23
use Exception ;
24
24
25
25
/**
26
- * @brief moreCSS manage class.
27
- * @ingroup moreCSS
26
+ * @brief moreCSS manage class.
27
+ * @ingroup moreCSS
28
28
*
29
29
* @author Osku (author)
30
30
* @author Jean-Christian Denis (latest)
Original file line number Diff line number Diff line change 8
8
use Dotclear \Module \MyPlugin ;
9
9
10
10
/**
11
- * @brief moreCSS My helper.
12
- * @ingroup moreCSS
11
+ * @brief moreCSS My helper.
12
+ * @ingroup moreCSS
13
13
*
14
14
* @author Osku (author)
15
15
* @author Jean-Christian Denis (latest)
@@ -20,9 +20,8 @@ class My extends MyPlugin
20
20
protected static function checkCustomContext (int $ context ): ?bool
21
21
{
22
22
return match ($ context ) {
23
- // Allow BACKEND and MANAGE and MENU to also content admin
23
+ // Add content admin perm to backend
24
24
self ::MANAGE , self ::MENU => App::task ()->checkContext ('BACKEND ' )
25
- && App::blog ()->isDefined ()
26
25
&& App::auth ()->check (App::auth ()->makePermissions ([
27
26
App::auth ()::PERMISSION_ADMIN ,
28
27
App::auth ()::PERMISSION_CONTENT_ADMIN ,
Original file line number Diff line number Diff line change 8
8
use Dotclear \Core \Process ;
9
9
10
10
/**
11
- * @brief moreCSS prepend class.
12
- * @ingroup moreCSS
11
+ * @brief moreCSS prepend class.
12
+ * @ingroup moreCSS
13
13
*
14
14
* @author Osku (author)
15
15
* @author Jean-Christian Denis (latest)
Original file line number Diff line number Diff line change 8
8
use Dotclear \Plugin \Uninstaller \Uninstaller ;
9
9
10
10
/**
11
- * @brief moreCSS uninstall class.
12
- * @ingroup moreCSS
11
+ * @brief moreCSS uninstall class.
12
+ * @ingroup moreCSS
13
13
*
14
14
* @author Osku (author)
15
15
* @author Jean-Christian Denis (latest)
You can’t perform that action at this time.
0 commit comments