From 8147152ec88a819601a635ddd51edb22a78459ba Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 26 Jun 2018 11:25:28 +0200 Subject: [PATCH] Fix look and feel v8 --- htdocs/core/ajax/ajaxdirtree.php | 2 +- htdocs/core/class/html.formfile.class.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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) {