2
0
forked from Wavyzz/dolibarr

style errors update

This commit is contained in:
lmarcouiller
2021-01-22 17:03:39 +01:00
parent d1050a91f6
commit cfcd51f291

View File

@@ -9235,13 +9235,10 @@ function readfileLowMemory($fullpath_original_file_osencoded, $method = -1)
/** /**
* Create a button to copy $valuetoprint in the clipboard * Create a button to copy $valuetoprint in the clipboard
* @param string $valuetoprint the value to print * @param string $valuetoprint the value to print
* @param string $spanid unique id for a span
* @param Translate $langs the $langs variable
* @return string the string to print for the button * @return string the string to print for the button
*/ */
function showValueWithCopyAndPasteButton($valuetoprint) function showValueWithCopyAndPasteButton($valuetoprint)
{ {
return '<span class="clipboardCopyPaste"><span>'.dol_escape_js($valuetoprint).' return '<span class="clipboardCopyPaste"><span>'.dol_escape_js($valuetoprint).'
</span>&ensp;<span class ="opacitymedium"><i " class="far fa-clipboard"></i></span></span>'; </span>&ensp;<span class ="opacitymedium"><i " class="far fa-clipboard"></i></span></span>';
} }