1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

$template to phpbb::$template

git-svn-id: file:///svn/phpbb/trunk@9337 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2009-02-22 18:56:09 +00:00
parent 84f795e9fb
commit b27add94f8
76 changed files with 1215 additions and 1244 deletions

View File

@@ -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();