diff options
author | Graham Eames <grahamje@users.sourceforge.net> | 2005-11-28 21:01:40 +0000 |
---|---|---|
committer | Graham Eames <grahamje@users.sourceforge.net> | 2005-11-28 21:01:40 +0000 |
commit | ba6f40ce2542b87c7110dd9e38e4c0386b22da81 (patch) | |
tree | a50ce939593b14962190a22d7f428cdea151396c /phpBB/mcp.php | |
parent | 6d101df7dc3dc6f5542ccb11d626dcacbd148de6 (diff) | |
download | forums-ba6f40ce2542b87c7110dd9e38e4c0386b22da81.tar forums-ba6f40ce2542b87c7110dd9e38e4c0386b22da81.tar.gz forums-ba6f40ce2542b87c7110dd9e38e4c0386b22da81.tar.bz2 forums-ba6f40ce2542b87c7110dd9e38e4c0386b22da81.tar.xz forums-ba6f40ce2542b87c7110dd9e38e4c0386b22da81.zip |
Initial commit of user note support for the mcp
git-svn-id: file:///svn/phpbb/trunk@5314 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/mcp.php')
-rw-r--r-- | phpBB/mcp.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php index 06ccc6d58e..ab6cfc38b8 100644 --- a/phpBB/mcp.php +++ b/phpBB/mcp.php @@ -99,6 +99,9 @@ if (!$quickmod) $post_id = request_var('p', 0); $topic_id = request_var('t', 0); $forum_id = request_var('f', 0); + $user_id = request_var('u', 0); + $username = request_var('username', ''); + if ($post_id) { @@ -150,6 +153,7 @@ if (!$quickmod) if (!$post_id) { $module->set_display('post_details', false); + $module->set_display('post', false); } if (!$topic_id) { @@ -159,6 +163,10 @@ if (!$quickmod) { $module->set_display('forum_view', false); } + if (!$user_id && $username == '') + { + $module->set_display('user_notes', false); + } // Load and execute the relevant module $module->load_active(); |