mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 19:05:55 +00:00
don't generate default.css, replace with themes/light.css as a default root CSS file
This commit is contained in:
@@ -674,12 +674,12 @@ class Pref_Prefs extends Handler_Protected {
|
||||
$themes = array_filter($themes, "theme_exists");
|
||||
asort($themes);
|
||||
|
||||
if (!theme_exists($value)) $value = "default.php";
|
||||
if (!theme_exists($value)) $value = "";
|
||||
|
||||
print "<select name='$pref_name' id='$pref_name' dojoType='fox.form.Select'>";
|
||||
|
||||
$issel = $value == "default.php" ? "selected='selected'" : "";
|
||||
print "<option $issel value='default.php'>".__("default")."</option>";
|
||||
$issel = $value == "" ? "selected='selected'" : "";
|
||||
print "<option $issel value=''>".__("default")."</option>";
|
||||
|
||||
foreach ($themes as $theme) {
|
||||
$issel = $value == $theme ? "selected='selected'" : "";
|
||||
|
||||
Reference in New Issue
Block a user