aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2009-08-20 12:04:55 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2009-08-20 12:04:55 +0000
commit6d763f7d1e549e6e2e13bef30cb5c39f2c38b07f (patch)
tree98fd1f61909d6c231f9277b0e05fae2702a605c4
parent69a896fcc067b36036150d59de6a2039d6219969 (diff)
downloadforums-6d763f7d1e549e6e2e13bef30cb5c39f2c38b07f.tar
forums-6d763f7d1e549e6e2e13bef30cb5c39f2c38b07f.tar.gz
forums-6d763f7d1e549e6e2e13bef30cb5c39f2c38b07f.tar.bz2
forums-6d763f7d1e549e6e2e13bef30cb5c39f2c38b07f.tar.xz
forums-6d763f7d1e549e6e2e13bef30cb5c39f2c38b07f.zip
add feed switch to forumrow, so forums can be styled correctly (with an rss icon for example)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10026 89ea8834-ac86-4346-8a33-228a782c2dd0
-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 569e1e6400..225603a8b3 100644
--- a/phpBB/includes/functions_display.php
+++ b/phpBB/includes/functions_display.php
@@ -456,6 +456,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod
'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,
+ 'S_FEED_ENABLED' => ($config['feed_forum'] && !phpbb_optionget(FORUM_OPTION_FEED_EXCLUDE, $row['forum_options'])) ? true : false,
'FORUM_ID' => $row['forum_id'],
'FORUM_NAME' => $row['forum_name'],