From: bobopinna Date: Thu, 15 Mar 2007 21:19:47 +0000 (+0000) Subject: Fixed the problem with asset and review mode checkbox in view.php X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=409375eef4a593fa37619a8b0ddb7274cf03823f;p=moodle.git Fixed the problem with asset and review mode checkbox in view.php --- diff --git a/mod/scorm/datamodels/scorm_12lib.php b/mod/scorm/datamodels/scorm_12lib.php index 9cdf0c95eb..b901fa76a8 100644 --- a/mod/scorm/datamodels/scorm_12lib.php +++ b/mod/scorm/datamodels/scorm_12lib.php @@ -283,7 +283,7 @@ function scorm_get_toc($user,$scorm,$liststyle,$currentorg='',$scoid='',$mode='n if ($sco->scormtype == 'sco') { $statusicon = ''.$strstatus.''; } else { - $statusicon = ''.get_string('assetlauched','scorm').''; + $statusicon = ''.get_string('assetlaunched','scorm').''; } if (($usertrack->status == 'notattempted') || ($usertrack->status == 'incomplete') || ($usertrack->status == 'browsed')) { @@ -303,9 +303,9 @@ function scorm_get_toc($user,$scorm,$liststyle,$currentorg='',$scoid='',$mode='n if ($play && empty($scoid)) { $scoid = $sco->id; } + $incomplete = true; if ($sco->scormtype == 'sco') { $statusicon = ''.get_string('notattempted','scorm').''; - $incomplete = true; } else { $statusicon = ''.get_string('asset','scorm').''; }