@@ 1333-1337 (lines=5) @@ | ||
1330 | } else { |
|
1331 | $total_score_percentage = 0; |
|
1332 | } |
|
1333 | if($total_score_percentage > 0) { |
|
1334 | $total_score = $total_score_obtained.'/'.$total_score_possible.' ('.$total_score_percentage.' %)'; |
|
1335 | } else { |
|
1336 | $total_score = '-'; |
|
1337 | } |
|
1338 | $return .= '<tr>'; |
|
1339 | // time spent in the course |
|
1340 | $return .= ' <td style="width:164px;">'.api_time_to_hms($time_spent).'</td>'; |
|
@@ 1693-1697 (lines=5) @@ | ||
1690 | } else { |
|
1691 | $total_score_percentage = 0; |
|
1692 | } |
|
1693 | if($total_score_percentage > 0) { |
|
1694 | $total_score = $total_score_obtained.'/'.$total_score_possible.' ('.$total_score_percentage.' %)'; |
|
1695 | } else { |
|
1696 | $total_score = '-'; |
|
1697 | } |
|
1698 | // time spent in the course |
|
1699 | $return .= ' <td><div>'.api_time_to_hms($time_spent).'</div></td>'; |
|
1700 | // student progress in course |
|
@@ 1867-1871 (lines=5) @@ | ||
1864 | } else { |
|
1865 | $total_score_percentage = 0; |
|
1866 | } |
|
1867 | if($total_score_percentage > 0) { |
|
1868 | $total_score = $total_score_obtained.'/'.$total_score_possible.' ('.$total_score_percentage.' %)'; |
|
1869 | } else { |
|
1870 | $total_score = '-'; |
|
1871 | } |
|
1872 | // time spent in the course |
|
1873 | $csv_row[] = api_time_to_hms($time_spent); |
|
1874 | // student progress in course |