mirror of
https://github.com/friendica/friendica
synced 2025-04-27 08:30:10 +00:00
New area "moderation"
- Moved several admin pages to the moderation area - ACL still is checking for administrator credentials
This commit is contained in:
parent
4fb7e9b023
commit
18f54f4425
61 changed files with 1707 additions and 1417 deletions
|
@ -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')];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue