diff options
author | Andreas Fischer <bantu@phpbb.com> | 2011-11-01 20:08:44 +0100 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2011-11-01 20:08:44 +0100 |
commit | d4cc53dfef781d2bd78acd82f53f53ea38f7a155 (patch) | |
tree | 0697d2d27c5863786edcbdd702da853a08f73c04 | |
parent | 589f7ac8e4739eca623f53788342f06d5f304163 (diff) | |
parent | 0b1199f7b2eaa99ea7c1ed49dca77d52f4ae49f5 (diff) | |
download | forums-d4cc53dfef781d2bd78acd82f53f53ea38f7a155.tar forums-d4cc53dfef781d2bd78acd82f53f53ea38f7a155.tar.gz forums-d4cc53dfef781d2bd78acd82f53f53ea38f7a155.tar.bz2 forums-d4cc53dfef781d2bd78acd82f53f53ea38f7a155.tar.xz forums-d4cc53dfef781d2bd78acd82f53f53ea38f7a155.zip |
Merge branch 'develop-olympus' into develop
* develop-olympus:
[ticket/9036] Add template variable 'S_AUTH_READ' to forumlist
-rw-r--r-- | phpBB/includes/functions_display.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php index 4e8d8f7d34..f508adbce9 100644 --- a/phpBB/includes/functions_display.php +++ b/phpBB/includes/functions_display.php @@ -446,6 +446,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, |