Skip to content

Commit 4263865

Browse files
committed
fix repository branch
1 parent 1725d7f commit 4263865

11 files changed

+27
-22
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
moreCSS 2.5.2 - 2023.10.23
2+
===========================================================
3+
* Require Dotclear 2.28
4+
* Require PHP 8.1
5+
* Fix repository branch
6+
17
moreCSS 2.5.1 - 2023.10.13
28
===========================================================
39
* Require Dotclear 2.28

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# README
22

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)
55
[![Dotclear](https://img.shields.io/badge/dotclear-v2.28-137bbb.svg)](https://fr.dotclear.org/download)
66
[![Dotaddict](https://img.shields.io/badge/dotaddict-official-9ac123.svg)](https://plugins.dotaddict.org/dc2/details/moreCSS)
77
[![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
1616

1717
* Dotclear 2.28
1818
* PHP 8.1+
19-
* content admin permissions to manage CSS
19+
* Dotclear content admin permissions to manage CSS
2020

2121
## USAGE
2222

_define.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
'Style sheet',
1818
'Another CSS stylesheet for the active theme',
1919
'Osku and contributors',
20-
'2.5.1',
20+
'2.5.2',
2121
[
2222
'requires' => [['core', '2.28']],
2323
'permissions' => 'My',

dcstore.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<modules xmlns:da="http://dotaddict.org/da/">
33
<module id="moreCSS">
44
<name>Style sheet</name>
5-
<version>2.5.1</version>
5+
<version>2.5.2</version>
66
<author>Osku and contributors</author>
77
<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>
99
<da:dcmin>2.28</da:dcmin>
1010
<da:details>https://git.dotclear.watch/JcDenis/moreCSS/src/branch/master/README.md</da:details>
1111
<da:support>https://git.dotclear.watch/JcDenis/moreCSS/issues</da:support>

src/Backend.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
use Dotclear\Core\Backend\Favorites;
2020

2121
/**
22-
* @brief moreCSS manage class.
23-
* @ingroup moreCSS
22+
* @brief moreCSS manage class.
23+
* @ingroup moreCSS
2424
*
2525
* @author Osku (author)
2626
* @author Jean-Christian Denis (latest)

src/Frontend.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
use Dotclear\Core\Process;
99

1010
/**
11-
* @brief moreCSS frontend class.
12-
* @ingroup moreCSS
11+
* @brief moreCSS frontend class.
12+
* @ingroup moreCSS
1313
*
1414
* @author Osku (author)
1515
* @author Jean-Christian Denis (latest)

src/Install.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
use Exception;
1010

1111
/**
12-
* @brief moreCSS install class.
13-
* @ingroup moreCSS
12+
* @brief moreCSS install class.
13+
* @ingroup moreCSS
1414
*
1515
* @author Osku (author)
1616
* @author Jean-Christian Denis (latest)

src/Manage.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
use Exception;
2424

2525
/**
26-
* @brief moreCSS manage class.
27-
* @ingroup moreCSS
26+
* @brief moreCSS manage class.
27+
* @ingroup moreCSS
2828
*
2929
* @author Osku (author)
3030
* @author Jean-Christian Denis (latest)

src/My.php

+3-4
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
use Dotclear\Module\MyPlugin;
99

1010
/**
11-
* @brief moreCSS My helper.
12-
* @ingroup moreCSS
11+
* @brief moreCSS My helper.
12+
* @ingroup moreCSS
1313
*
1414
* @author Osku (author)
1515
* @author Jean-Christian Denis (latest)
@@ -20,9 +20,8 @@ class My extends MyPlugin
2020
protected static function checkCustomContext(int $context): ?bool
2121
{
2222
return match ($context) {
23-
// Allow BACKEND and MANAGE and MENU to also content admin
23+
// Add content admin perm to backend
2424
self::MANAGE, self::MENU => App::task()->checkContext('BACKEND')
25-
&& App::blog()->isDefined()
2625
&& App::auth()->check(App::auth()->makePermissions([
2726
App::auth()::PERMISSION_ADMIN,
2827
App::auth()::PERMISSION_CONTENT_ADMIN,

src/Prepend.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
use Dotclear\Core\Process;
99

1010
/**
11-
* @brief moreCSS prepend class.
12-
* @ingroup moreCSS
11+
* @brief moreCSS prepend class.
12+
* @ingroup moreCSS
1313
*
1414
* @author Osku (author)
1515
* @author Jean-Christian Denis (latest)

src/Uninstall.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
use Dotclear\Plugin\Uninstaller\Uninstaller;
99

1010
/**
11-
* @brief moreCSS uninstall class.
12-
* @ingroup moreCSS
11+
* @brief moreCSS uninstall class.
12+
* @ingroup moreCSS
1313
*
1414
* @author Osku (author)
1515
* @author Jean-Christian Denis (latest)

0 commit comments

Comments
 (0)