mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/15233] Standardize variable generation
PHPBB3-15233
This commit is contained in:
@@ -297,14 +297,16 @@ abstract class base implements \phpbb\notification\type\type_interface
|
||||
'TIME' => $this->user->format_date($this->notification_time),
|
||||
'UNREAD' => !$this->notification_read,
|
||||
|
||||
'AVATAR' => $avatar ? $avatar['html'] : '',
|
||||
'AVATAR_LAZY' => $avatar ? $avatar['lazy'] : true,
|
||||
'AVATAR_SRC' => $avatar ? $avatar['src'] : '',
|
||||
'AVATAR_SOURCE' => $avatar ? $avatar['src'] : '',
|
||||
'AVATAR_TITLE' => $avatar ? $avatar['title'] : '',
|
||||
'AVATAR_TYPE' => $avatar ? $avatar['type'] : '',
|
||||
|
||||
'AVATAR_WIDTH' => $avatar ? $avatar['width'] : 0,
|
||||
'AVATAR_HEIGHT' => $avatar ? $avatar['height'] : 0,
|
||||
|
||||
'AVATAR_HTML' => $avatar ? $avatar['html'] : '',
|
||||
'AVATAR_LAZY' => $avatar ? $avatar['lazy'] : true,
|
||||
|
||||
'U_MARK_READ' => (!$this->notification_read) ? $u_mark_read : '',
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user