api_get_path(WEB_CODE_PATH).'group/group.php?'.api_get_cidreq(),
'name' => get_lang('Groups'),
];
$interbreadcrumb[] = [
'url' => api_get_path(WEB_CODE_PATH).'group/group_space.php?gid='.$group_id,
'name' => get_lang('Group area').' '.$group_properties->getTitle(),
];
}
$interbreadcrumb[] = [
'url' => api_get_path(WEB_CODE_PATH).'work/work.php?'.api_get_cidreq(),
'name' => get_lang('Assignments'),
];
$interbreadcrumb[] = [
'url' => api_get_path(WEB_CODE_PATH).'work/work_list_all.php?'.api_get_cidreq().'&id='.$workId,
'name' => $my_folder_data['title'],
];
if (isset($_GET['list']) && 'with' === $_GET['list']) {
$interbreadcrumb[] = ['url' => '#', 'name' => get_lang('Learners who sent their work')];
} else {
$interbreadcrumb[] = ['url' => '#', 'name' => get_lang('Learners who didn\'t send their work')];
}
Display::display_header(null);
$actions = ''.
Display::getMdiIcon(ActionIcon::BACK, 'ch-tool-icon', null, ICON_SIZE_MEDIUM, get_lang('Back to Assignments list')).'';
if (!empty($workId)) {
if (empty($_GET['list']) or 'with' == Security::remove_XSS($_GET['list'])) {
$actions .= ''.
Display::getMdiIcon(ActionIcon::GRADE, 'ch-tool-icon-disabled', null, ICON_SIZE_MEDIUM, get_lang('ViewLearners who didn\'t send their work')).
'';
} else {
if (!isset($_GET['action']) || (isset($_GET['action']) && 'send_mail' != $_GET['action'])) {
$actions .= ''.
Display::getMdiIcon(ActionIcon::SEND_MESSAGE, 'ch-tool-icon', null, ICON_SIZE_MEDIUM, get_lang('Send a reminder')).
'';
} else {
$actions .= Display::getMdiIcon(ActionIcon::SEND_MESSAGE, 'ch-tool-icon-disabled', null, ICON_SIZE_MEDIUM, get_lang('Send a reminder'));
}
}
}
echo Display::toolbarAction('toolbar', [$actions]);
display_list_users_without_publication($workId);