print_string("choicename","choice") ?>: |
|
print_string("choicetext","choice") ?>:
helpbutton("writing", get_string("helpwriting"), "moodle", true, true) ?>
helpbutton("questions", get_string("helpquestions"), "moodle", true, true) ?>
if ($usehtmleditor) { ?>
helpbutton("richtext", get_string("helprichtext"), "moodle", true, true) ?>
} else { ?>
helpbutton("text", get_string("helptext"), "moodle", true, true) ?>
} ?>
|
print_textarea($usehtmleditor, 20, 60, 680, 400, "text", $form->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 " ";
?>
|
print_string("choice","choice","1") ?>: |
helpbutton("options", get_string("modulenameplural", "choice"), "choice") ?>
|
print_string("choice","choice","2") ?>: |
helpbutton("options", get_string("modulenameplural", "choice"), "choice") ?>
|
print_string("choice","choice","3") ?>: |
helpbutton("options", get_string("modulenameplural", "choice"), "choice") ?>
|
print_string("choice","choice","4") ?>: |
helpbutton("options", get_string("modulenameplural", "choice"), "choice") ?>
|
print_string("choice","choice","5") ?>: |
helpbutton("options", get_string("modulenameplural", "choice"), "choice") ?>
|
print_string("choice","choice","6") ?>: |
helpbutton("options", get_string("modulenameplural", "choice"), "choice") ?>
|
print_string("publish","choice") ?>: |
require("$CFG->dirroot/mod/choice/lib.php");
choose_from_menu($CHOICE_PUBLISH, "publish", "$form->publish", "");
?>
|