diff options
| author | Graham Eames <grahamje@users.sourceforge.net> | 2005-12-10 23:08:02 +0000 |
|---|---|---|
| committer | Graham Eames <grahamje@users.sourceforge.net> | 2005-12-10 23:08:02 +0000 |
| commit | 85fdeda51cfcfb4b75923bbb339c02533e4b5a54 (patch) | |
| tree | 99f0eeb85eeab9c137d0cdc2c9b0086cd9a96bb2 /phpBB/viewtopic.php | |
| parent | 877d71528d83d217d1f6b71428681dc4bc4c54f3 (diff) | |
| download | forums-85fdeda51cfcfb4b75923bbb339c02533e4b5a54.tar forums-85fdeda51cfcfb4b75923bbb339c02533e4b5a54.tar.gz forums-85fdeda51cfcfb4b75923bbb339c02533e4b5a54.tar.bz2 forums-85fdeda51cfcfb4b75923bbb339c02533e4b5a54.tar.xz forums-85fdeda51cfcfb4b75923bbb339c02533e4b5a54.zip | |
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
Diffstat (limited to 'phpBB/viewtopic.php')
| -rw-r--r-- | phpBB/viewtopic.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 28b85846fb..916ca17249 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -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'], |
