1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 11:13:59 +02:00

Merge pull request #4836 from hanakin/ticket/15234

[ticket/15234] quickfix notification avatar sizes
This commit is contained in:
Marc Alexander
2017-06-05 11:55:06 +02:00
4 changed files with 7 additions and 5 deletions

View File

@@ -40,7 +40,7 @@ class gravatar extends \phpbb\avatar\driver\driver
*/
public function get_custom_html($user, $row, $alt = '')
{
return '<img src="' . $this->get_gravatar_url($row) . '" ' .
return '<img class="gravatar" src="' . $this->get_gravatar_url($row) . '" ' .
($row['avatar_width'] ? ('width="' . $row['avatar_width'] . '" ') : '') .
($row['avatar_height'] ? ('height="' . $row['avatar_height'] . '" ') : '') .
'alt="' . ((!empty($user->lang[$alt])) ? $user->lang[$alt] : $alt) . '" />';