. // The form where a moderator decides what he is going to do to a post. // Submits information to forum_moderate_post_action.php for actual action // to be done. require_once('../inc/util.inc'); require_once('../inc/forum.inc'); if (DISABLE_FORUMS) error_page("Forums are disabled"); check_get_args(array("id", "action", "userid", "tnow", "ttok")); $logged_in_user = get_logged_in_user(); check_tokens($logged_in_user->authenticator); BoincForumPrefs::lookup($logged_in_user); $postid = get_int('id'); $post = BoincPost::lookup_id($postid); $thread = BoincThread::lookup_id($post->thread); $forum = BoincForum::lookup_id($thread->forum); if (!get_str('action')) { error_page("No action specified"); } if (!is_moderator($logged_in_user, $forum)) { error_page("You are not authorized to moderate this post."); } page_head(tra("Moderate post")); echo "
"; page_tail(); ?>