default.xml 2.36 KB
<?xml version="1.0" encoding="utf-8"?>
<metadata>
	<layout title="COM_WRAPPER_WRAPPER_VIEW_DEFAULT_TITLE" option="COM_WRAPPER_WRAPPER_VIEW_DEFAULT_OPTION">
		<help
			key="JHELP_MENUS_MENU_ITEM_WRAPPER"
		/>
		<message>
			<![CDATA[COM_WRAPPER_WRAPPER_VIEW_DEFAULT_DESC]]>
		</message>
	</layout>

	<!-- Add fields to the parameters object for the layout. -->
		<fields name="params">
		<fieldset name="request" label="COM_MENUS_BASIC_FIELDSET_LABEL">

			<field 
				name="url" 
				type="text"
				label="COM_WRAPPER_FIELD_URL_LABEL"
				description="COM_WRAPPER_FIELD_URL_DESC"
				size="30"
				required="true"
			/>
		</fieldset>

		<!-- Add fields to the parameters object for the layout. -->

		<!-- Scroll. -->
		<fieldset name="basic" label="COM_WRAPPER_FIELD_LABEL_SCROLLBARSPARAMS">

			<field 
				name="scrolling" 
				type="list"
				label="COM_WRAPPER_FIELD_SCROLLBARS_LABEL"
				description="COM_WRAPPER_FIELD_SCROLLBARS_DESC"
				default="auto"
				>
				<option value="no">JNO</option>
				<option value="yes">JYES</option>
				<option value="auto">COM_WRAPPER_FIELD_VALUE_AUTO</option>
			</field>

			<field 
				name="width" 
				type="text"
				label="JGLOBAL_WIDTH"
				description="COM_WRAPPER_FIELD_WIDTH_DESC"
				default="100%"
				size="5"
			/>

			<field 
				name="height" 
				type="number"
				label="COM_WRAPPER_FIELD_HEIGHT_LABEL"
				description="COM_WRAPPER_FIELD_HEIGHT_DESC"
				default="500"
				size="5"
			/>

		</fieldset>

		<!-- Advanced options. -->
		<fieldset name="advanced">

			<field 
				name="height_auto" 
				type="radio"
				label="COM_WRAPPER_FIELD_HEIGHTAUTO_LABEL"
				description="COM_WRAPPER_FIELD_HEIGHTAUTO_DESC"
				default="0"
				class="btn-group btn-group-yesno"
				>
				<option value="1">JYES</option>
				<option value="0">JNO</option>
			</field>

			<field 
				name="add_scheme"
				type="radio"
				label="COM_WRAPPER_FIELD_ADD_LABEL"
				description="COM_WRAPPER_FIELD_ADD_DESC"
				class="btn-group btn-group-yesno"
				default="1"
				>
				<option value="1">JYES</option>
				<option value="0">JNO</option>
			</field>

			<field 
				name="frameborder"
				type="radio"
				label="COM_WRAPPER_FIELD_FRAME_LABEL"
				description="COM_WRAPPER_FIELD_FRAME_DESC"
				class="btn-group btn-group-yesno"
				default="1"
				>
				<option value="1">JYES</option>
				<option value="0">JNO</option>
			</field>

		</fieldset>
	</fields>
</metadata>