From 9ef89a367b1ae8e1d6e0014c12ef7f2faf4c3c66 Mon Sep 17 00:00:00 2001 From: Thibault Dockx <thibault.dockx@fusiondirectory.org> Date: Thu, 27 Jun 2024 15:52:29 +0100 Subject: [PATCH] :sparkles: (CORE) - Change all section numbering --- plugins/configuration/core/class_configInLdap.inc | 2 +- plugins/dashboard/pluginmanager/class_pluginsManager.inc | 4 ++-- plugins/dashboard/tasks/class_tasksDashboard.inc | 4 ++-- plugins/management/acl/class_aclManagement.inc | 2 +- plugins/management/aclrole/class_aclRoleManagement.inc | 4 ++-- .../management/mailtemplate/class_mailTemplateManagement.inc | 4 ++-- plugins/management/tasks/class_tasksManagement.inc | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/plugins/configuration/core/class_configInLdap.inc b/plugins/configuration/core/class_configInLdap.inc index 8cf0034b4..e7836b8ad 100644 --- a/plugins/configuration/core/class_configInLdap.inc +++ b/plugins/configuration/core/class_configInLdap.inc @@ -39,7 +39,7 @@ class configInLdap extends simplePlugin 'ou' => preg_replace('/^[^,]+,/', '', CONFIGRDN) ] ], - 'plSection' => ['conf' => ['name' => _('Configuration'), 'priority' => 20]], + 'plSection' => ['conf' => ['name' => _('Configuration'), 'priority' => 7]], 'plManages' => ['configuration'], 'plPriority' => 0, diff --git a/plugins/dashboard/pluginmanager/class_pluginsManager.inc b/plugins/dashboard/pluginmanager/class_pluginsManager.inc index c107f7017..398918c49 100644 --- a/plugins/dashboard/pluginmanager/class_pluginsManager.inc +++ b/plugins/dashboard/pluginmanager/class_pluginsManager.inc @@ -32,8 +32,8 @@ class pluginsManager extends simplePlugin ], 'plTitle' => _('Plugins Manager'), 'plIcon' => 'geticon.php?context=applications&icon=pluginManager&size=48', - 'plSection' => ['Dashboard' => ['name' => _('Dashboard'), 'priority' => 30]], - 'plPriority' => 10, + 'plSection' => 'Dashboard', + 'plPriority' => 1, 'plDescription' => _('Provide a reporting mechanism of installed plugins'), 'plProvidedAcls' => [ 'pluginManager' => _('See pluginManager') diff --git a/plugins/dashboard/tasks/class_tasksDashboard.inc b/plugins/dashboard/tasks/class_tasksDashboard.inc index 05405973f..66b0e2080 100644 --- a/plugins/dashboard/tasks/class_tasksDashboard.inc +++ b/plugins/dashboard/tasks/class_tasksDashboard.inc @@ -51,8 +51,8 @@ class tasksDashboard extends management 'plDescription' => _('Provide a reporting mechanism for tasks'), 'plTitle' => _('Tasks Dashboard'), 'plIcon' => 'geticon.php?context=applications&icon=tasks-dashboard&size=48', - 'plSection' => ['Dashboard' => ['name' => _('Dashboard'), 'priority' => 30]], - 'plPriority' => 10, + 'plSection' => ['Dashboard' => ['name' => _('Dashboard'), 'priority' => 4]], + 'plPriority' => 0, 'plManages' => ['tasksGranular'], 'plProvidedAcls' => [], ]; diff --git a/plugins/management/acl/class_aclManagement.inc b/plugins/management/acl/class_aclManagement.inc index 7074c9220..857fa2c3f 100644 --- a/plugins/management/acl/class_aclManagement.inc +++ b/plugins/management/acl/class_aclManagement.inc @@ -148,7 +148,7 @@ class aclManagement extends management 'plDescription' => _('Manage ACL roles assignments to users'), 'plIcon' => 'geticon.php?context=categories&icon=acl&size=48', 'plSection' => 'accessControl', - 'plPriority' => 2, + 'plPriority' => 1, 'plManages' => ['aclAssignment'], 'plProvidedAcls' => [] diff --git a/plugins/management/aclrole/class_aclRoleManagement.inc b/plugins/management/aclrole/class_aclRoleManagement.inc index 8188360fd..39ca1bcfd 100644 --- a/plugins/management/aclrole/class_aclRoleManagement.inc +++ b/plugins/management/aclrole/class_aclRoleManagement.inc @@ -27,8 +27,8 @@ class aclRoleManagement extends management 'plTitle' => _('ACL roles management'), 'plDescription' => _('Manage ACL roles'), 'plIcon' => 'geticon.php?context=categories&icon=acl&size=48', - 'plSection' => ['accessControl' => ['name' => _('Access Control'), 'priority' => 11]], - 'plPriority' => 1, + 'plSection' => ['accessControl' => ['name' => _('Access Control'), 'priority' => 1]], + 'plPriority' => 0, 'plCategory' => ['acl'], 'plManages' => ['aclRole'], diff --git a/plugins/management/mailtemplate/class_mailTemplateManagement.inc b/plugins/management/mailtemplate/class_mailTemplateManagement.inc index cb509a2ca..4f273dbe5 100644 --- a/plugins/management/mailtemplate/class_mailTemplateManagement.inc +++ b/plugins/management/mailtemplate/class_mailTemplateManagement.inc @@ -36,8 +36,8 @@ class mailTemplateManagement extends management 'plDescription' => _('Manages mails templates'), 'plIcon' => 'geticon.php?context=applications&icon=mail-template&size=48', 'plManages' => ['mailTemplate'], - 'plSection' => ['workflow' => ['name' => _('Workflow'), 'priority' => 29]], - 'plPriority' => 1, + 'plSection' => ['workflow' => ['name' => _('Workflow'), 'priority' => 2]], + 'plPriority' => 0, 'plProvidedAcls' => [], ]; } diff --git a/plugins/management/tasks/class_tasksManagement.inc b/plugins/management/tasks/class_tasksManagement.inc index 360bdc03d..c8fb6eab7 100644 --- a/plugins/management/tasks/class_tasksManagement.inc +++ b/plugins/management/tasks/class_tasksManagement.inc @@ -44,7 +44,7 @@ class tasksManagement extends management 'plTitle' => _('Tasks'), 'plIcon' => 'geticon.php?context=applications&icon=tasks&size=48', 'plSection' => 'workflow', - 'plPriority' => 2, + 'plPriority' => 1, 'plManages' => ['tasks'], 'plProvidedAcls' => [], ]; -- GitLab