forum); if (!is_moderator($logged_in_user, $forum)) { error_page("You are not authorized to moderate this post."); } page_head('Forum'); echo "
id method=POST>\n"; echo form_tokens($logged_in_user->authenticator); start_table(); row1("Moderate thread"); if (get_str('action')=="hide") { //display input that selects reason echo ""; row2("", "Select the reason category, or write a longer description of why you're hiding the thread; then press OK to hide it."); row2("Category", ""); } elseif (get_str('action')=="move") { if ($forum->parent_type != 0) error_page("Nope"); echo ""; $selectbox = '"; row2("New title:", "title))."\">"); } else { error_page("Unknown action"); } row2("Reason
Mailed if nonempty", ""); row2( "", "" ); end_table(); echo "
"; page_tail(); ?>