aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/search.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2006-03-18 10:54:14 +0000
committerNils Adermann <naderman@naderman.de>2006-03-18 10:54:14 +0000
commit9cd89343a297ff594d1a74459d1c9059e24c501f (patch)
tree7d2e05f26cb6643e8facb566dc0c21e884237a2d /phpBB/search.php
parentca1e11dc2a165542098819b6d722afd8eb05ab90 (diff)
downloadforums-9cd89343a297ff594d1a74459d1c9059e24c501f.tar
forums-9cd89343a297ff594d1a74459d1c9059e24c501f.tar.gz
forums-9cd89343a297ff594d1a74459d1c9059e24c501f.tar.bz2
forums-9cd89343a297ff594d1a74459d1c9059e24c501f.tar.xz
forums-9cd89343a297ff594d1a74459d1c9059e24c501f.zip
- replaced mcp reports system with a simplified version
- fixed links to mcp_reports git-svn-id: file:///svn/phpbb/trunk@5649 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/search.php')
-rw-r--r--phpBB/search.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/search.php b/phpBB/search.php
index 3c046ea2aa..afd35c50f8 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -617,13 +617,13 @@ if ($keywords || $author || $search_id)
'S_USER_POSTED' => (!empty($row['mark_type'])) ? true : false,
'S_UNREAD_TOPIC' => $unread_topic,
- 'S_TOPIC_REPORTED' => (!empty($row['topic_reported']) && $auth->acl_gets('m_', $forum_id)) ? true : false,
+ 'S_TOPIC_REPORTED' => (!empty($row['topic_reported']) && $auth->acl_gets('m_report', $forum_id)) ? true : false,
'S_TOPIC_UNAPPROVED' => (!$row['topic_approved'] && $auth->acl_gets('m_approve', $forum_id)) ? true : false,
'U_LAST_POST' => $view_topic_url . '&amp;p=' . $row['topic_last_post_id'] . '#p' . $row['topic_last_post_id'],
'U_LAST_POST_AUTHOR'=> ($row['topic_last_poster_id'] != ANONYMOUS && $row['topic_last_poster_id']) ? "{$phpbb_root_path}memberlist.$phpEx$SID&amp;mode=viewprofile&amp;u={$row['topic_last_poster_id']}" : '',
'U_NEWEST_POST' => $view_topic_url . '&amp;view=unread#unread',
- 'U_MCP_REPORT' => "{$phpbb_root_path}mcp.$phpEx?sid={$user->session_id}&amp;mode=reports&amp;t=$result_topic_id",
+ 'U_MCP_REPORT' => "{$phpbb_root_path}mcp.$phpEx?sid={$user->session_id}&amp;i=reports&amp;mode=reports&amp;t=$result_topic_id",
'U_MCP_QUEUE' => "{$phpbb_root_path}mcp.$phpEx?sid={$user->session_id}&amp;i=queue&amp;mode=approve_details&amp;t=$result_topic_id"
);
}