MDL-46163 question/quiz: fix elements ids and their labels

This commit is contained in:
Marina Glancy
2014-07-03 10:13:00 +01:00
committed by Dan Poltawski
parent 84deaaf8bb
commit 9422f6ee42
3 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -1045,8 +1045,8 @@ function question_category_select_menu($contexts, $top = false, $currentcat = 0,
foreach ($categoriesarray as $group => $opts) {
$options[] = array($group => $opts);
}
echo html_writer::label($selected, 'menucategory', false, array('class' => 'accesshide'));
echo html_writer::select($options, 'category', $selected, $choose);
echo html_writer::label(get_string('questioncategory', 'core_question'), 'id_movetocategory', false, array('class' => 'accesshide'));
echo html_writer::select($options, 'category', $selected, $choose, array('id' => 'id_movetocategory'));
}
/**