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->getName(), ]; } $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::return_icon('back.png', get_lang('Back to Assignments list'), '', ICON_SIZE_MEDIUM).''; if (!empty($workId)) { if (empty($_GET['list']) or 'with' == Security::remove_XSS($_GET['list'])) { $actions .= ''. Display::return_icon('exercice_uncheck.png', get_lang('ViewLearners who didn\'t send their work'), '', ICON_SIZE_MEDIUM). ''; } else { if (!isset($_GET['action']) || (isset($_GET['action']) && 'send_mail' != $_GET['action'])) { $actions .= ''. Display::return_icon('mail_send.png', get_lang('Send a reminder'), '', ICON_SIZE_MEDIUM). ''; } else { $actions .= Display::return_icon('mail_send_na.png', get_lang('Send a reminder'), '', ICON_SIZE_MEDIUM); } } } echo Display::toolbarAction('toolbar', [$actions]); display_list_users_without_publication($workId);