diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php index 03fcd480d27..d866601cbcb 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -165,7 +165,10 @@ class FormFile $out .= ''; $out .= ''; $out .= '
'; + $out .= $langs->trans("Link") . ': '; $out .= ''; + $out .= '   ' . $langs->trans("Label") . ': '; + $out .= ''; $out .= ''; $out .= ''; $out .= 'url = $link; $linkObject->objecttype = GETPOST('objecttype', 'alpha'); $linkObject->objectid = GETPOST('objectid', 'int'); + $linkObject->label = GETPOST('label', 'alpha'); $res = $linkObject->create($user); if ($res > 0) { setEventMessage($langs->trans("LinkComplete"));