]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Nav.php
Reverted some changes that won't work with PHP7.3
[friendica.git] / src / Content / Nav.php
index 17b6412df29fcde9ba5358bd3a377ceea57c88ce..0000b3d2962f3b35c390d61fb3f0fba195937f41 100644 (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')];