. // The form where a moderator decides what he is going to do to a post. // Submits informaiton to forum_moderate_post_action.php for actual action // to be done. require_once('../inc/forum.inc'); $logged_in_user = get_logged_in_user(); 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('Moderate post'); echo "
"; page_tail(); ?>