+
+ print_string("category", "quiz") ?>: |
+
+ choose_from_menu($categories, "category", "$question->category", ""); ?>
+ |
+
+
+ print_string("questionname", "quiz") ?>: |
+
+
+ if (isset($err["name"])) formerr($err["name"]); ?>
+ |
+
+
+ print_string("question", "quiz") ?>: |
+
+ if (isset($err["questiontext"])) {
+ formerr($err["questiontext"]);
+ echo " ";
+ }
+ print_textarea($usehtmleditor, 15, 60, 595, 300, "questiontext", $question->questiontext);
+ if ($usehtmleditor) {
+ helpbutton("richtext", get_string("helprichtext"), "moodle");
+ } else {
+ helpbutton("text", get_string("helptext"), "moodle");
+ }
+ ?>
+ |
+
+
+ print_string("imagedisplay", "quiz") ?>: |
+
+ if (empty($images)) {
+ print_string("noimagesyet");
+ } else {
+ choose_from_menu($images, "image", "$question->image", get_string("none"),"","");
+ }
+ ?>
+ |
+
+
+
+ print_string("choices", "quiz") ?>: |
+ print_string("filloutthreequestions", "quiz") ?>
+ |
+
+
+
+
+
+ echo get_string("question", "quiz")." $i"; ?> : |
+
+
+
+ echo get_string("matchanswer", "quiz")." $i"; ?>
+
+ |
+
+
+
+
+
+
+