@@ 7791-7799 (lines=9) @@ | ||
7788 | $show_only_score = true; |
|
7789 | } |
|
7790 | ||
7791 | if ($show_results || $show_only_score) { |
|
7792 | $user_info = api_get_user_info($exercise_stat_info['exe_user_id']); |
|
7793 | // Shows exercise header. |
|
7794 | echo $this->show_exercise_result_header( |
|
7795 | $user_info['complete_name'], |
|
7796 | api_convert_and_format_date($exercise_stat_info['start_date'], DATE_TIME_FORMAT_LONG), |
|
7797 | $exercise_stat_info['duration'] |
|
7798 | ); |
|
7799 | } |
|
7800 | ||
7801 | // Display text when test is finished #4074 and for LP #4227 |
|
7802 | $end_of_message = $this->selectTextWhenFinished(); |
@@ 3542-3554 (lines=13) @@ | ||
3539 | } |
|
3540 | } |
|
3541 | ||
3542 | if ($show_results || $show_only_score) { |
|
3543 | $user_info = api_get_user_info($exercise_stat_info['exe_user_id']); |
|
3544 | //Shows exercise header |
|
3545 | echo $objExercise->show_exercise_result_header( |
|
3546 | $user_info, |
|
3547 | api_convert_and_format_date( |
|
3548 | $exercise_stat_info['start_date'], |
|
3549 | DATE_TIME_FORMAT_LONG |
|
3550 | ), |
|
3551 | $exercise_stat_info['duration'], |
|
3552 | $exercise_stat_info['user_ip'] |
|
3553 | ); |
|
3554 | } |
|
3555 | ||
3556 | // Display text when test is finished #4074 and for LP #4227 |
|
3557 | $end_of_message = $objExercise->selectTextWhenFinished(); |