Spade

Mini Shell

Directory:~$ /home/lmsyaran/public_html/administrator/components/com_notifly/models/forms/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ /home/lmsyaran/public_html/administrator/components/com_notifly/models/forms/template.xml

<?xml version="1.0" encoding="utf-8"?>
<form>
	<fieldset
addfieldpath="/administrator/components/com_categories/models/fields"
>
		<field 
			name="id" 
			type="text" 
			label="JGLOBAL_FIELD_ID_LABEL"
			description="JGLOBAL_FIELD_ID_DESC" 
			class="readonly" 
			size="10" 
			default="0"
			readonly="true" 
		/>

		<field 
			name="asset_id" 
			type="hidden" 
			filter="unset" 
		/>

		<field
		    name="extension_id"
		    type="sql"
		    label="COM_NOTIFLY_FIELD_EXTENSION_ID_LABEL"
		    readonly="true"
		    query="SELECT extension_id, name FROM `#__extensions` WHERE
`type` = 'plugin' AND `folder` = 'notifly'"
		    key_field="extension_id"
		    value_field="name"
		    required="true"
		    />

		<field 
			name="name" 
			type="text" 
			label="JGLOBAL_TITLE"
			description="JFIELD_TITLE_DESC"
			class="input-xxlarge input-large-text"
			size="40"
			required="true" 
		/>

		<field 
			name="alias" 
			type="text" 
			readonly="true"
			label="COM_NOTIFLY_FIELD_ALIAS_LABEL"
			description="COM_NOTIFLY_FIELD_ALIAS_DESC"
			hint="JFIELD_ALIAS_PLACEHOLDER"
			size="40" 
		/>

		<field 
			name="message" 
			type="textarea"
			label="COM_NOTIFLY_FIELD_MESSAGE_LABEL" 
			description="COM_NOTIFLY_FIELD_MESSAGE_DESC"
			filter="JComponentHelper::filterText"
			buttons="false" 
			height="100"
			rows="3"
			class="input-xxlarge input-large-text"
		/>
		
		<field 
			name="markdown" 
			type="radio"
			label="COM_NOTIFLY_FIELD_MARKDOWN_LABEL" 
			description="COM_NOTIFLY_FIELD_MARKDOWN_DESC"
			class="btn-group"
			>
			<option value="1">JYES</option>
			<option value="0">JNO</option>
		</field>
		
		<field 
			name="image_disable" 
			type="radio"
			label="COM_NOTIFLY_FIELD_IMAGE_DISABLE_LABEL" 
			description="COM_NOTIFLY_FIELD_IMAGE_DISABLE_DESC"
			class="btn-group"
			default="0"
			>
			<option value="1">JYES</option>
			<option value="0">JNO</option>
		</field>

		<field 
			name="avatar" 
			type="radio"
			label="COM_NOTIFLY_FIELD_AVATAR_LABEL" 
			description="COM_NOTIFLY_FIELD_AVATAR_DESC"
			class="btn-group"
			default="1"
			showon="image_disable:0"
			>
			<option value="1">JYES</option>
			<option value="0">JNO</option>
		</field>

		<field 
			name="image_url" 
			type="media" 
			class="input-xlarge"
			label="COM_NOTIFLY_FIELD_IMAGE_URL_LABEL"
			description="COM_NOTIFLY_FIELD_IMAGE_URL_DESC"
			showon="image_disable:0[AND]avatar:0"
		/>

		<field 
			name="state" 
			type="hidden" 
			default="1"
		/>
		
		<field 
			name="created" 
			type="calendar" 
			label="COM_NOTIFLY_FIELD_CREATED_LABEL"
			description="COM_NOTIFLY_FIELD_CREATED_DESC"
			translateformat="true"
			showtime="true"
			size="22"
			filter="user_utc" 
		/>


		<field 
			name="checked_out" 
			type="hidden" 
			filter="unset" 
		/>

		<field 
			name="checked_out_time" 
			type="hidden" 
			filter="unset" 
		/>

		<field 
			name="publish_up"
			type="calendar"
			label="COM_NOTIFLY_FIELD_PUBLISH_UP_LABEL"
			description="COM_NOTIFLY_FIELD_PUBLISH_UP_DESC"
			translateformat="true"
			showtime="true"
			size="22"
			filter="user_utc" 
		/>

		<field 
			name="publish_down"
			type="calendar"
			label="COM_NOTIFLY_FIELD_PUBLISH_DOWN_LABEL"
			description="COM_NOTIFLY_FIELD_PUBLISH_DOWN_DESC"
			translateformat="true"
			showtime="true"
			size="22"
			filter="user_utc" 
		/>

		<field
			name="version" 
			type="text" 
			label="COM_NOTIFLY_FIELD_VERSION_LABEL" 
			description="COM_NOTIFLY_FIELD_VERSION_DESC"
			size="6" 
			class="readonly"
			readonly="true" 
			filter="unset" 
		/>

		<field 
			name="ordering" 
			type="text" 
			label="JFIELD_ORDERING_LABEL"
			description="JFIELD_ORDERING_DESC" 
			size="6"
			default="0" 
		/>

		<field 
			name="access" 
			type="accesslevel" 
			label="JFIELD_ACCESS_LABEL"
			description="JFIELD_ACCESS_DESC" 
			size="1" 
		/>

		<field 
			name="hits" 
			type="text" 
			label="JGLOBAL_HITS"
			description="COM_NOTIFLY_FIELD_HITS_DESC" 
			class="readonly" 
			size="6"
			readonly="true" 
			filter="unset" 
		/>

		<field 
			name="language" 
			type="contentlanguage" 
			label="JFIELD_LANGUAGE_LABEL"
			description="COM_NOTIFLY_FIELD_LANGUAGE_DESC"
			>
			<option value="*">JALL</option>
		</field>

		<field 
			name="rules" 
			type="rules" 
			label="JFIELD_RULES_LABEL"
			translate_label="false" 
			filter="rules"
			component="com_notifly" 
			section="article" 
			validate="rules"
		/>

	</fieldset>

</form>