Commit 8cee1601 authored by dockx thibault's avatar dockx thibault
Browse files

Merge branch '6236-plugins-re-structuration-of-sections-and-related-menu-entries' into '1.4-dev'

Resolve "[Plugins] - Re-structuration of sections and related menu entries"

Closes #6236

See merge request fusiondirectory/fd-plugins!998
Showing with 8 additions and 7 deletions
+8 -7
......@@ -40,7 +40,8 @@ class archiveManagement extends management
'plTitle' => _('Archived objects'),
'plDescription' => _('Browse archived objects'),
'plIcon' => 'geticon.php?context=mimetypes&icon=application-x-archive&size=48',
'plSection' => 'reporting',
'plSection' => ['reporting' => ['name' => _('Reporting'), 'priority' => 40]],
'plPriority' => 4,
'plManages' => ['archivedObject'],
];
}
......
......@@ -42,7 +42,8 @@ class auditManagement extends management
'plTitle' => _('Audit events'),
'plDescription' => _('Browse audit events'),
'plIcon' => 'geticon.php?context=applications&icon=audit&size=48',
'plSection' => ['reporting' => ['name' => _('Reporting'), 'priority' => 60]],
'plSection' => ['reporting' => ['name' => _('Reporting'), 'priority' => 40]],
'plPriority' => 2,
'plManages' => ['auditEvent'],
];
}
......
......@@ -26,7 +26,7 @@ class debugHelp extends simplePlugin
return [
'plShortName' => _('Debug help'),
'plDescription' => _('Debug help tools'),
'plSection' => ['reporting' => ['name' => _('Reporting'), 'priority' => 60]],
'plSection' => ['reporting' => ['name' => _('Reporting'), 'priority' => 40]],
'plPriority' => 1,
'plIcon' => 'geticon.php?context=categories&icon=applications-development&size=48',
'plObjectType' => ['debug' => [
......
......@@ -40,7 +40,7 @@ class inventoryManagement extends management
'plTitle' => _('Inventory objects'),
'plDescription' => _('Browse inventory objects'),
'plIcon' => 'geticon.php?context=applications&icon=fusioninventory&size=48',
'plSection' => ['reporting' => ['name' => _('Reporting'), 'priority' => 60]],
'plSection' => ['reporting' => ['name' => _('Reporting'), 'priority' => 40]],
'plPriority' => 5,
'plManages' => ['inventory'],
];
......
......@@ -29,7 +29,7 @@ class ldapManagerTabs extends simpleTabs_noSpecial
'plDescription' => _('Allows the import or export of the ldap tree'),
'plIcon' => 'geticon.php?context=applications&icon=ldapmanager&size=48',
'plPriority' => 10,
'plSection' => ['export' => ['name' => _('Export / Import'), 'priority' => 70]],
'plSection' => ['export' => ['name' => _('Export / Import'), 'priority' => 50]],
'plCategory' => ['ldapmanager' => ['objectClass' => 'none', 'description' => _('Ldap manager')]],
];
}
......
......@@ -38,9 +38,8 @@ class opsiImport extends systemImport
'mainAttr' => FALSE,
]
],
'plSection' => ['export' => ['name' => _('Export / Import'), 'priority' => 70]],
'plSection' => ['export' => ['name' => _('Export / Import'), 'priority' => 50]],
'plPriority' => 15,
'plProvidedAcls' => parent::generatePlProvidedAcls(static::getAttributesInfo())
];
}
......
Supports Markdown
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