mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
Initial commit of files related to the warning system
As the comments suggest, it's not finished but I'm getting it in before I do things to my machine git-svn-id: file:///svn/phpbb/trunk@5324 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -484,6 +484,7 @@ $template->assign_vars(array(
|
||||
'REPORT_IMG' => $user->img('btn_report', 'REPORT_POST'),
|
||||
'REPORTED_IMG' => $user->img('icon_reported', 'POST_REPORTED'),
|
||||
'UNAPPROVED_IMG' => $user->img('icon_unapproved', 'POST_UNAPPROVED'),
|
||||
'WARN_IMG' => $user->img('btn_report', 'WARN_USER'),
|
||||
|
||||
'S_SELECT_SORT_DIR' => $s_sort_dir,
|
||||
'S_SELECT_SORT_KEY' => $s_sort_key,
|
||||
@@ -1299,6 +1300,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
|
||||
'U_MINI_POST' => "{$phpbb_root_path}viewtopic.$phpEx$SID&p=" . $row['post_id'] . '#' . $row['post_id'],
|
||||
'U_NEXT_POST_ID' => ($i < $i_total && isset($rowset[$i + 1])) ? $rowset[$i + 1]['post_id'] : '',
|
||||
'U_PREV_POST_ID' => $prev_post_id,
|
||||
'U_WARN' => ($auth->acl_gets('m_', 'a_', $forum_id)) ? "{$phpbb_root_path}mcp.$phpEx$SID&i=warn&mode=warn_post&p=" . $row['post_id'] : '',
|
||||
|
||||
'POST_ID' => $row['post_id'],
|
||||
|
||||
|
Reference in New Issue
Block a user