New area "moderation"

- Moved several admin pages to the moderation area
- ACL still is checking for administrator credentials
This commit is contained in:
Hypolite Petovan 2022-11-05 21:01:06 -04:00
parent 4fb7e9b023
commit 18f54f4425
61 changed files with 1707 additions and 1417 deletions

View file

@ -162,6 +162,7 @@ class Nav
$nav = [
'admin' => null,
'moderation' => null,
'apps' => null,
'community' => null,
'home' => null,
@ -298,7 +299,8 @@ class Nav
// Show the link to the admin configuration page if user is admin
if ($a->isSiteAdmin()) {
$nav['admin'] = ['admin/', DI::l10n()->t('Admin'), '', DI::l10n()->t('Site setup and configuration')];
$nav['admin'] = ['admin/', DI::l10n()->t('Admin'), '', DI::l10n()->t('Site setup and configuration')];
$nav['moderation'] = ['moderation/', DI::l10n()->t('Moderation'), '', DI::l10n()->t('Content and user moderation')];
}
$nav['navigation'] = ['navigation/', DI::l10n()->t('Navigation'), '', DI::l10n()->t('Site map')];