1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-07 12:19:15 +00:00

require version information in all additional themes

This commit is contained in:
Andrew Dolgov
2014-12-09 15:16:53 +03:00
parent 9b46c8e5e7
commit f6cbe9a5a0
5 changed files with 26 additions and 4 deletions

View File

@@ -571,7 +571,8 @@ class Pref_Prefs extends Handler_Protected {
} else if ($pref_name == "USER_CSS_THEME") {
$themes = array_map("basename", glob("themes/*.css"));
$themes = array_filter(array_map("basename", glob("themes/*.css")),
"theme_valid");
print_select($pref_name, $value, $themes,
'dojoType="dijit.form.Select"');