|
|
|
@ -1114,8 +1114,8 @@ if (isset($docs_and_folders) && is_array($docs_and_folders)) { |
|
|
|
|
|
|
|
|
|
// Last edit date |
|
|
|
|
|
|
|
|
|
$last_edit_date = api_get_local_time($document_data['lastedit_date']); |
|
|
|
|
$display_date = date_to_str_ago($last_edit_date); |
|
|
|
|
$last_edit_date = api_get_local_time($document_data['lastedit_date']); |
|
|
|
|
$display_date = date_to_str_ago($last_edit_date).' <div class="muted"><small>'.$last_edit_date."</small></div>"; |
|
|
|
|
$row[] = $invisibility_span_open.$display_date.$invisibility_span_close; |
|
|
|
|
// Admins get an edit column |
|
|
|
|
|
|
|
|
@ -1232,7 +1232,7 @@ if (($is_allowed_to_edit || $group_member_with_upload_rights) && count($docs_and |
|
|
|
|
$table->set_header($column++, get_lang('Type'), true, array('style' => 'width:30px;')); |
|
|
|
|
$table->set_header($column++, get_lang('Name')); |
|
|
|
|
$table->set_header($column++, get_lang('Size'), true, array('style' => 'width:50px;')); |
|
|
|
|
$table->set_header($column++, get_lang('Date'), true, array('style' => 'width:105px;')); |
|
|
|
|
$table->set_header($column++, get_lang('Date'), true, array('style' => 'width:150px;')); |
|
|
|
|
// Admins get an edit column |
|
|
|
|
if ($is_allowed_to_edit || $group_member_with_upload_rights || is_my_shared_folder(api_get_user_id(), $curdirpath, $session_id)) { |
|
|
|
|
$table->set_header($column++, get_lang('Actions'), false, array('class' => 'td_actions')); |
|
|
|
|