Print IPP fix and printer icon

This commit is contained in:
frederic34 2013-03-08 11:38:30 +01:00
parent 16c5427366
commit cdb1242bb5
3 changed files with 16 additions and 2 deletions

View File

@ -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 "?"
*

View File

@ -156,4 +156,4 @@ dol_fiche_end();
llxFooter();
$db->close();
?>
?>

View File

@ -58,4 +58,4 @@ function printippadmin_prepare_head()
return $head;
}
?>
?>