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 = ""; } 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"); ?>

:

=0; $i--) { $grades[$i] = $i; } choose_from_menu($grades, "grade", "$form->grade", ""); ?>

:

maxbytes == $sizebytes) { $sizeinlist = true; } } $filesize[$maxsize] = display_size($maxsize); if (!$sizeinlist) { $form->maxbytes = get_real_size("500K"); } ksort($filesize, SORT_NUMERIC); choose_from_menu($filesize, "maxbytes", "$form->maxbytes", ""); ?>

:

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

"> ">