mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 11:55:56 +00:00
night.css: do not import default less theme statically
remove themes/default.php (not needed) compact.css: fixes
This commit is contained in:
@@ -554,8 +554,17 @@ class Pref_Prefs extends Handler_Protected {
|
||||
|
||||
if (!theme_valid($value)) $value = "default.php";
|
||||
|
||||
print_select($pref_name, $value, $themes,
|
||||
'dojoType="dijit.form.Select"');
|
||||
print "<select name='$pref_name' id='$pref_name' dojoType='dijit.form.Select'>";
|
||||
|
||||
$issel = $value == "default.php" ? "selected='selected'" : "";
|
||||
print "<option $issel value='default.php'>".__("default")."</option>";
|
||||
|
||||
foreach ($themes as $theme) {
|
||||
$issel = $value == $theme ? "selected='selected'" : "";
|
||||
print "<option $issel value='$theme'>$theme</option>";
|
||||
}
|
||||
|
||||
print "</select>";
|
||||
|
||||
|
||||
} else if ($pref_name == "DEFAULT_UPDATE_INTERVAL") {
|
||||
|
||||
Reference in New Issue
Block a user