1
0
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:
Awilum
2019-01-09 00:13:38 +03:00
parent 809c0d8a5b
commit a6a62b863e

View File

@@ -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();
}
}