1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-08 01:36:57 +02:00

Initial commit of user note support for the mcp

git-svn-id: file:///svn/phpbb/trunk@5314 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Graham Eames
2005-11-28 21:01:40 +00:00
parent 6d101df7dc
commit ba6f40ce25
7 changed files with 347 additions and 41 deletions

View File

@@ -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();