Get user lookups working [#1281, #1282]

git-svn-id: file:///svn/phpbb/trunk@5714 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Graham Eames 2006-03-25 15:30:57 +00:00
parent d1676cb6bf
commit 791b580f43
2 changed files with 6 additions and 2 deletions

View file

@ -39,7 +39,7 @@ class mcp_notes
{ {
case 'front': case 'front':
$template->assign_vars(array( $template->assign_vars(array(
'U_FIND_MEMBER' => "memberlist.$phpEx$SID&mode=searchuser&field=username", 'U_FIND_MEMBER' => "memberlist.$phpEx$SID&mode=searchuser&form=mcp&field=username",
'U_POST_ACTION' => "mcp.$phpEx$SID&i=notes&mode=user_notes", 'U_POST_ACTION' => "mcp.$phpEx$SID&i=notes&mode=user_notes",
) )
); );

View file

@ -99,7 +99,11 @@ function mcp_warn_front_view($id, $mode)
global $SID, $phpEx, $phpbb_root_path, $config; global $SID, $phpEx, $phpbb_root_path, $config;
global $template, $db, $user, $auth; global $template, $db, $user, $auth;
$template->assign_var('U_POST_ACTION', "mcp.$phpEx$SID&i=warn&mode=warn_user"); $template->assign_vars(array(
'U_FIND_MEMBER' => "memberlist.$phpEx$SID&mode=searchuser&form=mcp&field=username",
'U_POST_ACTION' => "mcp.$phpEx$SID&i=warn&mode=warn_user",
)
);
// Obtain a list of the 5 naughtiest users.... // Obtain a list of the 5 naughtiest users....
// These are the 5 users with the highest warning count // These are the 5 users with the highest warning count