commit fd5e14d1e489868c4e7b28527bc86e8ce7014f9d Author: t6nis20 Date: Mon Oct 8 12:48:08 2012 +0300 08.10.2012 - multianswer review patch diff --git a/question/type/multianswer/renderer.php b/question/type/multianswer/renderer.php index 0134eb4..57b6605 100644 --- a/question/type/multianswer/renderer.php +++ b/question/type/multianswer/renderer.php @@ -228,11 +228,11 @@ class qtype_multianswer_textfield_renderer extends qtype_multianswer_subq_render s($correctanswer->answer), $options); $output = ''; - $output .= html_writer::tag('label', get_string('answer'), - array('class' => 'subq accesshide', 'for' => $inputattributes['id'])); + $output .= html_writer::start_tag('label', array('class' => 'subq', 'for' => $inputattributes['id'])); $output .= html_writer::empty_tag('input', $inputattributes); $output .= $feedbackimg; $output .= $feedbackpopup; + $output .= html_writer::end_tag('label'); return $output; } @@ -295,11 +295,11 @@ class qtype_multianswer_multichoice_inline_renderer $qa, 'question', 'answer', $rightanswer->id), $options); $output = ''; - $output .= html_writer::tag('label', get_string('answer'), - array('class' => 'subq accesshide', 'for' => $inputattributes['id'])); + $output .= html_writer::start_tag('label', array('class' => 'subq')); $output .= $select; $output .= $feedbackimg; $output .= $feedbackpopup; + $output .= html_writer::end_tag('label'); return $output; }