diff --git a/mod/quiz/questiontypes/multichoice/multichoice.html b/mod/quiz/questiontypes/multichoice/multichoice.html index 3ca8b1dd898..5095ee72d69 100644 --- a/mod/quiz/questiontypes/multichoice/multichoice.html +++ b/mod/quiz/questiontypes/multichoice/multichoice.html @@ -1,248 +1,134 @@ +single)) { + $options->single = 1; + } +?>
-
- - - + - - - - - - + + + - - - - - - + + + - - - - - - + + + - - - - - - + + + - - - - - - - - + + + - - - - - - - -fraction)) { - - $answers[$i-1]->answer = ''; - - $answers[$i-1]->fraction = 0; - - $answers[$i-1]->feedback = ''; - - } - -?> - - - - - - - - - - - - - - - - - - - - - - - - - - + + fraction)) { + $answers[$i-1]->answer = ''; + $answers[$i-1]->fraction = 0; + $answers[$i-1]->feedback = ''; + } +?> + + + + + + + + + + + + + + +
: - - id, true, true, $question->category); ?> - + id, true, true, $question->category); ?>
: - - " /> - - - + " /> +
: - -
- -
- -
- - - -

+ - - - + ?> +
- - "; - - } - - - - print_textarea($usehtmleditor, 15, 60, 630, 300, "questiontext", $question->questiontext); - - - - if ($usehtmleditor) { - - echo ''; - - } else { - - echo "
"; - - print_string("formattexttype"); - - echo ": "; - - if (!isset($question->questiontextformat)) { - - $question->questiontextformat = FORMAT_MOODLE; - - } - - choose_from_menu(format_text_menu(), "questiontextformat", $question->questiontextformat, ""); - - helpbutton("textformat", get_string("helpformatting")); - - echo "
"; - - } - - ?> - + "; + } + print_textarea($usehtmleditor, 15, 60, 630, 300, "questiontext", $question->questiontext); + if ($usehtmleditor) { + echo ''; + } else { + echo "
"; + print_string("formattexttype"); + echo ": "; + if (!isset($question->questiontextformat)) { + $question->questiontextformat = FORMAT_MOODLE; + } + choose_from_menu(format_text_menu(), "questiontextformat", $question->questiontextformat, ""); + helpbutton("textformat", get_string("helpformatting")); + echo "
"; + } + ?>
: - - image", get_string("none"),"",""); - - } - - ?> - + image", get_string("none"),"",""); + } + ?>
: - - single", ""); - - unset($menu); - - ?> - + single", ""); + unset($menu); + ?>
: - -
: - - "/>   - - fraction, ""); ?> - -
- -
: - - - -
 
: + "/>   + fraction, ""); + ?> +
+
: + +
 
- - - - - " /> - - -
-