<form lang="true">
	
	<title>{SELF.TITLE} FAQ </title>
	<action>{SELF.URI.STORE}</action>
	<name>edit</name>
	<width>100%</width>
	<alternance>true</alternance>
	<encoding></encoding>

	<skin>Purple</skin>

	<formtag>true</formtag>
	<border>true</border>
	
	<buttons>		
		<set>
			<header>true</header>
		</set>


		<button_back onclick="" button="return">
			<location>{PRIVATE.FORM_PREVIOUS_PAGE}</location>
		</button_back>

		<button_edit onclick="" button="edit">
			<location>{SELF.URI.EDIT}</location>
		</button_edit>

		<button_save button="saveall">
			<location>javascript:$('form').first().trigger('submit');</location>
		</button_save>

	</buttons>

	<redirect>{PHP}?sub=accounts</redirect>

	<fields>
		<item_id type="hidden" />
		<item_order type="hidden" />
		<module_id type="hidden" default="eval:$_GET[module_id]"/>

		<box title="Details" width="7">
			<fields>

				<item_icon type="textbox" title="Icon" width="100%" onclick="javascript:BrowseIconFonts(jQuery('#item_icon').val() , '#item_icon' );" description="Click inside the field to open the Icon Library."/>

				<item_title type="textbox" width="100%" title="Title" required="true" validate="A:1:250" lang="true"/>
				<item_body type="textarea" size="90:4" title="Description" html="true" width="100%" height="200" required="true" validate="A:1:200000" lang="true"/>
			</fields>
		</box>


		<box title="Settings" width="5">
			<fields>
				<item_status type="checkbox" checked="1" label="published|unpublished" title="Status" default="1"/>

				<item_cat title="Category" type="checklist" required="true" validate="A:1:10" default="eval:$_GET[item_cat];">
					<relation table="plugin:faq_cats" table_lang="plugin:faq_cats_lang" id="cat_id" text="cat_title" order="cat_order ASC">
							<condition eval="true" import=" ' record.module_id=' . $_REQUEST[module_id] . '';"/>
					</relation>
				</item_cat>

				<subtitle_animations title="CSS Class(es)" type="subtitle" collapsed="true"/>
				<comment type="comment">
					<description><![CDATA[Apply <a href="javascript:CSSClasses();">animations</a> or classes that you created in <a href="index.php?mod=skineditor&sub=skins" target="_blank">Style & Skins</a>.]]></description>
				</comment>


				<item_css_list type="textbox" width="100%" title="FAQ" />
			</fields>
		</box>

	</fields>

</form>
