Follow up fix for bug MDL-8695 "Form 'required' icon is hidden".

This commit is contained in:
nfreear 2007-03-30 10:52:45 +00:00
parent e5938e6dcc
commit 5bff085524

View File

@ -632,8 +632,8 @@ class MoodleQuickForm extends HTML_QuickForm_DHTMLRulesTableless {
}
$this->_reqHTML = '<img class="req" title="'.get_string('requiredelement', 'form').'" alt="'.get_string('requiredelement', 'form').'" src="'.$CFG->pixpath.'/req.gif'.'" />';
$this->_advancedHTML = '<img class="adv" title="'.get_string('advancedelement', 'form').'" alt="'.get_string('advancedelement', 'form').'" src="'.$CFG->pixpath.'/adv.gif'.'" />';
$this->setRequiredNote(get_string('somefieldsrequired', 'form').
helpbutton('requiredelement', get_string('requiredelement', 'form'), 'moodle', true, false, '', true));
$this->setRequiredNote(get_string('somefieldsrequired', 'form', '<img alt="'.get_string('requiredelement', 'form').'" src="'.$CFG->pixpath.'/req.gif'.'" />'));
//(Help file doesn't add anything) helpbutton('requiredelement', get_string('requiredelement', 'form'), 'moodle', true, false, '', true));
}
/**