Index: temp_moodle_dev/moodle/mod/scorm/datamodels/scorm_13lib.php =================================================================== diff -u -r5251d2a62e0e78377219456d6bba613eb2d1fd26 -rcb3edb3900555e207e90f2b5b6decafbf8003ed3 --- temp_moodle_dev/moodle/mod/scorm/datamodels/scorm_13lib.php (.../scorm_13lib.php) (revision 5251d2a62e0e78377219456d6bba613eb2d1fd26) +++ temp_moodle_dev/moodle/mod/scorm/datamodels/scorm_13lib.php (.../scorm_13lib.php) (revision cb3edb3900555e207e90f2b5b6decafbf8003ed3) @@ -1,6 +1,6 @@ id == $scoid) { $result->prerequisites = true; } - $url = $CFG->wwwroot.'/mod/scorm/player.php?a='.$scorm->id.'&currentorg='.$currentorg.$modestr.'&scoid='.$sco->id; + //lams: we pass the variable "editing" to let the player.php know that the teacher is editing or not the activity in aim to display the proper lams button + $url = $CFG->wwwroot.'/mod/scorm/player.php?a='.$scorm->id.'&currentorg='.$currentorg.$modestr.'&scoid='.$sco->id.'&editing='.$editing; $result->toc .= $statusicon.' '.$startbold.''.format_string($sco->title).''.$score.$endbold."\n"; $tocmenus[$sco->id] = scorm_repeater('−',$level) . '>' . format_string($sco->title); } else {