2 $row = $tabs = array();
4 $row[] = new tabobject('graderreport',
5 $CFG->wwwroot
.'/grade/report/grader/index.php?id='.$courseid,
6 get_string('modulename', 'gradereport_grader'));
7 if (has_capability('moodle/grade:manage', get_context_instance(CONTEXT_COURSE
, $COURSE->id
))) {
8 $row[] = new tabobject('preferences',
9 $CFG->wwwroot
.'/grade/report/grader/preferences.php?id='.$courseid,
10 get_string('preferences'));
14 echo '<div class="gradedisplay">';
15 print_tabs($tabs, $currenttab);