diff --git a/htdocs/admin/system/filecheck.php b/htdocs/admin/system/filecheck.php index 3cef158c2ea..309d20e0abe 100644 --- a/htdocs/admin/system/filecheck.php +++ b/htdocs/admin/system/filecheck.php @@ -337,7 +337,13 @@ if (! $error && $xml) $i++; $out.=''; $out.=''.$i.'' . "\n"; - $out.=''.$file['filename'].'' . "\n"; + $out.=''.$file['filename']; + $out.=PHP_OS; + if (! preg_match('/^win/i',PHP_OS)) { + $htmltext=$langs->trans("YouCanDeleteFileOnServerWith", 'rm '.DOL_DOCUMENT_ROOT.'/'.$file['filename']); + $out.=' '.$form->textwithpicto('', $htmltext, 1, 'help', '', 0, 2, 'helprm'); + } + $out.='' . "\n"; $out.=''.$file['expectedmd5'].'' . "\n"; $out.=''.$file['md5'].'' . "\n"; $size = dol_filesize(DOL_DOCUMENT_ROOT.'/'.$file['filename']); diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang index 10aed915864..b99c317c80e 100644 --- a/htdocs/langs/en_US/admin.lang +++ b/htdocs/langs/en_US/admin.lang @@ -1795,6 +1795,7 @@ COMPANY_AQUARIUM_REMOVE_SPECIAL=Remove special characters COMPANY_AQUARIUM_CLEAN_REGEX=Regex filter to clean value (COMPANY_AQUARIUM_CLEAN_REGEX) GDPRContact=Privacy Policies or GDPR contact GDPRContactDesc=If you store data about European companies/citizen, you can store here the contact who is responsible for the General Data Protection Regulation +YouCanDeleteFileOnServerWith=You can delete this file on server with Command Line:
%s ##### Resource #### ResourceSetup=Configuration du module Resource UseSearchToSelectResource=Use a search form to choose a resource (rather than a drop-down list).