From 27de43205b7da997d094082a533aafbf359afdc6 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Mon, 27 Sep 2021 23:14:00 +0200 Subject: [PATCH] impl. todos or move to Project.md --- Admin/Install/Navigation.install.json | 61 ----------------------- Admin/Routes/Web/Backend.php | 35 ------------- CONTRIBUTING.md | 9 +--- Theme/Backend/Lang/Navigation.en.lang.php | 4 -- 4 files changed, 1 insertion(+), 108 deletions(-) diff --git a/Admin/Install/Navigation.install.json b/Admin/Install/Navigation.install.json index 343f3ac..64d47f4 100755 --- a/Admin/Install/Navigation.install.json +++ b/Admin/Install/Navigation.install.json @@ -32,66 +32,5 @@ }, "parent": 0, "children": [] - }, - { - "id": 1006902001, - "pid": "/", - "type": 2, - "subtype": 0, - "name": "Legal", - "uri": null, - "target": "self", - "icon": "fa fa-gavel", - "order": 999999, - "from": "Home", - "permission": { "permission": 2, "type": null, "element": null }, - "parent": 0, - "children": [ - { - "id": 1006902002, - "pid": "/", - "type": 2, - "subtype": 1, - "name": "PrivacyPolicy", - "uri": "{/prefix}legal/privacy", - "target": "self", - "icon": null, - "order": 1, - "from": "Home", - "permission": { "permission": 2, "type": null, "element": null }, - "parent": 1006902001, - "children": [] - }, - { - "id": 1006902003, - "pid": "/", - "type": 2, - "subtype": 1, - "name": "Terms", - "uri": "{/prefix}legal/terms", - "target": "self", - "icon": null, - "order": 1, - "from": "Home", - "permission": { "permission": 2, "type": null, "element": null }, - "parent": 1006902001, - "children": [] - }, - { - "id": 1006902004, - "pid": "/", - "type": 2, - "subtype": 1, - "name": "Imprint", - "uri": "{/prefix}legal/imprint", - "target": "self", - "icon": null, - "order": 10, - "from": "Home", - "permission": { "permission": 2, "type": null, "element": null }, - "parent": 1006902001, - "children": [] - } - ] } ] diff --git a/Admin/Routes/Web/Backend.php b/Admin/Routes/Web/Backend.php index 23ee66f..156e5bf 100755 --- a/Admin/Routes/Web/Backend.php +++ b/Admin/Routes/Web/Backend.php @@ -17,39 +17,4 @@ use phpOMS\Account\PermissionType; use phpOMS\Router\RouteVerb; return [ - '^.*/legal/privacy.*$' => [ - [ - 'dest' => '\Modules\Home\Controller\BackendController:viewLegalDocuments', - 'verb' => RouteVerb::GET, - 'permission' => [ - 'module' => BackendController::MODULE_NAME, - 'type' => PermissionType::READ, - 'state' => null, - ], - ], - ], - - '^.*/legal/terms.*$' => [ - [ - 'dest' => '\Modules\Home\Controller\BackendController:viewLegalDocuments', - 'verb' => RouteVerb::GET, - 'permission' => [ - 'module' => BackendController::MODULE_NAME, - 'type' => PermissionType::READ, - 'state' => null, - ], - ], - ], - - '^.*/legal/imprint.*$' => [ - [ - 'dest' => '\Modules\Home\Controller\BackendController:viewLegalDocuments', - 'verb' => RouteVerb::GET, - 'permission' => [ - 'module' => BackendController::MODULE_NAME, - 'type' => PermissionType::READ, - 'state' => null, - ], - ], - ], ]; diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b9dc7a5..cab9f5e 100755 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -12,14 +12,7 @@ If you have a good idea for improvement feel free to create a new issue with all ### Issues -Feel free to grab any open issue implement it and create a new pull request. Most issues can be found in the code and have the following structure: - -```php -/** - * @todo Orange-Management/Orange-Management#ISSUE_NUMBER [d:difficulty] - * Description for the issue - */ -``` +Feel free to grab any open issue implement it and create a new pull request. Most issues can be found in the `Project.md` file in the `Docs` repository. The issue information can be used to provide additional information such as priority, difficulty and type. For your first issue try to find a issue marked `[d:first]` or `[d:beginner]`. diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php index a90b9d9..967abcf 100755 --- a/Theme/Backend/Lang/Navigation.en.lang.php +++ b/Theme/Backend/Lang/Navigation.en.lang.php @@ -14,9 +14,5 @@ declare(strict_types=1); return ['Navigation' => [ 'Home' => 'Home', - 'Imprint' => 'Imprint', - 'Legal' => 'Legal', 'Logout' => 'Logout', - 'PrivacyPolicy' => 'Privacy Policy', - 'Terms' => 'Terms of Use', ]];