resubmit)) { $form->resubmit = 0; //upload&rev: =1 } if (empty($form->maxbytes)) { $form->maxbytes = $CFG->assignment_maxbytes; } if (empty($form->emailteachers)) { $form->emailteachers = ''; } //allow multiple files (from new upload type) if (empty($form->var1)) { $form->var1 = 0; } //email to students (from upload&review) if (empty($form->var2)) { $form->var2 = ''; } //declaring $options[] $options[0] = get_string("no"); $options[1] = get_string("yes"); ?>
| : | maxbytes, $this->course->maxbytes); choose_from_menu ($choices, "maxbytes", $form->maxbytes, ""); ?> |
| : | var1, ""); ?> |
| : | resubmit, ""); //that's how it's un U&R // choose_from_menu($options, "var2", $form->var2, ""); helpbutton("resubmit", get_string("allowresubmit", "assignment"), "assignment"); ?> |