mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 00:07:44 +02:00
- correctly display subcategories
- use L_TRANSLATION_INFO [Bug #2357] - always begin with ACL_UNSET in permission trace - allow copy permissions when editing a forum - default to parent forum for copying permissions - no duplication of the breadcrumps on registration [Bug #2307] git-svn-id: file:///svn/phpbb/trunk@6107 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -156,7 +156,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod
|
||||
$parent_id = $forum_id;
|
||||
$forum_rows[$forum_id] = $row;
|
||||
|
||||
if (!$row['parent_id'] && $row['forum_type'] == FORUM_CAT && $row['parent_id'] == $root_data['forum_id'])
|
||||
if ($row['forum_type'] == FORUM_CAT && $row['parent_id'] == $root_data['forum_id'])
|
||||
{
|
||||
$branch_root_id = $forum_id;
|
||||
}
|
||||
@@ -228,7 +228,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod
|
||||
foreach ($forum_rows as $row)
|
||||
{
|
||||
// Empty category
|
||||
if (!$row['parent_id'] && $row['forum_type'] == FORUM_CAT)
|
||||
if ($row['parent_id'] == $root_data['forum_id'] && $row['forum_type'] == FORUM_CAT)
|
||||
{
|
||||
$template->assign_block_vars('forumrow', array(
|
||||
'S_IS_CAT' => true,
|
||||
|
Reference in New Issue
Block a user