mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/10024] Populate unread information to template for styling issues.
PHPBB3-10024
This commit is contained in:
parent
0c23d6c069
commit
ffe691db10
1 changed files with 1 additions and 0 deletions
|
@ -169,6 +169,7 @@ function view_folder($id, $mode, $folder_id, $folder)
|
||||||
'PM_IMG' => ($row_indicator) ? $user->img('pm_' . $row_indicator, '') : '',
|
'PM_IMG' => ($row_indicator) ? $user->img('pm_' . $row_indicator, '') : '',
|
||||||
'ATTACH_ICON_IMG' => ($auth->acl_get('u_pm_download') && $row['message_attachment'] && $config['allow_pm_attach']) ? $user->img('icon_topic_attach', $user->lang['TOTAL_ATTACHMENTS']) : '',
|
'ATTACH_ICON_IMG' => ($auth->acl_get('u_pm_download') && $row['message_attachment'] && $config['allow_pm_attach']) ? $user->img('icon_topic_attach', $user->lang['TOTAL_ATTACHMENTS']) : '',
|
||||||
|
|
||||||
|
'S_PM_UNREAD' => ($row['pm_unread']) ? true : false,
|
||||||
'S_PM_DELETED' => ($row['pm_deleted']) ? true : false,
|
'S_PM_DELETED' => ($row['pm_deleted']) ? true : false,
|
||||||
'S_PM_REPORTED' => (isset($row['report_id'])) ? true : false,
|
'S_PM_REPORTED' => (isset($row['report_id'])) ? true : false,
|
||||||
'S_AUTHOR_DELETED' => ($row['author_id'] == ANONYMOUS) ? true : false,
|
'S_AUTHOR_DELETED' => ($row['author_id'] == ANONYMOUS) ? true : false,
|
||||||
|
|
Loading…
Add table
Reference in a new issue