<form lang="true">
	<title>Head Content</title>
	<action>{SELF.URI.STORE}</action>
	<name>edit_cat</name>
	<width>100%</width>
	<alternance>true</alternance>
	<encoding>multipart/form-data</encoding>

	<skin>Green</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:document.forms[0].submit();</location>
		</button_save>

	</buttons>

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

	<fields>
		<module_id type="hidden"/>		

		<box title="Page Title Block" width="7">
			<fields>
				<text_status type="checkbox" title="Display Block" label="yes|no" checked="1" default="1"/>
				<text_title type="textbox" title="Title" width="100%" lang="true" required="true" validate="A:1:250"/>
				<text_subtitle type="textarea" width="100%" height="50" lang="true" title="Subtitle"/>

				<subtitle type="subtitle" title="Header" lang="true" />
				<text_header type="textarea" html="true" width="100%" height="200" _title="Header" extend="true" lang="true"/>

			</fields>
		</box>


		<box title="SEO Settings" width="5">
			<fields>
				<seo_title type="textbox" width="100%" title="Meta Title" lang="true" description="Keep the meta title lenght to about 55-65 characters although, depending on the number of pixels, you can test for a slightly longer title."/>
				<seo_desc type="textbox" width="100%" title="Meta Desc" lang="true" description="Keep the meta description length to about 156 characters although search engines seem to index and show longer descriptions for longer queries."/>
				<seo_meta type="checklist" lang="true" newline="false" default="index,follow">
					<options>
						<option name="index">index</option>
						<option name="follow">follow</option>
						<option name="noindex">noindex</option>
						<option name="nofollow">nofollow</option>
					</options>
					<title>Robots META tag</title>
				</seo_meta>


				<sem_title type="subtitle" title="Tracking Codes" collapsed="true"/>
				<seo_conv_head type="textarea" width="100%" size="2:4" lang="true" extend="true" script="true">
					<title>&lt;head&gt;&lt;/head&gt;</title>
				</seo_conv_head>

				<seo_conv_body type="textarea" width="100%" size="2:4" lang="true" extend="true" script="true">
					<title>&lt;body&gt;&lt;/body&gt;</title>
				</seo_conv_body>

			</fields>
		</box>
	</fields>

	<javascript>
		<after><![CDATA[

			formCheckboxShowHide(
				$("#text_status"),
				{
					"text_title" : 1,
					"text_subtitle"	: 1
				},
				{
					"text_title" : 0,
					"text_subtitle"	: 0
				}
			);

		]]></after>
	</javascript>
</form>
