diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php index 1226d3b35ba..1b48d2789a8 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -796,6 +796,7 @@ class FormFile // Show list of existing files if (empty($useinecm)) print load_fiche_titre($title?$title:$langs->trans("AttachedFiles")); if (empty($url)) $url=$_SERVER["PHP_SELF"]; + print ''."\n"; print '
| '; + print ' | '; //print "XX".$file['name']; //$file['name'] must be utf8 print '\n"; - print ' | '.dol_print_size($file['size'],1,1).' | '; - print ''.dol_print_date($file['date'],"dayhour","tzuser").' | '; + print ''.dol_print_size($file['size'],1,1).' | '; + print ''.dol_print_date($file['date'],"dayhour","tzuser").' | '; // Preview if (empty($useinecm)) { @@ -871,7 +872,7 @@ class FormFile } // Delete or view link // ($param must start with &) - print ''; + print ' | '; if ($useinecm) print ''.img_view().' '; else { diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index ad72cd5f5ad..699563ffcfe 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -529,6 +529,13 @@ div.myavailability { .strikefordisabled { text-decoration: line-through; } +.tdoverflow { + max-width: 0; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + /* ============================================================================== */ /* Styles to hide objects */ diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index 1266f5799a2..151029aa712 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -517,6 +517,12 @@ div.myavailability { .strikefordisabled { text-decoration: line-through; } +.tdoverflow { + max-width: 0; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} /* ============================================================================== */ |