diff --git a/site/plugins/admin/languages/en.yaml b/site/plugins/admin/languages/en.yaml index 5090a4e0..f1705080 100755 --- a/site/plugins/admin/languages/en.yaml +++ b/site/plugins/admin/languages/en.yaml @@ -120,6 +120,10 @@ admin_system_settings_system_entries_error404_content: "Error404 entry content" admin_system_settings_system_entries_error404_template: "Error404 entry template" admin_system_settings_heading: "Settings" admin_system_settings_site: "Site" +admin_system_settings_general: "General" +admin_system_settings_error_404_page: "Error 404 page" +admin_system_settings_debuggig: "Debugging" +admin_system_settings_cache: "Cache" admin_system_settings_site_author_email: "Author email" admin_system_settings_site_author_name: "Author name" admin_system_settings_site_description: "Site description" @@ -206,3 +210,7 @@ admin_fieldsets_error_name_empty_input: "Name has to be an alphanumeric value (f admin_fieldsets_error_title_empty_input: "Title has to be an alphanumeric value (from 1 chars)" admin_templates_error_name_empty_input: "Name has to be an alphanumeric value (from 1 chars)" admin_snippets_error_name_empty_input: "Name has to be an alphanumeric value (from 1 chars)" +admin_system_settings_system_cache_enabled_false: "Off" +admin_system_settings_system_cache_enabled_true: "On" +admin_system_settings_system_errors_enabled_false: "Off" +admin_system_settings_system_errors_enabled_true: "On" diff --git a/site/plugins/admin/languages/ru.yaml b/site/plugins/admin/languages/ru.yaml index 720eb7c4..9a328695 100755 --- a/site/plugins/admin/languages/ru.yaml +++ b/site/plugins/admin/languages/ru.yaml @@ -166,6 +166,10 @@ admin_system: "Система" admin_system_clear_cache: "Очистить кеш" admin_system_settings_heading: "Настройки системы управления" admin_system_settings_site: "Сайт" +admin_system_settings_general: "Основные" +admin_system_settings_error_404_page: "Страница ошибки 404" +admin_system_settings_debuggig: "Дебаггинг" +admin_system_settings_cache: "Кеш" admin_system_settings_site_author_email: "Емейл автора" admin_system_settings_site_author_name: "Имя автора" admin_system_settings_site_description: "Краткое описание сайта" @@ -206,3 +210,7 @@ admin_fieldsets_error_name_empty_input: "Имя должно быть букве admin_fieldsets_error_title_empty_input: "Название должно быть буквенно-цифровым значением (от 1-го символа)" admin_templates_error_name_empty_input: "Имя должно быть буквенно-цифровым значением (от 1-го символа)" admin_snippets_error_name_empty_input: "Название должно быть буквенно-цифровым значением (от 1-го символа)" +admin_system_settings_system_cache_enabled_false: "Выключен" +admin_system_settings_system_cache_enabled_true: "Включен" +admin_system_settings_system_errors_enabled_false: "Выключено" +admin_system_settings_system_errors_enabled_true: "Включено" diff --git a/site/plugins/admin/views/templates/system/settings/list.php b/site/plugins/admin/views/templates/system/settings/list.php index 94104218..15159020 100644 --- a/site/plugins/admin/views/templates/system/settings/list.php +++ b/site/plugins/admin/views/templates/system/settings/list.php @@ -32,6 +32,12 @@ Themes::view('admin/views/partials/content-start')->display();
+ +
+

+
+
+
'systemSettingsSiteTitle']) ?> @@ -39,12 +45,14 @@ Themes::view('admin/views/partials/content-start')->display();
'systemSettingsSiteDescription']) ?> - 'form-control margin-hard-bottom', 'id' => 'systemSettingsSiteDescription']) ?> + 'form-control margin-hard-bottom', 'id' => 'systemSettingsSiteDescription']) ?>
'systemSettingsSiteKeywords']) ?> 'form-control', 'id' => 'systemSettingsSiteKeywords', 'required']) ?>
+
+
'systemSettingsSiteRobots']) ?> 'form-control', 'id' => 'systemSettingsSiteRobots', 'required']) ?> @@ -58,6 +66,13 @@ Themes::view('admin/views/partials/content-start')->display(); 'form-control', 'id' => 'systemSettingsSiteAuthorEmail', 'required']) ?>
+ +
+
+

+
+
+
'systemSettingsSystemTimezone']) ?> @@ -71,6 +86,8 @@ Themes::view('admin/views/partials/content-start')->display(); 'systemSettingsSystemCharset']) ?> 'form-control', 'id' => 'systemSettingsSystemCharset', 'required']) ?>
+
+
'systemSettingsSystemTheme']) ?> 'form-control', 'id' => 'systemSettingsSystemTheme', 'required']) ?> @@ -83,6 +100,15 @@ Themes::view('admin/views/partials/content-start')->display(); 'systemSettingsSystemEntriesMain']) ?> 'form-control', 'id' => 'systemSettingsSystemEntriesMain', 'required']) ?>
+
+ +
+
+

+
+
+ +
'systemSettingsSystemEntriesError404Title']) ?> 'form-control', 'id' => 'systemSettingsSystemEntriesError404Title', 'required']) ?> @@ -91,6 +117,8 @@ Themes::view('admin/views/partials/content-start')->display(); 'systemSettingsSystemEntriesError404Description']) ?> 'form-control', 'id' => 'systemSettingsSystemEntriesError404Description', 'required']) ?>
+
+
'systemSettingsSystemEntriesError404Content']) ?> 'form-control', 'id' => 'systemSettingsSystemEntriesError404Content', 'required']) ?> @@ -99,18 +127,39 @@ Themes::view('admin/views/partials/content-start')->display(); 'systemSettingsSystemEntriesError404Template']) ?> 'form-control', 'id' => 'systemSettingsSystemEntriesError404Template', 'required']) ?>
+
+ +
+
+

+
+
+ +
'systemSettingsSystemErrorsDisplay']) ?> - 'false', 1 => 'true'], $settings['errors']['display'], ['class' => 'form-control', 'id' => 'systemSettingsSystemErrorsDisplay', 'required']) ?> + __('admin_system_settings_system_errors_enabled_false'), 1 => __('admin_system_settings_system_errors_enabled_true')], $settings['errors']['display'], ['class' => 'form-control', 'id' => 'systemSettingsSystemErrorsDisplay', 'required']) ?>
+
+ + +
+
+

+
+
+ +
'systemSettingsSystemCacheEnabled']) ?> - 'false', 1 => 'true'], $settings['cache']['enabled'], ['class' => 'form-control', 'id' => 'systemSettingsSystemCacheEnabled', 'required']) ?> + __('admin_system_settings_system_cache_enabled_false'), 1 => __('admin_system_settings_system_cache_enabled_true')], $settings['cache']['enabled'], ['class' => 'form-control', 'id' => 'systemSettingsSystemCacheEnabled', 'required']) ?>
'systemSettingsSystemCachePrefix']) ?> 'form-control', 'id' => 'systemSettingsSystemCachePrefix', 'required']) ?>
+
+
'systemSettingsSystemCacheDriver']) ?> 'form-control', 'id' => 'systemSettingsSystemCacheDriver', 'required']) ?>