<form>
	<title>Browse</title>
	<action>{SELF.FILE}</action>
	<name>edit</name>
	<width>100%</width>
	<method>get</method>

	<formtag>true</formtag>
	<border>true</border>
	<alternance>true</alternance>

	<skin>Purple</skin>
	
	
	<buttons>		
		<set>
			<header>true</header>
		</set>

	</buttons>

	<redirect>index.php?sub=units</redirect>


	<fields>

		<mod type="hidden" default="$_GET['mod']" action="eval"/>
		<sub type="hidden" default="$_GET['sub']" action="eval"/>
		<module_id type="hidden" default="$_GET['module_id']" action="eval"/>
		<advanced type="hidden" default="0" />
	</fields>

	<search>
			<fields>

				<item_cat title="Category" type="droplist" empty="true" onchange="document.forms[0].submit();">
					<relation table="plugin:faq_cats" table_lang="plugin:faq_cats_lang" id="cat_id" text="cat_title" order="cat_title ASC">
							<condition eval="true" import=" ' record.module_id=' . $_REQUEST[module_id] . '';"/>
					</relation>
				</item_cat>

			</fields>

			<sql_fields>
				<field name="item_cat">in_set</field>			
			</sql_fields>

	</search>
</form>
