forcelogin) { require_login(); } if ($id) { if (! $course = get_record("course", "id", $id)) { error("Course is misconfigured"); } $strhelp = get_string("help"); print_header("$course->shortname: $strhelp", "$course->fullname", "id\">$course->shortname -> $strhelp"); } else { if (! $site = get_site()) { error("Site is misconfigured"); } $strdocumentation = get_string("documentation"); print_header("$site->shortname: $strhelp", "$site->fullname", "$strdocumentation"); } echo "
"; if (! document_file($file, true)) { notify("404 - File Not Found"); } echo "
"; ?>