name)) { $form->name = ""; } if (empty($form->text)) { $form->text = ""; } if (empty($form->format)) { $form->format = ""; } if (empty($form->answer1)) { $form->answer1 = get_string("yes"); } if (empty($form->answer2)) { $form->answer2 = get_string("no"); } if (empty($form->answer3)) { $form->answer3 = ""; } if (empty($form->answer4)) { $form->answer4 = ""; } if (empty($form->answer5)) { $form->answer5 = ""; } if (empty($form->answer6)) { $form->answer6 = ""; } if (empty($form->publish)) { $form->publish = ""; } if ($usehtmleditor = can_use_richtext_editor()) { $defaultformat = FORMAT_HTML; $onsubmit = "onsubmit=\"copyrichtext(document.form.text);\""; } else { $defaultformat = FORMAT_MOODLE; $onsubmit = ""; } ?>
action="">

:

:




text); echo "

"; print_string("formattexttype"); echo ": "; if (!$form->format) { $form->format = $defaultformat; } choose_from_menu(format_text_menu(), "format", $form->format, ""); helpbutton("textformat", get_string("formattexttype")); echo "

"; ?>

:

:

:

:

:

:

:

dirroot/mod/choice/lib.php"); choose_from_menu($CHOICE_PUBLISH, "publish", "$form->publish", ""); ?>
"> ">