name)) { $form->name = ""; } if (empty($form->description)) { $form->description = ""; } if (empty($form->format)) { $form->format = ""; } if (!isset($form->grade)) { $form->grade = 100; } if (!isset($form->nelements)) { $form->nelements = 1; } if (empty($form->resubmit)) { $form->resubmit = ""; } if (!isset($form->ntassessments)) { $form->ntassessments = 0; } if (!isset($form->nsassessments)) { $form->nsassessments = 0; } if (empty($form->includeself)) { $form->includeself = ""; } if (empty($form->agreeassessments)) { $form->agreeassessments = ""; } if (empty($form->hidegrades)) { $form->hidegrades = ""; } if (empty($form->maxbytes)) { $form->maxbytes = ""; } if (empty($form->deadline)) { $form->deadline = ""; } ?>
action="">

:

:

description); if ($usehtmleditor) { helpbutton("richtext", get_string("helprichtext")); } else { helpbutton("text", get_string("helptext")); } 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 "

"; ?>

:

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

:

dirroot/mod/workshop/lib.php"); if (!isset($form->gradingstrategy)) { $form->gradingstrategy = 1; // default } choose_from_menu($WORKSHOP_TYPE, "gradingstrategy", $form->gradingstrategy, ""); helpbutton("gradingstrategy", get_string("gradingstrategy", "workshop"), "workshop"); ?>

:

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

:

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

:

=0; $i--) { $numbers[$i] = $i; } choose_from_menu($numbers, "ntassessments", $form->ntassessments, ""); helpbutton("nassessmentsofteachersexamples", get_string("numberofassessmentsofteachersexamples", "workshop"), "workshop"); ?>

:

=0; $i--) { $numbers[$i] = $i; } choose_from_menu($numbers, "nsassessments", $form->nsassessments, ""); helpbutton("nassessmentsofstudentsubmissions", get_string("numberofassessmentsofstudentsubmissions", "workshop"), "workshop"); ?>

:

includeself, ""); helpbutton("selfassessment", get_string("selfassessment", "workshop"), "workshop"); ?>

:

agreeassessments, ""); helpbutton("agreeassessments", get_string("assessmentsmustbeagreed", "workshop"), "workshop"); ?>

:

hidegrades, ""); helpbutton("showinggrades", get_string("hidegradesbeforeagreement", "workshop"), "workshop"); ?>

:

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

"> ">