dirroot/mod/exercise/lib.php"); // for parameter arrays // ...and fill the form if needed if (empty($form->name)) { $form->name = ""; } if (empty($form->gradingstrategy)) { $form->gradingstrategy = 1; } if (empty($form->usemaximum)) { $form->usemaximum = 0; } if (!isset($form->grade)) { $form->grade = 100; } if (!isset($form->nelements)) { $form->nelements = 1; } if (empty($form->maxbytes)) { $form->maxbytes = ""; } if (empty($form->deadline)) { $form->deadline = ""; } ?>

:

:

students); ?>

:

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

:

gradingstrategy, ""); helpbutton("gradingstrategy", get_string("gradingstrategy", "exercise"), "exercise"); ?>

:

usemaximum, ""); helpbutton("usemax", get_string("handlingofmultiplesubmissions", "exercise"), "exercise"); ?>

:

=0; $i--) { $numbers[$i] = $i; } choose_from_menu($numbers, "nelements", "$form->nelements", ""); helpbutton("nelements", get_string("numberofassessmentelements", "exercise"), "exercise"); ?>

:

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

:

deadline); echo " - "; print_time_selector("deadlinehour", "deadlineminute", $form->deadline); ?>

"> ">