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') }}