|
@@ -73,9 +73,11 @@ function display_action_links($id, $cur_dir_path, $show_tool_options, $display_u
|
|
|
if (empty($_GET['list']) or Security::remove_XSS($_GET['list']) == 'with') {
|
|
|
$display_output .= '<a href="'.api_get_self().'?'.api_get_cidreq().'&id='.$id.'&curdirpath='.$cur_dir_path.'&origin='.$origin.'&gradebook='.$gradebook.'&list=without">'.
|
|
|
Display::return_icon('exercice_uncheck.png', get_lang('ViewUsersWithoutTask'),'',ICON_SIZE_MEDIUM)."</a>\n";
|
|
|
+ $display_output .= '<a href="downloadfolder.inc.php?id='.$id.'">'.Display::return_icon('save_pack.png', get_lang('Save'), array('style' => 'float:right;'), ICON_SIZE_MEDIUM).'</a>';
|
|
|
} else {
|
|
|
$display_output .= '<a href="'.api_get_self().'?'.api_get_cidreq().'&id='.$id.'&curdirpath='.$cur_dir_path.'&origin='.$origin.'&gradebook='.$gradebook.'&list=with">'.
|
|
|
Display::return_icon('exercice_check.png', get_lang('ViewUsersWithTask'),'',ICON_SIZE_MEDIUM)."</a>\n";
|
|
|
+ $display_output .= '<a href="downloadfolder.inc.php?id='.$id.'">'.Display::return_icon('save_pack.png', get_lang('Save'), array('style' => 'float:right;'), ICON_SIZE_MEDIUM).'</a>';
|
|
|
if (!isset($_GET['action']) || (isset($_GET['action']) && $_GET['action'] != 'send_mail')) {
|
|
|
$display_output .= '<a href="'.api_get_self().'?'.api_get_cidreq().'&id='.$id.'&curdirpath='.$cur_dir_path.'&origin='.$origin.'&gradebook='.$gradebook.'&list=without&action=send_mail&sec_token='.$token.'">'.
|
|
|
Display::return_icon('mail_send.png', get_lang('ReminderMessage'),'',ICON_SIZE_MEDIUM)."</a>";
|
|
@@ -1998,4 +2000,4 @@ function display_list_users_without_publication($task_id) {
|
|
|
$column_show[] = 1;
|
|
|
$column_show[] = 1;
|
|
|
Display::display_sortable_config_table('work', $table_header, $table_data, $sorting_options, $paging_options, $my_params, $column_show);
|
|
|
-}
|
|
|
+}
|