diff --git a/htdocs/core/ajax/ajaxdirtree.php b/htdocs/core/ajax/ajaxdirtree.php
index 907a3cea79e..cfff81749de 100644
--- a/htdocs/core/ajax/ajaxdirtree.php
+++ b/htdocs/core/ajax/ajaxdirtree.php
@@ -202,7 +202,7 @@ if (! empty($conf->use_javascript_ajax) && empty($conf->global->MAIN_ECM_DISABLE
print '
'.img_view($langs->trans("Edit").' - '.$langs->trans("View"), 0, 'class="valignmiddle"').' | ';
+ print '">'.img_edit($langs->trans("Edit").' - '.$langs->trans("View"), 0, 'class="valignmiddle opacitymedium"').'';
// Add link
//print ''.img_edit_add().' | ';
diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php
index 7ae9dc29e18..7c457accadf 100644
--- a/htdocs/core/class/html.formfile.class.php
+++ b/htdocs/core/class/html.formfile.class.php
@@ -1200,7 +1200,7 @@ class FormFile
print '';
// Date
- print ''.dol_print_date($file['date'],"dayhour","tzuser").' | ';
+ print ''.dol_print_date($file['date'],"dayhour","tzuser").' | '; // 140px = width for date with PM format
// Preview
if (empty($useinecm))
@@ -1271,7 +1271,7 @@ class FormFile
print '';
if ($useinecm == 1)
{
- print ''.img_view('default', 0, 'class="paddingrightonly"').'';
+ print ''.img_edit('default', 0, 'class="paddingrightonly"').'';
}
if (! $useinecm || $useinecm == 2)
{
|