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