|
|
|
@ -39,7 +39,9 @@ $load_dirs = api_get_setting('show_documents_preview'); |
|
|
|
|
$displayMyCourseViewBySessionLink = api_get_setting('my_courses_view_by_session') === 'true'; |
|
|
|
|
$nameTools = get_lang('MyCourses'); |
|
|
|
|
|
|
|
|
|
// Load notification by ajax |
|
|
|
|
// Load course notification by ajax |
|
|
|
|
$loadNotificationsByAjax = api_get_configuration_value('user_portal_load_notification_by_ajax'); |
|
|
|
|
if ($loadNotificationsByAjax) { |
|
|
|
|
$htmlHeadXtra[] = '<script> |
|
|
|
|
$(function() { |
|
|
|
|
$(".course_notification").each(function(index) { |
|
|
|
@ -58,8 +60,8 @@ $(function() { |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
</script>'; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/* |
|
|
|
|
Header |
|
|
|
|