|
|
|
|
@ -693,15 +693,8 @@ function display_student_publications_list($work_dir, $sub_course_dir, $currentC |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if ($direc_date != '' && $direc_date != '0000-00-00 00:00:00') { |
|
|
|
|
|
|
|
|
|
$direc_date = api_get_local_time($direc_date, null, null, date_default_timezone_get()); |
|
|
|
|
/* |
|
|
|
|
$my_direc_date = api_ucfirst(format_locale_date($dateFormatShort, strtotime($direc_date))).' '; |
|
|
|
|
$my_direc_date .= api_ucfirst(strftime($timeNoSecFormat, strtotime($direc_date))); |
|
|
|
|
*/ |
|
|
|
|
$my_direc_date = $direc_date; |
|
|
|
|
|
|
|
|
|
$row[] = date_to_str_ago($direc_date).'<br /><span class="dropbox_date">'.$my_direc_date.'</span>'.'<!--uts='.strtotime($direc_date).'-->'; |
|
|
|
|
$direc_date = api_get_local_time($direc_date, 'Y-m-d H:i:s', null, date_default_timezone_get()); |
|
|
|
|
$row[] = date_to_str_ago($direc_date).'<br /><span class="dropbox_date">'.api_format_date_time_long($direc_date).'</span>'.'<!--uts='.strtotime($direc_date).'-->'; |
|
|
|
|
} else { |
|
|
|
|
$row[] = ''; |
|
|
|
|
} |
|
|
|
|
@ -761,14 +754,8 @@ function display_student_publications_list($work_dir, $sub_course_dir, $currentC |
|
|
|
|
$row[] = '<a href="download.php?file='.$url.'"'.$class.'><img src="../img/filesave.gif" style="float:right;" alt="'.get_lang('Save').'" title="'.get_lang('Save').'" />'.$work->title.'</a><br />'.$work->description; |
|
|
|
|
$row[] = display_user_link_work($row2['insert_user_id'], $work->author).$qualification_string; // $work->author; |
|
|
|
|
|
|
|
|
|
$work_sent_date = api_get_local_time($work->sent_date, null, null, date_default_timezone_get()); |
|
|
|
|
/* |
|
|
|
|
$sent_date = api_ucfirst(format_locale_date($dateFormatShort, strtotime($work_sent_date))).' '; |
|
|
|
|
$sent_date .= api_ucfirst(strftime($timeNoSecFormat, strtotime($work_sent_date))); |
|
|
|
|
*/ |
|
|
|
|
$sent_date = $work_sent_date; |
|
|
|
|
|
|
|
|
|
$row[] = date_to_str_ago($work->sent_date).$add_string.'<br /><span class="dropbox_date">'.$sent_date.'</span>'.'<!--uts='.strtotime($work->sent_date).'-->'; |
|
|
|
|
$work_sent_date = api_get_local_time($work->sent_date, 'Y-m-d H:i:s', null, date_default_timezone_get()); |
|
|
|
|
$row[] = date_to_str_ago($work_sent_date).$add_string.'<br /><span class="dropbox_date">'.api_format_date_time_long($work_sent_date).'</span>'.'<!--uts='.strtotime($work_sent_date).'-->'; |
|
|
|
|
|
|
|
|
|
if ($is_allowed_to_edit) { |
|
|
|
|
|
|
|
|
|
|