<?php
	/*
	** File: search_form
	** Description: a form for performing a search
	** Version: $Revision: 1.10 $
	** Created: 07/13/1999
	** Author: Leon Atkinson
	** Email: leon@clearink.com
	** CVS Author: $Author: leon $
	** Last Revised: $Date: 1999/12/07 21:45:11 $
	**
	** Log : $Log: search_form,v $
	** Log : Revision 1.10  1999/12/07 21:45:11  leon
	** Log : All forms should be using StartForm now...
	** Log :
	** Log : Revision 1.9  1999/10/13 22:19:07  chris
	** Log : Moving text into constants in preparation of localization support.
	** Log :
	** Log : Revision 1.8  1999/10/01 01:25:32  jj
	** Log : Used <UL>'s to make the page look a bit nicer.
	** Log :
	** Log : Revision 1.7  1999/09/09 20:34:19  leon
	** Log : Added support for an index-based search.
	** Log : Constants in global_settings controls whether the index is used or
	** Log : not.  You can build/re-build the index through a link on the
	** Log : admin menu.
	** Log :
	** Log : Revision 1.6  1999/08/18 22:32:22  leon
	** Log : Returning opening PHP tag to XML-friendly tag
	** Log :
	** Log : Revision 1.5  1999/08/03 20:01:24  leon
	** Log : Updated search functionality
	** Log : You can now search on screens.  A constant controls whether you want
	** Log : to pull screen modules into memory to search on the contents.  Otherwise
	** Log : the search is only made on the meta tags as defined in ScreenInfo.
	** Log :
	** Log : Revision 1.4  1999/07/28 19:27:34  leon
	** Log : Mass update based on code donation from a live project
	** Log :
	**
	** Copyright (c) 1999 Working Dogs.  All rights reserved.
	*/

	print(StartForm("search_results", 'post', '', FALSE, array("SearchType"=>"advanced")));

	print("<H3>" . L_SEARCHFORM_ITEMSEARCH . "</H3>\n");
	print("<UL>\n");
	print(L_SEARCHFORM_NAMECONTAINS . " &nbsp;" . 
		"<INPUT TYPE=\"text\" NAME=\"inputName\" VALUE=\"\" SIZE=\"30\"><BR>\n");
	print(L_SEARCHFORM_DESCRIPTIONCONTAINS . " &nbsp;" . 
		"<INPUT TYPE=\"text\" NAME=\"inputDescription\" VALUE=\"\" SIZE=\"30\"><BR>\n");
	print(L_SEARCHFORM_KEYWORDSCONTAIN . " &nbsp;" . 
		"<INPUT TYPE=\"text\" NAME=\"inputKeywords\" VALUE=\"\" SIZE=\"30\"><BR>\n");
	print("</UL>\n");

	print("<H3>" . L_SEARCHFORM_SITESEARCH . "</H3>\n");
	print("<UL>\n");
	print(L_SEARCHFORM_KEYWORDS . " &nbsp;" . 
		"<INPUT TYPE=\"text\" NAME=\"inputScreenKeywords\" VALUE=\"\" SIZE=\"30\"><BR>\n");
	print("</UL>\n");

	print("<INPUT TYPE=\"submit\" value=\"" . L_SEARCHFORM_SEARCH . "\">");
	print("</FORM>\n");

?>
