From b27add94f8eb36d5e740afadf5306c48873736f9 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sun, 22 Feb 2009 18:56:09 +0000 Subject: $template to phpbb::$template git-svn-id: file:///svn/phpbb/trunk@9337 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/report.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'phpBB/report.php') 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 . '&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(); -- cgit v1.2.1