Index: temp_moodle_dev/moodle/mod/scorm/datamodels/scorm_13lib.php =================================================================== RCS file: /usr/local/cvsroot/temp_moodle_dev/moodle/mod/scorm/datamodels/scorm_13lib.php,v diff -u -r1.1 -r1.2 --- temp_moodle_dev/moodle/mod/scorm/datamodels/scorm_13lib.php 14 Nov 2008 06:30:00 -0000 1.1 +++ temp_moodle_dev/moodle/mod/scorm/datamodels/scorm_13lib.php 14 Jan 2009 03:02:31 -0000 1.2 @@ -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 {