course)) { error("This course doesn't exist"); } require_login($course->id); if (!isteacher($course->id)) { error("You can't modify this course!"); } $streditingasurvey = get_string("editingasurvey", "survey"); print_header("$course->shortname: $streditingasurvey", "$course->fullname", "wwwroot/course/view.php?id=$course->id\">$course->shortname -> $streditingasurvey"); if (!$form->name or !$form->template) { error(get_string("filloutallfields"), $_SERVER["HTTP_REFERER"]); } print_simple_box_start("center", "", "$THEME->cellheading"); ?>