add flag for experimental themes
This commit is contained in:
parent
c4cec593ba
commit
edbad772ba
|
@ -431,7 +431,8 @@ function settings_content(&$a) {
|
||||||
$f = basename($file);
|
$f = basename($file);
|
||||||
$selected = (($f == $_SESSION['theme']) || ($f === $default_theme && (! x($_SESSION,'theme')))
|
$selected = (($f == $_SESSION['theme']) || ($f === $default_theme && (! x($_SESSION,'theme')))
|
||||||
? ' selected="selected" ' : '' );
|
? ' selected="selected" ' : '' );
|
||||||
$theme_selector .= '<option val="' . basename($file) . '"' . $selected . '>' . basename($file) . '</option>';
|
$theme_name = ((file_exists($file . '/experimental')) ? sprintf("%s - \x28Experimental\x29", $f) : $f);
|
||||||
|
$theme_selector .= '<option val="' . $f . '"' . $selected . '>' . $theme_name . '</option>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
0
view/theme/dispy/experimental
Normal file
0
view/theme/dispy/experimental
Normal file
Loading…
Reference in a new issue