@@ 180-183 (lines=4) @@ | ||
177 | '<a href="'.$courseInfo['course_public_url'].'?id_session='.$id_session.'">'. |
|
178 | Display::return_icon('course_home.gif', get_lang('CourseHomepage')).'</a>'; |
|
179 | ||
180 | if ($my_course['status'] == STUDENT) { |
|
181 | $tools .= '<a href="user_information.php?action=unsubscribeSessionCourse&course_code='.$courseInfo['code'].'&user_id='.$userId.'&id_session='.$id_session.'">'. |
|
182 | Display::return_icon('delete.png', get_lang('Delete')).'</a>'; |
|
183 | } |
|
184 | ||
185 | $timeSpent = api_time_to_hms( |
|
186 | Tracking :: get_time_spent_on_the_course( |
@@ 2038-2041 (lines=4) @@ | ||
2035 | $link_to_download = null; |
|
2036 | ||
2037 | // If URL is present then there's a file to download keep BC. |
|
2038 | if ($work['contains_file'] || !empty($work['url'])) { |
|
2039 | $link_to_download = '<a href="'.$url.'download.php?id='.$item_id.'&'.api_get_cidreq().'">'. |
|
2040 | Display::return_icon('save.png', get_lang('Save'),array(), ICON_SIZE_SMALL).'</a> '; |
|
2041 | } |
|
2042 | ||
2043 | $send_to = Portfolio::share('work', $work['id'], array('style' => 'white-space:nowrap;')); |
|
2044 |