. require_once('../inc/util.inc'); require_once('../inc/forum.inc'); check_get_args(array("action", "thread", "ttok", "tnow")); $logged_in_user = get_logged_in_user(); BoincForumPrefs::lookup($logged_in_user); if (DISABLE_FORUMS && !is_admin($logged_in_user)) { error_page("Forums are disabled"); } if (!get_str('action')) { error_page("unknown action"); } $thread = BoincThread::lookup_id(get_int('thread')); $forum = BoincForum::lookup_id($thread->forum); if (!is_moderator($logged_in_user, $forum)) { error_page(tra("not authorized")); } page_head(tra("Moderate thread '%1'", $thread->title)); echo "
"; page_tail(); ?>