isSpecialUser(S_MODERATOR)) { // Can't moderate without being moderator error("You are not authorized to moderate this post."); } page_head('Forum'); //start form echo "
getID()." method=POST>\n"; start_table(); row1("Moderate thread"); if (get_str('action')=="hide") { //display input that selects reason echo ""; row2("", "Select the reason category, optionally write a longer describtion of why you delete the thread and then press ok to delete it."); row2("Category", ""); } elseif (get_str('action')=="move") { echo ""; row2("Destination forum ID:", ""); //todo display where to move the thread as a dropdown instead of having to get ID } elseif (get_str('action')=="title") { echo ""; row2("New title:", "getTitle()))."\">"); } else { error_page("Unknown action"); } row2("Reason
Mailed if nonempty", ""); row2( "", "" ); end_table(); echo "
"; page_tail(); ?>