mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-26 03:48:53 +00:00
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8621 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
49235d6ed5
commit
481b63f6fe
1 changed files with 3 additions and 3 deletions
|
@ -170,7 +170,7 @@ class mcp_warn
|
||||||
'USERNAME' => $row['username'],
|
'USERNAME' => $row['username'],
|
||||||
'USERNAME_COLOUR' => ($row['user_colour']) ? '#' . $row['user_colour'] : '',
|
'USERNAME_COLOUR' => ($row['user_colour']) ? '#' . $row['user_colour'] : '',
|
||||||
'U_USER' => append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=viewprofile&u=' . $row['user_id']),
|
'U_USER' => append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=viewprofile&u=' . $row['user_id']),
|
||||||
|
|
||||||
'WARNING_TIME' => $user->format_date($row['user_last_warning']),
|
'WARNING_TIME' => $user->format_date($row['user_last_warning']),
|
||||||
'WARNINGS' => $row['user_warnings'],
|
'WARNINGS' => $row['user_warnings'],
|
||||||
));
|
));
|
||||||
|
@ -262,11 +262,11 @@ class mcp_warn
|
||||||
}
|
}
|
||||||
$redirect = append_sid("{$phpbb_root_path}mcp.$phpEx", "i=notes&mode=user_notes&u=$user_id");
|
$redirect = append_sid("{$phpbb_root_path}mcp.$phpEx", "i=notes&mode=user_notes&u=$user_id");
|
||||||
meta_refresh(2, $redirect);
|
meta_refresh(2, $redirect);
|
||||||
trigger_error($user->lang['USER_WARNING_ADDED'] . '<br /><br />' . sprintf($user->lang['RETURN_PAGE'], '<a href="' . $redirect . '">', '</a>'));
|
trigger_error($msg . '<br /><br />' . sprintf($user->lang['RETURN_PAGE'], '<a href="' . $redirect . '">', '</a>'));
|
||||||
}
|
}
|
||||||
|
|
||||||
// OK, they didn't submit a warning so lets build the page for them to do so
|
// OK, they didn't submit a warning so lets build the page for them to do so
|
||||||
|
|
||||||
// We want to make the message available here as a reminder
|
// We want to make the message available here as a reminder
|
||||||
// Parse the message and subject
|
// Parse the message and subject
|
||||||
$message = censor_text($user_row['post_text']);
|
$message = censor_text($user_row['post_text']);
|
||||||
|
|
Loading…
Add table
Reference in a new issue