mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Fixed "disabled" styling for database options in config-form.html (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
This commit is contained in:
parent
29623a639d
commit
11b1367c8c
@ -188,7 +188,7 @@
|
|||||||
}
|
}
|
||||||
echo "<li>";
|
echo "<li>";
|
||||||
echo "<input id=\"$class\" class=\"databaseClass\" type=\"radio\" name=\"db[type]\" value=\"$class\"$checked $disabled>";
|
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) {
|
if ($help) {
|
||||||
echo '<div class="error databaseError">'.$help.'</div>';
|
echo '<div class="error databaseError">'.$help.'</div>';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user