mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/9036] Add template variable 'S_AUTH_READ' to forumlist
PHPBB3-9036
This commit is contained in:
parent
86f8851c40
commit
da8cac280c
1 changed files with 1 additions and 0 deletions
|
@ -465,6 +465,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod
|
||||||
'S_NO_CAT' => $catless && !$last_catless,
|
'S_NO_CAT' => $catless && !$last_catless,
|
||||||
'S_IS_LINK' => ($row['forum_type'] == FORUM_LINK) ? true : false,
|
'S_IS_LINK' => ($row['forum_type'] == FORUM_LINK) ? true : false,
|
||||||
'S_UNREAD_FORUM' => $forum_unread,
|
'S_UNREAD_FORUM' => $forum_unread,
|
||||||
|
'S_AUTH_READ' => $auth->acl_get('f_read', $row['forum_id']),
|
||||||
'S_LOCKED_FORUM' => ($row['forum_status'] == ITEM_LOCKED) ? true : false,
|
'S_LOCKED_FORUM' => ($row['forum_status'] == ITEM_LOCKED) ? true : false,
|
||||||
'S_LIST_SUBFORUMS' => ($row['display_subforum_list']) ? true : false,
|
'S_LIST_SUBFORUMS' => ($row['display_subforum_list']) ? true : false,
|
||||||
'S_SUBFORUMS' => (sizeof($subforums_list)) ? true : false,
|
'S_SUBFORUMS' => (sizeof($subforums_list)) ? true : false,
|
||||||
|
|
Loading…
Add table
Reference in a new issue