Permalink
Browse files

MINOR Fixed "disabled" styling for database options in config-form.ht…

…ml (showed all as green when "use _ss_environment" was ticked (from r100965)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@111549 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent 29623a6 commit 11b1367c8c796e768f953a715667855f95e8cb56 @sminnee sminnee committed Oct 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 dev/install/config-form.html
View
2 dev/install/config-form.html
@@ -188,7 +188,7 @@ <h4 class="sectionHeading">Database</h4>
}
echo "<li>";
echo "<input id=\"$class\" class=\"databaseClass\" type=\"radio\" name=\"db[type]\" value=\"$class\"$checked $disabled>";
- echo "<label class=\"left\" ".($help ? 'style="font-weight:normal;color:grey" ' : 'style="color:green"')."for=\"$class\">{$details['title']}</label>";
+ echo "<label class=\"left\" ".($help || $disabled ? 'style="font-weight:normal;color:grey" ' : 'style="color:green"')."for=\"$class\">{$details['title']}</label>";
if ($help) {
echo '<div class="error databaseError">'.$help.'</div>';
}

0 comments on commit 11b1367

Please sign in to comment.