authenticator); akismet_check($logged_in_user, $content); $thread = create_thread( $title, $content, $logged_in_user, $forum, $add_signature ); header('Location: forum_thread.php?id=' . $thread->id); } page_head('Create new thread'); show_forum_header($logged_in_user); switch ($forum->parent_type) { case 0: $category = BoincCategory::lookup_id($forum->category); show_forum_title($category, $forum, null); break; case 1: show_team_forum_title($forum); break; } if ($preview == tra("Preview")) { $options = null; echo "
\n"; echo "
".tra("Preview")."
\n"; echo output_transform($content, $options); echo "
\n"; } echo "
id."\" method=\"POST\">\n"; echo form_tokens($logged_in_user->authenticator); start_table(); row1(tra("Create a new thread")); //New thread $submit_help = ""; $body_help = ""; //Title if ($content && !$title) { $submit_help = "
Remember to add a title"; } row2(tra("Title").$submit_help, "" ); //Message row2(tra("Message").html_info().post_warning().$body_help, "" ); if (!$logged_in_user->prefs->no_signature_by_default) { $enable_signature="checked=\"true\""; } else { $enable_signature=""; } row2("", "".tra("Add my signature to this post")); row2("", " "); end_table(); echo "
\n"; page_tail(); $cvs_version_tracker[]="\$Id$"; ?>