|
@@ 3628-3634 (lines=7) @@
|
| 3625 |
|
); |
| 3626 |
|
|
| 3627 |
|
$iconName = basename($course_info['course_image']); |
| 3628 |
|
if ($showCustomIcon === 'true' && $iconName != 'course.png') { |
| 3629 |
|
$status_icon = Display::img( |
| 3630 |
|
$course_info['course_image'], |
| 3631 |
|
api_htmlentities($course_info['title']), |
| 3632 |
|
array() |
| 3633 |
|
); |
| 3634 |
|
} |
| 3635 |
|
|
| 3636 |
|
$params = array(); |
| 3637 |
|
$params['right_actions'] = ''; |
|
@@ 3915-3921 (lines=7) @@
|
| 3912 |
|
|
| 3913 |
|
$showCustomIcon = api_get_setting('course_images_in_courses_list'); |
| 3914 |
|
$iconName = basename($course_info['course_image']); |
| 3915 |
|
if ($showCustomIcon === 'true' && $iconName != 'course.png') { |
| 3916 |
|
$params['icon'] = Display::img( |
| 3917 |
|
$course_info['course_image'], |
| 3918 |
|
api_htmlentities($course_info['name']), |
| 3919 |
|
array() |
| 3920 |
|
); |
| 3921 |
|
} |
| 3922 |
|
|
| 3923 |
|
$params['link'] = $session_url; |
| 3924 |
|
$params['title'] = $session_title; |