diff --git a/app/Controller/AppController.php b/app/Controller/AppController.php index 7baec62e..27dcc667 100755 --- a/app/Controller/AppController.php +++ b/app/Controller/AppController.php @@ -326,11 +326,6 @@ public function __initAdminNavbar() 'GLOBAL__CUSTOMIZE' => [ 'icon' => 'fas fa-copy', 'menu' => [ - 'NEWS__TITLE' => [ - 'icon' => 'fas fa-pencil-ruler', - 'permission' => 'MANAGE_NEWS', - 'route' => ['controller' => 'news', 'action' => 'index', 'admin' => true, 'plugin' => false] - ], 'PAGE__TITLE' => [ 'icon' => 'fas fa-file-alt', 'permission' => 'MANAGE_PAGE', @@ -341,6 +336,21 @@ public function __initAdminNavbar() 'permission' => 'MANAGE_NAV', 'route' => ['controller' => 'navbar', 'action' => 'index', 'admin' => true, 'plugin' => false] ], + 'MOTD__TITLE' => [ + 'icon' => 'fas fa-sort-amount-up-alt', + 'permission' => 'MANAGE_MOTD', + 'route' => ['controller' => 'motd', 'action' => 'index', 'admin' => true, 'plugin' => false] + ] + ] + ], + 'GLOBAL__COMMUNICATION' => [ + 'icon' => 'fas fa-bullhorn', + 'menu' => [ + 'NEWS__TITLE' => [ + 'icon' => 'fas fa-pencil-ruler', + 'permission' => 'MANAGE_NEWS', + 'route' => ['controller' => 'news', 'action' => 'index', 'admin' => true, 'plugin' => false] + ], 'SEO__TITLE' => [ 'icon' => 'fab fa-google', 'permission' => 'MANAGE_SEO', @@ -351,10 +361,10 @@ public function __initAdminNavbar() 'permission' => 'MANAGE_SOCIAL', 'route' => ['controller' => 'social', 'action' => 'index', 'admin' => true, 'plugin' => false] ], - 'MOTD__TITLE' => [ - 'icon' => 'fas fa-sort-amount-up-alt', - 'permission' => 'MANAGE_MOTD', - 'route' => ['controller' => 'motd', 'action' => 'index', 'admin' => true, 'plugin' => false] + 'NOTIFICATION__TITLE' => [ + 'icon' => 'flag', + 'permission' => 'MANAGE_NOTIFICATIONS', + 'route' => ['controller' => 'notifications', 'action' => 'index', 'admin' => true, 'plugin' => false] ] ] ], @@ -425,11 +435,6 @@ public function __initAdminNavbar() 'permission' => 'MANAGE_API', 'route' => ['controller' => 'API', 'action' => 'index', 'admin' => true, 'plugin' => false] ], - 'NOTIFICATION__TITLE' => [ - 'icon' => 'flag', - 'permission' => 'MANAGE_NOTIFICATIONS', - 'route' => ['controller' => 'notifications', 'action' => 'index', 'admin' => true, 'plugin' => false] - ], 'HISTORY__VIEW_GLOBAL' => [ 'icon' => 'table', 'permission' => 'VIEW_WEBSITE_HISTORY', diff --git a/lang/en_UK.json b/lang/en_UK.json index c8a00cde..11ba1f3a 100755 --- a/lang/en_UK.json +++ b/lang/en_UK.json @@ -20,6 +20,7 @@ "GLOBAL__CLOSE": "Close", "GLOBAL__UPDATE_LOOK": "See the update", "GLOBAL__CUSTOMIZE": "Customisation", + "GLOBAL__COMMUNICATION": "Communication", "GLOBAL__SUCCESS": "Success", "GLOBAL__INFO": "Information", "GLOBAL__WARNING": "Warning", diff --git a/lang/en_US.json b/lang/en_US.json index 165af197..af34329f 100755 --- a/lang/en_US.json +++ b/lang/en_US.json @@ -20,6 +20,7 @@ "GLOBAL__CLOSE": "Close", "GLOBAL__UPDATE_LOOK": "See the update", "GLOBAL__CUSTOMIZE": "Customization", + "GLOBAL__COMMUNICATION": "Communication", "GLOBAL__SUCCESS": "Success", "GLOBAL__INFO": "Information", "GLOBAL__WARNING": "Warning", diff --git a/lang/fr_FR.json b/lang/fr_FR.json index ac255d46..2dc76af1 100755 --- a/lang/fr_FR.json +++ b/lang/fr_FR.json @@ -18,6 +18,7 @@ "GLOBAL__CLOSE": "Fermer", "GLOBAL__UPDATE_LOOK": "Voir la mise à jour", "GLOBAL__CUSTOMIZE": "Personnalisation", + "GLOBAL__COMMUNICATION": "Communication", "GLOBAL__SUCCESS":"Succès", "GLOBAL__INFO":"Information", "GLOBAL__WARNING":"Attention", diff --git a/lang/ru_RU.json b/lang/ru_RU.json index af96e97e..13b0b4e3 100644 --- a/lang/ru_RU.json +++ b/lang/ru_RU.json @@ -20,6 +20,7 @@ "GLOBAL__CLOSE": "Закрыть", "GLOBAL__UPDATE_LOOK": "Смотрите обновление", "GLOBAL__CUSTOMIZE": "Настройка", + "GLOBAL__COMMUNICATION": "Коммуникация", "GLOBAL__SUCCESS": "Успех", "GLOBAL__INFO": "Информация", "GLOBAL__WARNING": "Предупреждение",