Where does the marking page get generated?

Re: Where does the marking page get generated?

by Mike Worth -
Number of replies: 0
Found the solution:

diff -r moodle/mod/assignment/lib.php moodle-clean/moodle/mod/assignment/lib.php
1050,1058c1050
< '', '<script language="JavaScript" type="text/javascript">
< <!--
< function ChangeAllGrades(){
< master = document.getElementById("masterdropdown");
< dropdowns=document.getElementsByTagName("select");
< for(i=2;dropdowns.length;i++){dropdowns[i].selectedIndex=master.selectedIndex;}}
< //-->
< </script>
< ', 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));
1096,1102d1087
<
<
< if($quickgrade){
< $changeallselect = choose_from_menu(make_grades_menu($this->assignment->grade),
< 'menu['.$auser->id.']', $auser->grade,
< get_string('nograde'),'ChangeAllGrades()',-1,true,false,$tabindex++,"masterdropdown");
< }
1105c1090
< get_string('grade').'</a><br>'.$changeallselect,
---
> get_string('grade'),


Mike