mirror of
https://github.com/flextype/flextype.git
synced 2025-08-12 16:14:16 +02:00
Admin Panel: Settings Manager - Select dropdown for themes - added.
This commit is contained in:
@@ -78,6 +78,7 @@ class SettingsManager
|
||||
->assign('settings', Registry::get('settings'))
|
||||
->assign('locales', $locales)
|
||||
->assign('entries', $entries)
|
||||
->assign('themes', Filesystem::getDirList(PATH['themes']))
|
||||
->display();
|
||||
}
|
||||
}
|
||||
|
@@ -90,7 +90,7 @@ Themes::view('admin/views/partials/content-start')->display();
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<?= Form::label('theme', __('admin_system_settings_system_theme'), ['for' => 'systemSettingsSystemTheme']) ?>
|
||||
<?= Form::input('theme', $settings['theme'], ['class' => 'form-control', 'id' => 'systemSettingsSystemTheme', 'required']) ?>
|
||||
<?= Form::select('theme', $themes, $settings['theme'], ['class' => 'form-control', 'id' => 'systemSettingsSystemTheme', 'required']) ?>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<?= Form::label('locale', __('admin_system_settings_system_locale'), ['for' => 'systemSettingsSystemLocale']) ?>
|
||||
|
Reference in New Issue
Block a user