Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 19 additions & 14 deletions app/Controller/AppController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand All @@ -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]
]
]
],
Expand Down Expand Up @@ -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',
Expand Down
1 change: 1 addition & 0 deletions lang/en_UK.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions lang/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions lang/fr_FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions lang/ru_RU.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"GLOBAL__CLOSE": "Закрыть",
"GLOBAL__UPDATE_LOOK": "Смотрите обновление",
"GLOBAL__CUSTOMIZE": "Настройка",
"GLOBAL__COMMUNICATION": "Коммуникация",
"GLOBAL__SUCCESS": "Успех",
"GLOBAL__INFO": "Информация",
"GLOBAL__WARNING": "Предупреждение",
Expand Down