diff options
author | Nils Adermann <naderman@naderman.de> | 2006-03-18 10:54:14 +0000 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2006-03-18 10:54:14 +0000 |
commit | 9cd89343a297ff594d1a74459d1c9059e24c501f (patch) | |
tree | 7d2e05f26cb6643e8facb566dc0c21e884237a2d /phpBB/viewtopic.php | |
parent | ca1e11dc2a165542098819b6d722afd8eb05ab90 (diff) | |
download | forums-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/viewtopic.php')
-rw-r--r-- | phpBB/viewtopic.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 061c973e31..d403e6b877 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -1289,7 +1289,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i) 'U_JABBER' => $user_cache[$poster_id]['jabber'], 'U_REPORT' => ($auth->acl_get('f_report', $forum_id)) ? "{$phpbb_root_path}report.$phpEx$SID&p=" . $row['post_id'] : '', - 'U_MCP_REPORT' => ($auth->acl_gets('m_', 'a_', 'f_report', $forum_id)) ? "{$phpbb_root_path}mcp.$phpEx$SID&i=main&mode=post_details&p=" . $row['post_id'] : '', + 'U_MCP_REPORT' => ($auth->acl_gets('m_report', $forum_id)) ? "{$phpbb_root_path}mcp.$phpEx$SID&i=reports&mode=report_details&p=" . $row['post_id'] : '', 'U_MCP_APPROVE' => ($auth->acl_get('m_approve', $forum_id)) ? "{$phpbb_root_path}mcp.$phpEx$SID&i=queue&mode=unapproved_posts&action=approve&post_id_list[]=" . $row['post_id'] : '', 'U_MINI_POST' => "{$phpbb_root_path}viewtopic.$phpEx$SID&p=" . $row['post_id'] . '#p' . $row['post_id'], 'U_NEXT_POST_ID' => ($i < $i_total && isset($rowset[$i + 1])) ? $rowset[$i + 1]['post_id'] : '', @@ -1301,7 +1301,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i) 'S_HAS_ATTACHMENTS' => (!empty($attachments[$row['post_id']])) ? true : false, 'S_POST_UNAPPROVED' => ($row['post_approved']) ? false : true, - 'S_POST_REPORTED' => ($row['post_reported'] && $auth->acl_get('m_', $forum_id)) ? true : false, + 'S_POST_REPORTED' => ($row['post_reported'] && $auth->acl_get('m_report', $forum_id)) ? true : false, 'S_DISPLAY_NOTICE' => $display_notice && $row['post_attachment'], 'S_FRIEND' => ($row['friend']) ? true : false, 'S_UNREAD_POST' => $post_unread, |