From e911b7f1b1d2f0897c885dce25cc03b41ac8923e Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Mon, 19 Jan 2015 12:22:44 +0100 Subject: [PATCH] Minor - adding user name. --- main/work/work.lib.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/main/work/work.lib.php b/main/work/work.lib.php index 261473daba..1b3afd9edd 100755 --- a/main/work/work.lib.php +++ b/main/work/work.lib.php @@ -5065,6 +5065,7 @@ function exportAllStudentWorkFromPublication( $table = new HTML_Table(array('class' => 'data_table')); $headers = array( get_lang('Name'), + get_lang('User'), get_lang('HandOutDateLimit'), get_lang('SentDate'), get_lang('Filename'), @@ -5107,11 +5108,12 @@ function exportAllStudentWorkFromPublication( } $table->setCellContents($row, 0, strip_tags($workData['title'])); - $table->setCellContents($row, 1, $expiresOn); - $table->setCellContents($row, 2, api_get_local_time($work['sent_date_from_db'])); - $table->setCellContents($row, 3, strip_tags($work['title'])); - $table->setCellContents($row, 4, $score); - $table->setCellContents($row, 5, $feedback); + $table->setCellContents($row, 1, api_get_person_name(strip_tags($work['firstname']), strip_tags($work['lastname']))); + $table->setCellContents($row, 2, $expiresOn); + $table->setCellContents($row, 3, api_get_local_time($work['sent_date_from_db'])); + $table->setCellContents($row, 4, strip_tags($work['title'])); + $table->setCellContents($row, 5, $score); + $table->setCellContents($row, 6, $feedback); $row++; }