|
@@ -925,7 +925,9 @@ if (empty($_GET['details'])) {
|
|
$links = Tracking::count_student_visited_links($student_id, $course_code, $session_id);
|
|
$links = Tracking::count_student_visited_links($student_id, $course_code, $session_id);
|
|
$chat_last_connection = Tracking::chat_last_connection($student_id, $course_code, $session_id);
|
|
$chat_last_connection = Tracking::chat_last_connection($student_id, $course_code, $session_id);
|
|
$documents = Tracking::count_student_downloaded_documents($student_id, $course_code, $session_id);
|
|
$documents = Tracking::count_student_downloaded_documents($student_id, $course_code, $session_id);
|
|
-
|
|
|
|
|
|
+ $uploaded_documents = Tracking::count_student_uploaded_documents($student_id, $course_code, $session_id);
|
|
|
|
+
|
|
|
|
+
|
|
$csv_content[] = array (
|
|
$csv_content[] = array (
|
|
get_lang('Student_publication'),
|
|
get_lang('Student_publication'),
|
|
$nb_assignments
|
|
$nb_assignments
|
|
@@ -942,6 +944,10 @@ if (empty($_GET['details'])) {
|
|
get_lang('DocumentsDetails'),
|
|
get_lang('DocumentsDetails'),
|
|
$documents
|
|
$documents
|
|
);
|
|
);
|
|
|
|
+ $csv_content[] = array (
|
|
|
|
+ get_lang('UploadedDocuments'),
|
|
|
|
+ $uploaded_documents
|
|
|
|
+ );
|
|
$csv_content[] = array (
|
|
$csv_content[] = array (
|
|
get_lang('ChatLastConnection'),
|
|
get_lang('ChatLastConnection'),
|
|
$chat_last_connection
|
|
$chat_last_connection
|
|
@@ -962,10 +968,14 @@ if (empty($_GET['details'])) {
|
|
<td><?php echo get_lang('LinksDetails') ?></td>
|
|
<td><?php echo get_lang('LinksDetails') ?></td>
|
|
<td><?php echo $links ?></td>
|
|
<td><?php echo $links ?></td>
|
|
</tr>
|
|
</tr>
|
|
- <tr><!-- documents -->
|
|
|
|
|
|
+ <tr><!-- downloaded documents -->
|
|
<td><?php echo get_lang('DocumentsDetails') ?></td>
|
|
<td><?php echo get_lang('DocumentsDetails') ?></td>
|
|
<td><?php echo $documents ?></td>
|
|
<td><?php echo $documents ?></td>
|
|
</tr>
|
|
</tr>
|
|
|
|
+ <tr><!-- uploaded documents -->
|
|
|
|
+ <td><?php echo get_lang('UploadedDocuments') ?></td>
|
|
|
|
+ <td><?php echo $uploaded_documents ?></td>
|
|
|
|
+ </tr>
|
|
<tr><!-- Chats -->
|
|
<tr><!-- Chats -->
|
|
<td><?php echo get_lang('ChatLastConnection') ?></td>
|
|
<td><?php echo get_lang('ChatLastConnection') ?></td>
|
|
<td><?php echo $chat_last_connection; ?></td>
|
|
<td><?php echo $chat_last_connection; ?></td>
|