diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php
index 8b1469dd446..7b689814960 100644
--- a/htdocs/core/class/html.formfile.class.php
+++ b/htdocs/core/class/html.formfile.class.php
@@ -110,7 +110,7 @@ class FormFile
$maxlength = $size;
- $out = "\n\n\n";
+ $out = "\n\n".'
'."\n";
if (empty($title)) $title = $langs->trans("AttachANewFile");
if ($title != 'none') $out .= load_fiche_titre($title, null, null);
@@ -220,11 +220,11 @@ class FormFile
if (empty($sectionid)) $out .= '
';
}
- $out .= "\n\n";
+ $out .= "\n
\n";
if ($linkfiles)
{
- $out .= "\n\n";
+ $out .= "\n".''."\n";
$langs->load('link');
$title = $langs->trans("LinkANewFile");
$out .= load_fiche_titre($title, null, null);
@@ -260,7 +260,7 @@ class FormFile
$out .= '
';
}
- $out .= "\n\n";
+ $out .= "\n
\n";
}
$parameters = array('socid'=>(isset($GLOBALS['socid']) ? $GLOBALS['socid'] : ''), 'id'=>(isset($GLOBALS['id']) ? $GLOBALS['id'] : ''), 'url'=>$url, 'perm'=>$perm);
@@ -1174,7 +1174,7 @@ class FormFile
}
// Show list of existing files
- if ((empty($useinecm) || $useinecm == 6) && $title != 'none') print load_fiche_titre($title ? $title : $langs->trans("AttachedFiles"));
+ if ((empty($useinecm) || $useinecm == 6) && $title != 'none') print load_fiche_titre($title ? $title : $langs->trans("AttachedFiles"), '', 'file-upload', 0, '', 'table-list-of-attached-files');
if (empty($url)) $url = $_SERVER["PHP_SELF"];
print ''."\n";
@@ -1790,7 +1790,7 @@ class FormFile
print ''."\n";
// Show list of associated links
- print load_fiche_titre($langs->trans("LinkedFiles"));
+ print load_fiche_titre($langs->trans("LinkedFiles"), '', 'external-link-square-alt', 0, '', 'table-list-of-links');
print '