aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_display.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2011-10-29 16:26:17 +0200
committerJoas Schilling <nickvergessen@gmx.de>2011-10-29 16:26:17 +0200
commitda8cac280c0d7067291ee173a06a92e24a906d6e (patch)
tree6616fed4df716ad035ad182293b108b31955e1c7 /phpBB/includes/functions_display.php
parent86f8851c403bb9f31b43a9656e844e5c925da19a (diff)
downloadforums-da8cac280c0d7067291ee173a06a92e24a906d6e.tar
forums-da8cac280c0d7067291ee173a06a92e24a906d6e.tar.gz
forums-da8cac280c0d7067291ee173a06a92e24a906d6e.tar.bz2
forums-da8cac280c0d7067291ee173a06a92e24a906d6e.tar.xz
forums-da8cac280c0d7067291ee173a06a92e24a906d6e.zip
[ticket/9036] Add template variable 'S_AUTH_READ' to forumlist
PHPBB3-9036
Diffstat (limited to 'phpBB/includes/functions_display.php')
-rw-r--r--phpBB/includes/functions_display.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php
index 14d0c44dcf..88be332eff 100644
--- a/phpBB/includes/functions_display.php
+++ b/phpBB/includes/functions_display.php
@@ -465,6 +465,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod
'S_NO_CAT' => $catless && !$last_catless,
'S_IS_LINK' => ($row['forum_type'] == FORUM_LINK) ? true : false,
'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_LIST_SUBFORUMS' => ($row['display_subforum_list']) ? true : false,
'S_SUBFORUMS' => (sizeof($subforums_list)) ? true : false,