use special class when default text is set

This commit is contained in:
Christian Weiske 2010-05-06 17:12:42 +02:00
parent ecd30ace99
commit 1376dfb7c5
2 changed files with 4 additions and 1 deletions

View File

@ -117,7 +117,7 @@ $form->addElement(
) )
->setLabel(T_('Antispam question')) ->setLabel(T_('Antispam question'))
->setBackgroundText($GLOBALS['antispamQuestion']) ->setBackgroundText($GLOBALS['antispamQuestion'])
->setBackgroundClass('deact') ->setBackgroundClass('inacttext')
->addRule( ->addRule(
'callback', 'callback',
T_('Antispam answer is not valid. Please try again.'), T_('Antispam answer is not valid. Please try again.'),

View File

@ -540,6 +540,9 @@ form th {
form table { form table {
margin: 0 1em; margin: 0 1em;
} }
form input.inacttext {
color: #888;
}
h3 { h3 {
background: #DDD; background: #DDD;
color: #555; color: #555;