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'))
->setBackgroundText($GLOBALS['antispamQuestion'])
->setBackgroundClass('deact')
->setBackgroundClass('inacttext')
->addRule(
'callback',
T_('Antispam answer is not valid. Please try again.'),

View File

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