|
|
|
@ -45,6 +45,19 @@ $language_file[] = 'tracking'; |
|
|
|
|
$language_file[] = 'scorm'; |
|
|
|
|
|
|
|
|
|
include('../inc/global.inc.php'); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$is_allowedToTrack = $is_courseAdmin || $is_platformAdmin; |
|
|
|
|
|
|
|
|
|
if(!$is_allowedToTrack) |
|
|
|
|
{ |
|
|
|
|
Display :: display_header(); |
|
|
|
|
api_not_allowed(); |
|
|
|
|
Display :: display_footer(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//includes for SCORM and LP |
|
|
|
|
require_once('../newscorm/learnpath.class.php'); |
|
|
|
|
require_once('../newscorm/learnpathItem.class.php'); |
|
|
|
@ -55,6 +68,8 @@ require_once(api_get_path(LIBRARY_PATH).'course.lib.php'); |
|
|
|
|
require_once(api_get_path(LIBRARY_PATH).'usermanager.lib.php'); |
|
|
|
|
require_once (api_get_path(LIBRARY_PATH).'export.lib.inc.php'); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$export_csv = isset($_GET['export']) && $_GET['export'] == 'csv' ? true : false; |
|
|
|
|
if($export_csv) |
|
|
|
|
{ |
|
|
|
@ -120,8 +135,6 @@ Display::display_header($nameTools, "Tracking"); |
|
|
|
|
include(api_get_path(LIBRARY_PATH)."statsUtils.lib.inc.php"); |
|
|
|
|
include("../resourcelinker/resourcelinker.inc.php"); |
|
|
|
|
|
|
|
|
|
$is_allowedToTrack = $is_courseAdmin || $is_platformAdmin; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$a_students = CourseManager :: get_student_list_from_course_code($_course['id'], true); |
|
|
|
|