forked from Wavyzz/dolibarr
Print IPP fix and printer icon
This commit is contained in:
@@ -1847,6 +1847,20 @@ function img_delete($alt = 'default', $other = '')
|
||||
return img_picto($alt, 'delete.png', $other);
|
||||
}
|
||||
|
||||
/**
|
||||
* Show printer logo
|
||||
*
|
||||
* @param string $alt Text on alt image
|
||||
* @param string $other Add more attributes on img
|
||||
* @return string Retourne tag img
|
||||
*/
|
||||
function img_printer($alt = "default", $other='')
|
||||
{
|
||||
global $conf,$langs;
|
||||
if ($alt=="default") $alt=$langs->trans("Print");
|
||||
return img_picto($alt,'printer.png',$other);
|
||||
}
|
||||
|
||||
/**
|
||||
* Show help logo with cursor "?"
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user