format)) { $form->format = $defaultformat; } if ($usehtmleditor) { //clean and convert before editing $options = new object(); $options->smiley = false; $options->filter = false; $form->text = format_text($form->text, $form->format, $options); $form->format = FORMAT_HTML; } ?>
: text); ?>
"; if ($usehtmleditor) { helpbutton("richtext", get_string("helprichtext"), "moodle", true, true); } else { emoticonhelpbutton("form", "text"); } echo "
"; ?>
: '; } else { choose_from_menu(format_text_menu(), "format", $form->format, ""); } helpbutton("textformat", get_string("helpformatting")); ?>
id)) { echo "id\" />"; } ?> " /> " />