|
@@ -352,7 +352,7 @@ class Tracking
|
|
|
if (!empty($inter_num)) {
|
|
|
$extend_link = Display::url(
|
|
|
Display::return_icon(
|
|
|
- 'visible.gif',
|
|
|
+ 'visible.png',
|
|
|
get_lang('HideAttemptView')
|
|
|
),
|
|
|
api_get_self().'?action=stats&fold_id='.$my_item_id.$url_suffix
|
|
@@ -415,13 +415,13 @@ class Tracking
|
|
|
// The extend button for this attempt has been clicked.
|
|
|
$extend_this_attempt = 1;
|
|
|
$extend_attempt_link = Display::url(
|
|
|
- Display::return_icon('visible.gif', get_lang('HideAttemptView')),
|
|
|
+ Display::return_icon('visible.png', get_lang('HideAttemptView')),
|
|
|
api_get_self().'?action=stats&extend_id='.$my_item_id.'&fold_attempt_id='.$row['iv_id'].$url_suffix
|
|
|
);
|
|
|
} else { // Same case if fold_attempt_id is set, so not implemented explicitly.
|
|
|
// The extend button for this attempt has not been clicked.
|
|
|
$extend_attempt_link = Display::url(
|
|
|
- Display::return_icon('invisible.gif', get_lang('ExtendAttemptView')),
|
|
|
+ Display::return_icon('invisible.png', get_lang('ExtendAttemptView')),
|
|
|
api_get_self().'?action=stats&extend_id='.$my_item_id.'&extend_attempt_id='.$row['iv_id'].$url_suffix
|
|
|
);
|
|
|
}
|
|
@@ -459,7 +459,7 @@ class Tracking
|
|
|
if ($row['item_type'] != 'dir') {
|
|
|
if (!$is_allowed_to_edit && $result_disabled_ext_all) {
|
|
|
$view_score = Display::return_icon(
|
|
|
- 'invisible.gif',
|
|
|
+ 'invisible.png',
|
|
|
get_lang('ResultsHiddenByExerciseSetting')
|
|
|
);
|
|
|
} else {
|
|
@@ -631,14 +631,14 @@ class Tracking
|
|
|
// The extend button for this attempt has been clicked.
|
|
|
$extend_this_attempt = 1;
|
|
|
$extend_attempt_link = Display::url(
|
|
|
- Display::return_icon('visible.gif', get_lang('HideAttemptView')),
|
|
|
+ Display::return_icon('visible.png', get_lang('HideAttemptView')),
|
|
|
api_get_self().'?action=stats&extend_id='.$my_item_id.'&fold_attempt_id='.$row['iv_id'].$url_suffix
|
|
|
);
|
|
|
} else {
|
|
|
// Same case if fold_attempt_id is set, so not implemented explicitly.
|
|
|
// The extend button for this attempt has not been clicked.
|
|
|
$extend_attempt_link = Display::url(
|
|
|
- Display::return_icon('invisible.gif', get_lang('ExtendAttemptView')),
|
|
|
+ Display::return_icon('invisible.png', get_lang('ExtendAttemptView')),
|
|
|
api_get_self().'?action=stats&extend_id='.$my_item_id.'&extend_attempt_id='.$row['iv_id'].$url_suffix
|
|
|
);
|
|
|
}
|
|
@@ -652,7 +652,7 @@ class Tracking
|
|
|
$extend_link = '';
|
|
|
if ($inter_num > 1) {
|
|
|
$extend_link = Display::url(
|
|
|
- Display::return_icon('invisible.gif', get_lang('ExtendAttemptView')),
|
|
|
+ Display::return_icon('invisible.png', get_lang('ExtendAttemptView')),
|
|
|
api_get_self().'?action=stats&extend_id='.$my_item_id.'&extend_attempt_id='.$row['iv_id'].$url_suffix
|
|
|
);
|
|
|
}
|
|
@@ -879,7 +879,7 @@ class Tracking
|
|
|
if ($row['item_type'] == 'quiz') {
|
|
|
if (!$is_allowed_to_edit && $result_disabled_ext_all) {
|
|
|
$scoreItem .= Display::return_icon(
|
|
|
- 'invisible.gif',
|
|
|
+ 'invisible.png',
|
|
|
get_lang('ResultsHiddenByExerciseSetting')
|
|
|
);
|
|
|
} else {
|
|
@@ -1027,7 +1027,7 @@ class Tracking
|
|
|
}
|
|
|
if (!$is_allowed_to_edit && $result_disabled_ext_all) {
|
|
|
$view_score = Display::return_icon(
|
|
|
- 'invisible.gif',
|
|
|
+ 'invisible.png',
|
|
|
get_lang(
|
|
|
'ResultsHiddenByExerciseSetting'
|
|
|
)
|
|
@@ -1152,7 +1152,7 @@ class Tracking
|
|
|
$total_time = str_replace('NaN', '00'.$h.'00\'00"', $total_time);
|
|
|
|
|
|
if (!$is_allowed_to_edit && $result_disabled_ext_all) {
|
|
|
- $final_score = Display::return_icon('invisible.gif', get_lang('ResultsHiddenByExerciseSetting'));
|
|
|
+ $final_score = Display::return_icon('invisible.png', get_lang('ResultsHiddenByExerciseSetting'));
|
|
|
$finalScoreToCsv = get_lang('ResultsHiddenByExerciseSetting');
|
|
|
} else {
|
|
|
if (is_numeric($total_score)) {
|
|
@@ -1866,7 +1866,7 @@ class Tracking
|
|
|
$last_login_date = api_convert_and_format_date($last_login_date, DATE_FORMAT_SHORT);
|
|
|
$icon = api_is_allowed_to_edit() ?
|
|
|
'<a href="'.api_get_path(WEB_CODE_PATH).'announcements/announcements.php?action=add&remind_inactive='.$student_id.'&cidReq='.$courseInfo['code'].'" title="'.get_lang('RemindInactiveUser').'">
|
|
|
- '.Display::return_icon('messagebox_warning.gif').'
|
|
|
+ '.Display::return_icon('warning.png').'
|
|
|
</a>'
|
|
|
: null;
|
|
|
|