id" or q=$quiz->id", and "mode=reportname". //////////////////////////////////////////////////////////////////// // Included by ../report.php class quiz_default_report { function display($cm, $course, $quiz) { /// This function just displays the report return true; } function print_header_and_tabs($cm, $course, $quiz, $reportmode="overview", $meta=""){ global $CFG; /// Define some strings $strquizzes = get_string("modulenameplural", "quiz"); $strquiz = get_string("modulename", "quiz"); /// Print the page header $navigation = build_navigation('', $cm); print_header_simple(format_string($quiz->name), "", $navigation, '', $meta, true, update_module_button($cm->id, $course->id, $strquiz), navmenu($course, $cm)); /// Print the tabs $currenttab = 'reports'; $mode = $reportmode; require($CFG->dirroot . '/mod/quiz/tabs.php'); $course_context = get_context_instance(CONTEXT_COURSE, $course->id); if (has_capability('gradereport/grader:view', $course_context) && has_capability('moodle/grade:viewall', $course_context)) { echo '
' . get_string('seeallcoursegrades', 'grades') . '
'; } } } ?>