diff -Naurw moodle-clean/moodle/mod/assignment/lib.php moodle-dev/mod/assignment/lib.php --- moodle-clean/moodle/mod/assignment/lib.php 2009-05-07 16:35:41.000000000 +0100 +++ moodle-dev/mod/assignment/lib.php 2009-05-07 16:33:58.000000000 +0100 @@ -1047,7 +1047,15 @@ $navigation = build_navigation($this->strsubmissions, $this->cm); print_header_simple(format_string($this->assignment->name,true), "", $navigation, - '', '', true, update_module_button($cm->id, $course->id, $this->strassignment), navmenu($course, $cm)); + '', ' + ', true, update_module_button($cm->id, $course->id, $this->strassignment), navmenu($course, $cm)); $course_context = get_context_instance(CONTEXT_COURSE, $course->id); if (has_capability('gradereport/grader:view', $course_context) && has_capability('moodle/grade:viewall', $course_context)) { @@ -1085,9 +1093,12 @@ $tablecolumns[] = 'outcome'; // no sorting based on outcomes column } + if($quickgrade){ + $changeallselect = choose_from_menu(make_grades_menu($this->assignment->grade),'changeall', '',get_string('nograde'),'ChangeAllGrades()',null,true,false,null,"masterdropdown"); + } $tableheaders = array('', get_string('fullname'), - get_string('grade'), + get_string('grade').'
'.$changeallselect, get_string('comment', 'assignment'), get_string('lastmodified').' ('.$course->student.')', get_string('lastmodified').' ('.$course->teacher.')',