mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Follow up fix for bug MDL-8695 "Form 'required' icon is hidden".
This commit is contained in:
parent
e5938e6dcc
commit
5bff085524
@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user