<?xml version="1.0" encoding="UTF-8"?>
<extension type="module" client="site" method="upgrade">
	<name>mod_languages</name>
	<author>Joomla! Project</author>
	<creationDate>2010-02</creationDate>
	<copyright>(C) 2010 Open Source Matters, Inc.</copyright>
	<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
	<authorEmail>admin@joomla.org</authorEmail>
	<authorUrl>www.joomla.org</authorUrl>
	<version>3.5.0</version>
	<description>MOD_LANGUAGES_XML_DESCRIPTION</description>
	<namespace path="src">Joomla\Module\Languages</namespace>
	<files>
		<folder module="mod_languages">services</folder>
		<folder>src</folder>
		<folder>tmpl</folder>
	</files>
	<languages>
		<language tag="en-GB">language/en-GB/mod_languages.ini</language>
		<language tag="en-GB">language/en-GB/mod_languages.sys.ini</language>
	</languages>
	<help key="Site_Modules:_Language_Switcher" />
	<config>
		<fieldset>
			<field
				name="language"
				type="list"
				label="JFIELD_LANGUAGE_LABEL"
				description="JFIELD_MODULE_LANGUAGE_DESC"
				validate="options"
				>
				<option value="*">JALL</option>
			</field>
		</fieldset>
		<fields name="params">
			<fieldset name="basic">
				<field
					name="header_text"
					type="textarea"
					label="MOD_LANGUAGES_FIELD_HEADER_LABEL"
					filter="safehtml"
					rows="3"
					cols="40"
				/>

				<field
					name="footer_text"
					type="textarea"
					label="MOD_LANGUAGES_FIELD_FOOTER_LABEL"
					filter="safehtml"
					rows="3"
					cols="40"
				/>

				<field
					name="dropdown"
					type="radio"
					layout="joomla.form.field.radio.switcher"
					label="MOD_LANGUAGES_FIELD_DROPDOWN_LABEL"
					default="0"
					filter="integer"
					>
					<option value="0">JNO</option>
					<option value="1">JYES</option>
				</field>

				<field
					name="dropdownimage"
					type="radio"
					layout="joomla.form.field.radio.switcher"
					label="MOD_LANGUAGES_FIELD_DROPDOWN_IMAGE_LABEL"
					default="1"
					filter="integer"
					showon="dropdown:1"
					>
					<option value="0">JNO</option>
					<option value="1">JYES</option>
				</field>

				<field
					name="image"
					type="radio"
					layout="joomla.form.field.radio.switcher"
					label="MOD_LANGUAGES_FIELD_USEIMAGE_LABEL"
					default="1"
					filter="integer"
					showon="dropdown:0"
					>
					<option value="0">JNO</option>
					<option value="1">JYES</option>
				</field>

				<field
					name="full_name"
					type="radio"
					layout="joomla.form.field.radio.switcher"
					label="MOD_LANGUAGES_FIELD_FULL_NAME_LABEL"
					showon="dropdown:1[OR]image:0"
					default="1"
					filter="integer"
					>
					<option value="0">JNO</option>
					<option value="1">JYES</option>
				</field>

				<field
					name="show_active"
					type="radio"
					layout="joomla.form.field.radio.switcher"
					label="MOD_LANGUAGES_FIELD_ACTIVE_LABEL"
					default="1"
					showon="dropdownimage:1[OR]dropdown:0"
					filter="integer"
					>
					<option value="0">JNO</option>
					<option value="1">JYES</option>
				</field>

				<field
					name="inline"
					type="radio"
					layout="joomla.form.field.radio.switcher"
					label="MOD_LANGUAGES_FIELD_INLINE_LABEL"
					default="1"
					filter="integer"
					showon="dropdown:0"
					>
					<option value="0">JNO</option>
					<option value="1">JYES</option>
				</field>
			</fieldset>
			<fieldset name="advanced">
				<field
					name="layout"
					type="modulelayout"
					label="JFIELD_ALT_LAYOUT_LABEL"
					class="form-select"
					validate="moduleLayout"
				/>

				<field
					name="moduleclass_sfx"
					type="textarea"
					label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
					rows="3"
					validate="CssIdentifier"
				/>
			</fieldset>
		</fields>
	</config>
</extension>
