. // Allows users to search for a post or thread. // Sends to forum_search_action.php for action and display. require_once('../inc/forum.inc'); check_get_args(array("forumid")); page_head(tra("Forum search")); start_table(); echo "
"; row1(tra("Search query")); row2(tra("Search for keywords:")."
".tra("Posts that contain all the specified words will be displayed")."", "
".tra("For example: \"screensaver freeze\"").""); row2(tra("Search for author ID:")."
".tra("Only posts by this author will be displayed")."", "
".tra("For example: \"43214\"").""); row1(tra("Search options")); row2(tra("Search limits")."
".tra("Search at most this many days back in time")."", ""); $forumid = null; if (get_str("forumid",true)){ $forumid = get_str("forumid"); } $forumlist=""; $categories = BoincCategory::enum(); foreach ($categories as $category) { $forums = BoincForum::enum("parent_type=0 and category=$category->id"); foreach ($forums as $forum) { if ($forum->id==$forumid){ $forumlist.=""; } else { $forumlist.=""; } } } row2(tra("Forum")."
".tra("Only display posts from this forum")."", ''.$sortlist.'"); echo "
"; end_table(); page_tail(); $cvs_version_tracker[]="\$Id$"; //Generated automatically - do not edit ?>