name)) { $form->name = ""; } if (empty($form->description)) { $form->description = ""; } if (empty($form->format)) { $form->format = ""; } if (empty($form->type)) { $form->type = ""; } if (empty($form->resubmit)) { $form->resubmit = ""; } if (!isset($form->grade)) { $form->grade = 100; } if (empty($form->maxbytes)) { $form->maxbytes = $CFG->assignment_maxbytes; } if (empty($form->timedue)) { $form->timedue = ""; } ?>
action="mod.php">

:

:

"; helpbutton("questions", get_string("helpquestions"), "moodle", true, true); echo "
"; if ($usehtmleditor) { helpbutton("richtext", get_string("helprichtext"), "moodle", true, true); } else { emoticonhelpbutton("form", "description"); } ?>
description); echo "

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

"; ?>

:

dirroot/mod/assignment/lib.php"); asort($ASSIGNMENT_TYPE); choose_from_menu($ASSIGNMENT_TYPE, "type", $form->type, ""); helpbutton("assignmenttype", get_string("assignmenttype", "assignment"), "assignment"); ?>

:

resubmit, ""); helpbutton("resubmit", get_string("allowresubmit", "assignment"), "assignment"); ?>

:

id, "grade", "$form->grade"); ?>

:

maxbytes, $course->maxbytes); choose_from_menu ($choices, "maxbytes", $form->maxbytes, ""); ?>

:

timedue); echo " - "; print_time_selector("duehour", "dueminute", $form->timedue); ?>

"> ">