Merge branch 'master_MDL-48096' of git://github.com/danmarsden/moodle
This commit is contained in:
@@ -155,7 +155,10 @@ $completion->set_module_viewed($cm);
|
||||
|
||||
// Print the page header.
|
||||
if (empty($scorm->popup) || $displaymode == 'popup') {
|
||||
$exitlink = html_writer::link($CFG->wwwroot.'/course/view.php?id='.$scorm->course, $strexit, array('title' => $strexit));
|
||||
// Redirect back to the correct section if one section per page is being used.
|
||||
$exiturl = course_get_url($course, $cm->sectionnum);
|
||||
|
||||
$exitlink = html_writer::link($exiturl, $strexit, array('title' => $strexit));
|
||||
$PAGE->set_button($exitlink);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user