forum); if (!is_moderator($logged_in_user, $forum)) { error_page("not authorized"); } page_head('Moderate'); echo "
id method=POST>\n"; echo form_tokens($logged_in_user->authenticator); start_table(); row1("Moderate thread"); $action = get_str('action'); switch ($action) { case 'hide': case 'lock': echo ""; row2("", "Select the reason category, or write a longer description of why you're hiding or locking the thread; then press OK." ); row2("Category", "" ); break; case 'move': if ($forum->parent_type != 0) error_page("Nope"); echo ""; $selectbox = '"; row2("New title:", "title)."\">" ); break; default: error_page("Unknown action"); } row2("Reason
Mailed if nonempty", "" ); row2( "", "" ); end_table(); echo "
"; page_tail(); ?>