|
|
|
@ -1861,6 +1861,18 @@ switch ($report) { |
|
|
|
$frmFields = TrackingCourseLog::displayAdditionalProfileFields([], api_get_self()); |
|
|
|
$frmFields = TrackingCourseLog::displayAdditionalProfileFields([], api_get_self()); |
|
|
|
$table = Statistics::returnDuplicatedUsersTable($additionalExtraFieldsInfo); |
|
|
|
$table = Statistics::returnDuplicatedUsersTable($additionalExtraFieldsInfo); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (isset($_GET['action_table'])) { |
|
|
|
|
|
|
|
$data = $table->toArray(true, true); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ('export_excel' === $_GET['action_table']) { |
|
|
|
|
|
|
|
Export::arrayToXls($data); |
|
|
|
|
|
|
|
} elseif ('export_csv' === $_GET['action_table']) { |
|
|
|
|
|
|
|
Export::arrayToCsv($data); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
exit; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
$htmlHeadXtra[] = '<script>'.UserManager::getScriptFunctionForActiveFilter().'</script>'; |
|
|
|
$htmlHeadXtra[] = '<script>'.UserManager::getScriptFunctionForActiveFilter().'</script>'; |
|
|
|
|
|
|
|
|
|
|
|
$content .= Display::page_subheader2(get_lang('DuplicatedUsers')); |
|
|
|
$content .= Display::page_subheader2(get_lang('DuplicatedUsers')); |
|
|
|
|