diff options
author | Graham Eames <grahamje@users.sourceforge.net> | 2006-06-10 11:51:10 +0000 |
---|---|---|
committer | Graham Eames <grahamje@users.sourceforge.net> | 2006-06-10 11:51:10 +0000 |
commit | a3570cd0484594247bccdd423d1d5e4a7094025d (patch) | |
tree | ee276438b7a0f66177fa0d9e10a05af9baf4b04d /phpBB/includes/mcp/mcp_post.php | |
parent | 793d9b8c53cf6cd3c45d4f0d3d8049a2355e7c2e (diff) | |
download | forums-a3570cd0484594247bccdd423d1d5e4a7094025d.tar forums-a3570cd0484594247bccdd423d1d5e4a7094025d.tar.gz forums-a3570cd0484594247bccdd423d1d5e4a7094025d.tar.bz2 forums-a3570cd0484594247bccdd423d1d5e4a7094025d.tar.xz forums-a3570cd0484594247bccdd423d1d5e4a7094025d.zip |
Warn user links #2153
git-svn-id: file:///svn/phpbb/trunk@6036 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/mcp/mcp_post.php')
-rw-r--r-- | phpBB/includes/mcp/mcp_post.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_post.php b/phpBB/includes/mcp/mcp_post.php index f8f7b9a16b..755cd52683 100644 --- a/phpBB/includes/mcp/mcp_post.php +++ b/phpBB/includes/mcp/mcp_post.php @@ -117,7 +117,7 @@ function mcp_post_details($id, $mode, $action) 'U_FIND_MEMBER' => append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=searchuser&form=mcp_chgposter&field=username'), 'U_VIEW_PROFILE' => append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=viewprofile&u=' . $post_info['user_id']), 'U_MCP_USER_NOTES' => ($auth->acl_gets('m_', 'a_')) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=notes&mode=user_notes&u=' . $post_info['user_id']) : '', - 'U_MCP_WARN_USER' => append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=warn&mode=warn_user&u=' . $post_info['user_id']), + 'U_MCP_WARN_USER' => ($auth->acl_getf_global('m_warn')) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=warn&mode=warn_user&u=' . $post_info['user_id']) : '', 'U_EDIT' => ($auth->acl_get('m_edit', $post_info['forum_id'])) ? append_sid("{$phpbb_root_path}posting.$phpEx", "mode=edit&f={$post_info['forum_id']}&p={$post_info['post_id']}") : '', 'RETURN_TOPIC' => sprintf($user->lang['RETURN_TOPIC'], '<a href="' . append_sid("{$phpbb_root_path}viewtopic.$phpEx", "p=$post_id") . "#p$post_id\">", '</a>'), |