aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/report.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2009-02-22 18:56:09 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2009-02-22 18:56:09 +0000
commitb27add94f8eb36d5e740afadf5306c48873736f9 (patch)
treec6cfecef18aea66c956a8a36606014ec483b2ec4 /phpBB/report.php
parent84f795e9fbd172924280593d575bf4587c9b40e5 (diff)
downloadforums-b27add94f8eb36d5e740afadf5306c48873736f9.tar
forums-b27add94f8eb36d5e740afadf5306c48873736f9.tar.gz
forums-b27add94f8eb36d5e740afadf5306c48873736f9.tar.bz2
forums-b27add94f8eb36d5e740afadf5306c48873736f9.tar.xz
forums-b27add94f8eb36d5e740afadf5306c48873736f9.zip
$template to phpbb::$template
git-svn-id: file:///svn/phpbb/trunk@9337 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/report.php')
-rw-r--r--phpBB/report.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/report.php b/phpBB/report.php
index 927856a451..d2cb93d57e 100644
--- a/phpBB/report.php
+++ b/phpBB/report.php
@@ -146,22 +146,22 @@ if ($submit && $reason_id)
// Generate the reasons
display_reasons($reason_id);
-$template->assign_vars(array(
+phpbb::$template->assign_vars(array(
'REPORT_TEXT' => $report_text,
'S_REPORT_ACTION' => append_sid('report', 'f=' . $forum_id . '&amp;p=' . $post_id),
'S_NOTIFY' => $user_notify,
- 'S_CAN_NOTIFY' => (phpbb::$user->is_registered) ? true : false)
-);
+ 'S_CAN_NOTIFY' => (phpbb::$user->is_registered) ? true : false,
+));
generate_forum_nav($forum_data);
// Start output of page
page_header(phpbb::$user->lang['REPORT_POST']);
-$template->set_filenames(array(
- 'body' => 'report_body.html')
-);
+phpbb::$template->set_filenames(array(
+ 'body' => 'report_body.html',
+));
page_footer();