name)) { $form->name = ''; } if (!isset($form->type)) { $form->type = 'normal'; } if (!isset($form->toleranceevaluation)) $form->toleranceevaluation = false; if (!isset($form->offlinesessions)) $form->offlinesessions = true; if (!isset($form->sessiontimeout)) $form->sessiontimeout = REGISTER_DEFAULT_SESSION_TIMEOUT; if (!isset($form->dayscertificable)) $form->dayscertificable = REGISTER_DEFAULT_DAYS_CERTIFICABLE; if (!isset($form->offlinecomments)) $form->offlinecomments = true; if (!isset($form->mandatoryofflinecomments)) $form->mandatoryofflinecomments = false; if (!isset($form->offlinespecifycourse)) $form->offlinespecifycourse = true; if (!isset($form->mandatoryofflinespecifycourse)) $form->mandatoryofflinespecifycourse = false; if (!isset($form->showtolerance)) $form->showtolerance = false; // More similar blocks go here... ?>
:
: course); $isinmetacourse = $course->metacourse; unset($choices); $choices["normal"] = get_string("normal", "register"); if ($isinmetacourse) $choices["meta"] = get_string("meta", "register"); $choices["category"] = get_string("category", "register"); choose_from_menu ($choices, "type", $form->type, 'choose', '', 'normal'); ?>

toleranceevaluation == true) echo 'checked = "checked"'; echo ' />'; print_string("toleranceevaluation","register"); helpbutton ("tolerance", get_string ("toleranceevaluation"), "register"); ?>
showtolerance == true) echo 'checked = "checked"'; echo ' />'; print_string("showtolerance","register"); ?>

offlinesessions == true) echo 'checked = "checked"'; echo ' />'; print_string("offlinesessions","register"); ?>

offlinecomments == true) echo 'checked = "checked"'; echo ' />'; print_string("allowofflinecomments","register"); ?>
mandatoryofflinecomments == true) echo 'checked = "checked"'; echo ' />'; print_string("offlinecommentsmandatory","register"); ?>

offlinespecifycourse == true) echo 'checked = "checked"'; echo ' />'; print_string("offlinemetacoursespecifycourse","register"); ?>
mandatoryofflinespecifycourse == true) echo 'checked = "checked"'; echo ' />'; print_string("specifycoursemandatory","register"); ?>
:
:
" />