@ -126,7 +126,7 @@ class CalculatedAnswer extends Question
$form->addElement(
'html_editor',
'answer',
Display::returnIconPath('fill_field.png'),
Display::return_icon('fill_field.png'),
array(
'id' => 'answer',
'onkeyup' => 'javascript: updateBlanks(this);'
@ -254,7 +254,7 @@ class FillBlanks extends Question
['id' => 'answer', 'onkeyup' => "javascript: updateBlanks(this);"],
array('ToolbarSet' => 'TestQuestionDescription')
);
@ -45,7 +45,12 @@ class GlobalMultipleAnswer extends Question
$html .='<th>' . get_lang('Comment') . '</th>';
$html .='</tr>';
$form->addElement('label', get_lang('Answers') . '<br /> '.Display::returnIconPath('fill_field.png'), $html);
'label',
get_lang('Answers') .
'<br /> '.Display::return_icon('fill_field.png'),
$html
$defaults = array();
$correct = 0;
$answer = false;