forked from Wavyzz/dolibarr
style errors update
This commit is contained in:
@@ -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> <span class ="opacitymedium"><i " class="far fa-clipboard"></i></span></span>';
|
</span> <span class ="opacitymedium"><i " class="far fa-clipboard"></i></span></span>';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user