mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
Some bug fixes, added new score view (thanks Matt) and added a new validation procedure
This commit is contained in:
parent
485913f784
commit
1a12b1f1d1
16 changed files with 487 additions and 235 deletions
|
@ -79,8 +79,12 @@
|
|||
|
||||
foreach ($sco_users as $sco_user) {
|
||||
$user_data=scorm_get_scoes_records($sco_user);
|
||||
$picture = print_user_picture($sco_user->userid, $course->id, $user_data->picture, false, true);
|
||||
$row="";
|
||||
$userpict = "";
|
||||
if (isset($user_data->picture)) {
|
||||
$userpict = $user_data->picture;
|
||||
}
|
||||
$picture = print_user_picture($sco_user->userid, $course->id, $userpict, false, true);
|
||||
$row="";
|
||||
$row[] = $picture;
|
||||
if (is_array($user_data)) {
|
||||
$data = current($user_data);
|
||||
|
@ -98,7 +102,7 @@
|
|||
.$data->cmi_core_total_time.$scoreview;
|
||||
}
|
||||
}
|
||||
$table->data[] = $row;
|
||||
$table->data[] = $row;
|
||||
}
|
||||
|
||||
print_table($table);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue