Merge pull request #113 from fabrixxm/master

Small fix to theme selector
This commit is contained in:
Friendika 2011-06-06 14:14:38 -07:00
commit f48080335e

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>';
}
}