diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 89593335ed9..3d90762abd4 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -4365,14 +4365,11 @@ class Form $moreattr = (!empty($input['moreattr']) ? ' '.$input['moreattr'] : ''); $morecss = (!empty($input['morecss']) ? ' '.$input['morecss'] : ''); - if ($input['type'] == 'text') - { + if ($input['type'] == 'text') { $more .= '
| '.$langs->trans("ECMCreationDate").' | '; +print ' |
| '.$langs->trans("ECMCreationDate").' | '; print dol_print_date(dol_filemtime($fullpath), 'dayhour'); print ' |
| '.$langs->trans("ECMDirectoryForFiles").' | '; @@ -321,7 +321,9 @@ $urlwithroot = $urlwithouturlroot.DOL_URL_ROOT; // This is to use external domai //$urlwithroot=DOL_MAIN_URL_ROOT; // This is to use same domain name than current // Link for internal download -print ' |
| '.$langs->trans("DirectDownloadInternalLink").' | '; +print ' |
| '; +print $form->textwithpicto($langs->trans("DirectDownloadInternalLink"), $langs->trans("PrivateDownloadLinkDesc")); +print ' | '; $modulepart = 'ecm'; $forcedownload = 1; $rellink = '/document.php?modulepart='.$modulepart; @@ -347,9 +349,9 @@ print ' |
| '; if ($action != 'edit') { - print $langs->trans("DirectDownloadLink"); + print $form->textwithpicto($langs->trans("DirectDownloadLink"), $langs->trans("PublicDownloadLinkDesc")); } else { - print $langs->trans("FileSharedViaALink"); + print $form->textwithpicto($langs->trans("FileSharedViaALink"), $langs->trans("PublicDownloadLinkDesc")); } print ' | '; if (!empty($object->share)) { diff --git a/htdocs/langs/en_US/main.lang b/htdocs/langs/en_US/main.lang index a5cd750e3d6..f7c55df211f 100644 --- a/htdocs/langs/en_US/main.lang +++ b/htdocs/langs/en_US/main.lang @@ -899,8 +899,10 @@ ViewAccountList=View ledger ViewSubAccountList=View subaccount ledger RemoveString=Remove string '%s' SomeTranslationAreUncomplete=Some of the languages offered may be only partially translated or may contain errors. Please help to correct your language by registering at https://transifex.com/projects/p/dolibarr/ to add your improvements. -DirectDownloadLink=Direct download link (public/external) -DirectDownloadInternalLink=Direct download link (need to be logged and need permissions) +DirectDownloadLink=Public download link +PublicDownloadLinkDesc=Only the link is required to download the file +DirectDownloadInternalLink=Private download link +PrivateDownloadLinkDesc=You need to be logged and you need permissions to view or download the file Download=Download DownloadDocument=Download document ActualizeCurrency=Update currency rate @@ -1049,7 +1051,7 @@ KeyboardShortcut=Keyboard shortcut AssignedTo=Assigned to Deletedraft=Delete draft ConfirmMassDraftDeletion=Draft mass delete confirmation -FileSharedViaALink=File shared via a link +FileSharedViaALink=File shared with a public link SelectAThirdPartyFirst=Select a third party first... YouAreCurrentlyInSandboxMode=You are currently in the %s "sandbox" mode Inventory=Inventory |