mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Show lavatar text in caps
This commit is contained in:
parent
e88450037a
commit
29337d79d1
@ -80,7 +80,7 @@ class avatar
|
|||||||
$bgcolor = $_color ? $_color : self::_getBgColor($firstname.$lastname.$id);
|
$bgcolor = $_color ? $_color : self::_getBgColor($firstname.$lastname.$id);
|
||||||
|
|
||||||
// Letters to be shown
|
// Letters to be shown
|
||||||
$text = $firstname[0].$lastname[0];
|
$text = strtoupper($firstname[0].$lastname[0]);
|
||||||
|
|
||||||
//create an image
|
//create an image
|
||||||
$image = imagecreatetruecolor($_size, $_size);
|
$image = imagecreatetruecolor($_size, $_size);
|
||||||
|
Loading…
Reference in New Issue
Block a user