| @@ 969-978 (lines=10) @@ | ||
| 966 | <td colspan="2">'.$time_attemp . '</td>'; |
|
| 967 | if ($action == 'classic') { |
|
| 968 | if ($origin != 'tracking') { |
|
| 969 | if (!$is_allowed_to_edit && $result_disabled_ext_all) { |
|
| 970 | $output .= '<td> |
|
| 971 | <img src="' . Display::returnIconPath('quiz_na.gif').'" alt="' . get_lang('ShowAttempt') . '" title="' . get_lang('ShowAttempt') . '"> |
|
| 972 | </td>'; |
|
| 973 | } else { |
|
| 974 | $output .= '<td> |
|
| 975 | <a href="../exercice/exercise_show.php?origin=' . $origin . '&id=' . $my_exe_id . '&cidReq=' . $courseCode . '" target="_parent"> |
|
| 976 | <img src="' . Display::returnIconPath('quiz.gif').'" alt="' . get_lang('ShowAttempt') . '" title="' . get_lang('ShowAttempt') . '"> |
|
| 977 | </a></td>'; |
|
| 978 | } |
|
| 979 | } else { |
|
| 980 | if (!$is_allowed_to_edit && $result_disabled_ext_all) { |
|
| 981 | $output .= '<td> |
|
| @@ 979-988 (lines=10) @@ | ||
| 976 | <img src="' . Display::returnIconPath('quiz.gif').'" alt="' . get_lang('ShowAttempt') . '" title="' . get_lang('ShowAttempt') . '"> |
|
| 977 | </a></td>'; |
|
| 978 | } |
|
| 979 | } else { |
|
| 980 | if (!$is_allowed_to_edit && $result_disabled_ext_all) { |
|
| 981 | $output .= '<td> |
|
| 982 | <img src="' . Display::returnIconPath('quiz_na.gif').'" alt="' . get_lang('ShowAndQualifyAttempt') . '" title="' . get_lang('ShowAndQualifyAttempt') . '"></td>'; |
|
| 983 | } else { |
|
| 984 | $output .= '<td> |
|
| 985 | <a href="../exercice/exercise_show.php?cidReq=' . $courseCode . '&origin=correct_exercise_in_lp&id=' . $my_exe_id . '" target="_parent"> |
|
| 986 | <img src="' . Display::returnIconPath('quiz.gif').'" alt="' . get_lang('ShowAndQualifyAttempt') . '" title="' . get_lang('ShowAndQualifyAttempt') . '"></a></td>'; |
|
| 987 | } |
|
| 988 | } |
|
| 989 | } |
|
| 990 | $output .= '</tr>'; |
|
| 991 | $n++; |
|