mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 06:38:52 +00:00
git-svn-id: file:///svn/phpbb/trunk@5714 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
d1676cb6bf
commit
791b580f43
2 changed files with 6 additions and 2 deletions
|
@ -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",
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue