Verified Commit b7bb6cb5 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

🚜 feat(config) Reorder configuration tabs

New priorities:
* Configuration     : 0    -> 0
* Plugins           : 20   -> 2
* POSIX             : 2    -> 4
* Mail              : 3    -> 6
* Samba             : 2    -> 8
* SupAnn            : None -> 10
* SINAPS            : None -> 12
* Password recovery : None -> 14
* User reminder     : None -> 16
* Invitations       : None -> 18
* Systems           : None -> 20
* FAI configuration : None -> 22

Also renamed tabs to be only one word to avoid long tab names

issue #5933
parent ed7e40f8
<?php
/*
This code is part of FusionDirectory (http://www.fusiondirectory.org/)
Copyright (C) 2013-2016 FusionDirectory
Copyright (C) 2013-2019 FusionDirectory
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -23,9 +24,11 @@ class faiConfig extends simplePlugin
static function plInfo (): array
{
return [
'plShortName' => _('FAI configuration'),
'plShortName' => _('FAI'),
'plTitle' => _('FAI configuration'),
'plDescription' => _('FusionDirectory fai plugin configuration'),
'plObjectClass' => ['fdFaiPluginConf'],
'plPriority' => 22,
'plObjectType' => ['configuration'],
'plProvidedAcls' => parent::generatePlProvidedAcls(static::getAttributesInfo())
......
......@@ -28,6 +28,7 @@ class invitationsConfig extends simplePlugin
'plTitle' => _('Invitations configuration'),
'plDescription' => _('FusionDirectory invitations plugin configuration'),
'plObjectClass' => ['fdInvitationsPluginConf'],
'plPriority' => 18,
'plObjectType' => ['configuration'],
'plProvidedAcls' => parent::generatePlProvidedAcls(static::getAttributesInfo())
......
......@@ -25,7 +25,7 @@ class mailPluginConfig extends simplePlugin
return [
'plShortName' => _('Mail'),
'plDescription' => _('Mail plugin configuration'),
'plPriority' => 3,
'plPriority' => 6,
'plObjectClass' => ['fdMailPluginConf'],
'plObjectType' => ['configuration'],
......
......@@ -27,7 +27,7 @@ class posixConfig extends simplePlugin
'plShortName' => _('POSIX'),
'plTitle' => _('POSIX configuration'),
'plDescription' => _('FusionDirectory POSIX plugin configuration'),
'plPriority' => 2,
'plPriority' => 4,
'plObjectType' => ['configuration'],
'plProvidedAcls' => parent::generatePlProvidedAcls(static::getAttributesInfo())
......
......@@ -25,7 +25,7 @@ class sambaPluginConfig extends simplePlugin
return [
'plShortName' => _('Samba'),
'plDescription' => _('Samba plugin configuration'),
'plPriority' => 2,
'plPriority' => 8,
'plObjectClass' => ['fdSambaPluginConf'],
'plObjectType' => ['configuration'],
......
......@@ -28,6 +28,7 @@ class sinapsConfig extends simplePlugin
'plTitle' => _('SINAPS configuration'),
'plDescription' => _('FusionDirectory SINAPS plugin configuration'),
'plObjectClass' => ['fdSinapsPluginConf'],
'plPriority' => 12,
'plObjectType' => ['configuration'],
'plProvidedAcls' => parent::generatePlProvidedAcls(static::getAttributesInfo())
......
......@@ -30,6 +30,7 @@ class supannConfig extends simplePlugin
'plTitle' => _('SupAnn configuration'),
'plDescription' => _('FusionDirectory SupAnn plugin configuration'),
'plObjectClass' => ['fdSupannPluginConf'],
'plPriority' => 10,
'plObjectType' => ['configuration'],
'plProvidedAcls' => parent::generatePlProvidedAcls(static::getAttributesInfo())
......
......@@ -28,6 +28,7 @@ class systemsPluginConfig extends simplePlugin
'plShortName' => _('Systems'),
'plDescription' => _('Systems plugin configuration'),
'plObjectClass' => ['fdSystemsPluginConf'],
'plPriority' => 20,
'plObjectType' => ['configuration'],
'plProvidedAcls' => parent::generatePlProvidedAcls(static::getAttributesInfo())
......
<?php
/*
This code is part of FusionDirectory (http://www.fusiondirectory.org/)
Copyright (C) 2016 FusionDirectory
Copyright (C) 2016-2019 FusionDirectory
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -23,9 +24,11 @@ class userReminderConfig extends simplePlugin
static function plInfo (): array
{
return [
'plShortName' => _('User reminder'),
'plShortName' => _('Reminder'),
'plTitle' => _('User reminder'),
'plDescription' => _('Configuration for the reminder of accounts expiration'),
'plObjectClass' => ['fdUserReminderPluginConf'],
'plPriority' => 16,
'plObjectType' => ['configuration'],
'plProvidedAcls' => parent::generatePlProvidedAcls(static::getAttributesInfo())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment