@@ 5253-5261 (lines=9) @@ | ||
5250 | ) { |
|
5251 | $copy_myfiles_link = ($filetype == 'file') ? api_get_self() . '?' . api_get_cidreq() . '&action=copytomyfiles&id=' . $document_data['id'] : api_get_self() . '?' . api_get_cidreq(); |
|
5252 | ||
5253 | if ($filetype == 'file') { |
|
5254 | ||
5255 | $copy_to_myfiles = '<a href="' . $copy_myfiles_link . '" style="float:right"' . $prevent_multiple_click . '>' . |
|
5256 | Display::return_icon('briefcase.png', get_lang('CopyToMyFiles'), array(), ICON_SIZE_SMALL) . ' </a>'; |
|
5257 | ||
5258 | if (api_get_setting('allow_my_files') === 'false') { |
|
5259 | $copy_to_myfiles = ''; |
|
5260 | } |
|
5261 | } |
|
5262 | ||
5263 | if ($filetype == 'file') { |
|
5264 | $send_to = Portfolio::share('document', $document_data['id'], array('style' => 'float:right;')); |
@@ 1079-1084 (lines=6) @@ | ||
1076 | ||
1077 | $item .= Display::tag('td', $attemptText); |
|
1078 | ||
1079 | if ($isDrhOfCourse) { |
|
1080 | $actions ='<a href="hotpotatoes_exercise_report.php?'.api_get_cidreq().'&path='.$path.'">'. |
|
1081 | Display :: return_icon('test_results.png', get_lang('Results'), '', ICON_SIZE_SMALL).'</a>'; |
|
1082 | ||
1083 | $item .= Display::tag('td', $actions, array('class' => 'td_actions')); |
|
1084 | } |
|
1085 | ||
1086 | $tableRows[] = Display::tag('tr', $item); |
|
1087 | } |