From 23fee006327b361fa3e4fe9484648fd34eaec284 Mon Sep 17 00:00:00 2001 From: bobopinna Date: Thu, 26 Oct 2006 11:18:00 +0000 Subject: [PATCH] Added link in sco title for launch the sco in browse mode --- mod/scorm/report.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mod/scorm/report.php b/mod/scorm/report.php index ea4bf823b1..ed12a39b6c 100755 --- a/mod/scorm/report.php +++ b/mod/scorm/report.php @@ -96,6 +96,7 @@ if (empty($b)) { if (empty($a)) { + // No options, show the global scorm report if ($scousers=get_records_select("scorm_scoes_track", "scormid='$scorm->id' GROUP BY userid,scormid", "", "userid,scormid")) { $table = new stdClass(); $table->head = array(' ', get_string('name')); @@ -146,6 +147,7 @@ print_table($table); } else { if (!empty($user)) { + // User SCORM report if ($scoes = get_records_select("scorm_scoes","scorm='$scorm->id' ORDER BY id")) { if (!empty($userdata)) { print_simple_box_start('center'); @@ -207,9 +209,11 @@ } } } else { + // User SCO report if (!empty($userdata)) { print_simple_box_start('center'); - print_heading(format_string($sco->title)); + //print_heading(format_string($sco->title)); + print_heading(''.format_string($sco->title).''); echo '
'."\n"; print_user_picture($user, $course->id, $userdata->picture, false, false); echo "wwwroot/user/view.php?id=$user&course=$course->id\">". -- 2.39.5