?>
<div class="scorm-center">
- <form id="theform" method="post" action="<?php echo $CFG->wwwroot ?>/mod/scorm/player.php?scoid=<?php echo $sco->id ?>&id=<?php echo $cm->id ?>">
+ <form id="theform" method="post" action="<?php echo $CFG->wwwroot ?>/mod/scorm/player.php?scoid=<?php echo $sco->id ?>&id=<?php echo $cm->id ?>&currentorg=<?php echo $orgidentifier ?>">
<?php
if ($scorm->hidebrowse == 0) {
print_string('mode','scorm');
- echo '<input type="hidden" name="scoid" value="'.$sco->id.'" />'."\n";
echo ': <input type="radio" id="b" name="mode" value="browse" /><label for="b">'.get_string('browse','scorm').'</label>'."\n";
echo '<input type="radio" id="n" name="mode" value="normal" checked="checked" /><label for="n">'.get_string('normal','scorm')."</label>\n";
} else {
}
?>
<br />
- <input type="hidden" name="scoid"/>
+ <input type="hidden" name="id" value="<?php echo $cm->id ?>"/>
+ <input type="hidden" name="scoid" value="<?php echo $sco->id ?>"/>
<input type="hidden" name="currentorg" value="<?php echo $orgidentifier ?>" />
<input type="submit" value="<?php print_string('enter','scorm') ?>" />
</form>