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:
@@ -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"');
|
||||
|
||||
Reference in New Issue
Block a user