From 4e204f895675d15b6a0ff1c6b196dc8e0d50175d Mon Sep 17 00:00:00 2001 From: bobopinna Date: Tue, 3 Jul 2007 09:38:56 +0000 Subject: [PATCH] Fixed bug MDL-9236 --- mod/scorm/player.php | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/mod/scorm/player.php b/mod/scorm/player.php index 8e17332259..15c6d17203 100755 --- a/mod/scorm/player.php +++ b/mod/scorm/player.php @@ -124,7 +124,7 @@ if ($scorm->popup == 1) { $bodyscript = 'onunload="main.close();"'; } - + $crumbs[] = array('name' => format_string($scorm->name,true), 'link' => "view.php?id=$cm->id", 'type' => 'activityinstance'); $navigation = build_navigation($crumbs); $exitlink = ''.$strexit.' '; @@ -132,12 +132,12 @@ print_header($pagetitle, $course->fullname, $navigation, '', '', true, $exitlink.update_module_button($cm->id, $course->id, $strscorm), '', false, $bodyscript); - if ($sco->scormtype == 'sco') { + //if ($sco->scormtype == 'sco') { ?> previd != 0) && ((!isset($sco->previous)) || ($sco->previous == 0))) { $scostr = '&scoid='.$sco->previd; echo ' \n"; @@ -288,7 +288,5 @@ require_once($CFG->dirroot.'/lib/custom_corners_lib.php'); print_custom_corners_end(); } ?> - - - - +
 
+ -- 2.39.5