Small fix to theme selector

This commit is contained in:
fabrixxm 2011-06-06 14:55:54 +02:00
parent 4c629e274b
commit 76f4d85d9a

View File

@ -432,7 +432,7 @@ function settings_content(&$a) {
$selected = (($f == $_SESSION['theme']) || ($f === $default_theme && (! x($_SESSION,'theme')))
? ' selected="selected" ' : '' );
$theme_name = ((file_exists($file . '/experimental')) ? sprintf("%s - \x28Experimental\x29", $f) : $f);
$theme_selector .= '<option val="' . $f . '"' . $selected . '>' . $theme_name . '</option>';
$theme_selector .= '<option value="' . $f . '"' . $selected . '>' . $theme_name . '</option>';
}
}