From 0cd074781276996f7859cfd106459964893a3750 Mon Sep 17 00:00:00 2001 From: Awilum Date: Wed, 13 Nov 2019 20:50:51 +0300 Subject: [PATCH] feat(admin-panel): add icons for settings tabs sections #293 --- site/plugins/admin/app/Controllers/SettingsController.php | 4 ++-- site/plugins/admin/views/templates/system/settings/index.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/site/plugins/admin/app/Controllers/SettingsController.php b/site/plugins/admin/app/Controllers/SettingsController.php index c43c3931..8c59d055 100644 --- a/site/plugins/admin/app/Controllers/SettingsController.php +++ b/site/plugins/admin/app/Controllers/SettingsController.php @@ -37,8 +37,8 @@ class SettingsController extends Controller } $themes = []; - foreach ($this->registry->get('themes') as $theme) { - $themes[] = $theme['name']; + foreach ($this->registry->get('themes') as $key => $theme) { + $themes[$key] = $theme['name']; } $available_locales = Filesystem::listContents(PATH['plugins'] . '/admin/lang/'); diff --git a/site/plugins/admin/views/templates/system/settings/index.html b/site/plugins/admin/views/templates/system/settings/index.html index 24733ffa..339e8510 100644 --- a/site/plugins/admin/views/templates/system/settings/index.html +++ b/site/plugins/admin/views/templates/system/settings/index.html @@ -362,7 +362,7 @@ @@ -509,7 +509,7 @@ {{ tr('admin_error_404_page') }} {{ tr('admin_twig_templating') }} {{ tr('admin_debugging') }} - {{ tr('admin_slim') }} + {{ tr('admin_system') }} {{ tr('admin_cache') }} {{ tr('admin_slug') }} {{ tr('admin_admin_panel') }}