|
|
|
@ -4886,18 +4886,23 @@ class CourseManager |
|
|
|
|
get_lang('GoToCourse'). ' ' . |
|
|
|
|
Display::returnFontAwesomeIcon('share'), |
|
|
|
|
api_get_path(WEB_COURSE_PATH) . $course_info['path'] . '/index.php', |
|
|
|
|
<<<<<<< HEAD |
|
|
|
|
array( |
|
|
|
|
'class' => 'btn btn-default btn-sm', |
|
|
|
|
'title' => get_lang('GoToCourse'), |
|
|
|
|
'aria-label' => get_lang('GoToCourse') |
|
|
|
|
) |
|
|
|
|
); |
|
|
|
|
======= |
|
|
|
|
array('class' => 'btn btn-default btn-sm', 'title' => get_lang('GoToCourse'), 'aria-label' => get_lang('GoToCourse'))); |
|
|
|
|
>>>>>>> Add aria label for icon buttons |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if ($access_link && in_array('unsubscribe', $access_link)) { |
|
|
|
|
$my_course['unsubscribe_button'] = Display::url( |
|
|
|
|
get_lang('Unreg') . ' ' . |
|
|
|
|
Display::returnFontAwesomeIcon('sign-out'), |
|
|
|
|
<<<<<<< HEAD |
|
|
|
|
api_get_path(WEB_CODE_PATH) . 'auth/courses.php?action=unsubscribe&unsubscribe=' |
|
|
|
|
. $courseCode . '&sec_token=' . $stok . '&category_code=' . $categoryCode, |
|
|
|
|
array( |
|
|
|
@ -4906,6 +4911,10 @@ class CourseManager |
|
|
|
|
'aria-label' => get_lang('Unreg') |
|
|
|
|
) |
|
|
|
|
); |
|
|
|
|
======= |
|
|
|
|
api_get_path(WEB_CODE_PATH) . 'auth/courses.php?action=unsubscribe&unsubscribe=' . $courseCode . '&sec_token=' . $stok . '&category_code=' . $categoryCode, |
|
|
|
|
array('class' => 'btn btn-danger btn-sm', 'title' => get_lang('Unreg'), 'aria-label' => get_lang('Unreg'))); |
|
|
|
|
>>>>>>> Add aria label for icon buttons |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// start buycourse validation |
|
|
|
|