mirror of
https://github.com/flextype/flextype.git
synced 2025-08-11 07:34:22 +02:00
Admin Panel: Settings Manager - Select dropdown for themes - added.
This commit is contained in:
@@ -74,11 +74,17 @@ class SettingsManager
|
||||
$entries[$entry['slug']] = $entry['title'];
|
||||
}
|
||||
|
||||
$themes = [];
|
||||
|
||||
foreach (Filesystem::getDirList(PATH['themes']) as $theme) {
|
||||
$themes[$theme] = $theme;
|
||||
}
|
||||
|
||||
Themes::view('admin/views/templates/system/settings/list')
|
||||
->assign('settings', Registry::get('settings'))
|
||||
->assign('locales', $locales)
|
||||
->assign('entries', $entries)
|
||||
->assign('themes', Filesystem::getDirList(PATH['themes']))
|
||||
->assign('themes', $themes)
|
||||
->display();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user