<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="3.1" client="site" method="upgrade">
	<name>mod_finder</name>
	<author>Joomla! Project</author>
	<creationDate>August 2011</creationDate>
	<copyright>(C) 2011 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.0.0</version>
	<description>MOD_FINDER_XML_DESCRIPTION</description>
	<files>
		<filename module="mod_finder">mod_finder.php</filename>
		<folder>tmpl</folder>
		<filename>helper.php</filename>
	</files>
	<languages>
		<language tag="en-GB">language/en-GB/en-GB.mod_finder.ini</language>
		<language tag="en-GB">language/en-GB/en-GB.mod_finder.sys.ini</language>
	</languages>
	<help key="JHELP_EXTENSIONS_MODULE_MANAGER_SMART_SEARCH" />
	<config>
		<fields name="params" addfieldpath="/administrator/components/com_finder/models/fields">
			<fieldset name="basic">
				<field
					name="searchfilter"
					type="searchfilter"
					label="MOD_FINDER_FIELDSET_BASIC_SEARCHFILTER_LABEL"
					description="MOD_FINDER_FIELDSET_BASIC_SEARCHFILTER_DESCRIPTION"
					default=""
				/>

				<field
					name="show_autosuggest"
					type="radio"
					label="MOD_FINDER_FIELDSET_BASIC_AUTOSUGGEST_LABEL"
					description="MOD_FINDER_FIELDSET_BASIC_AUTOSUGGEST_DESCRIPTION"
					default="1"
					filter="integer"
					class="btn-group btn-group-yesno"
					>
					<option value="1">JSHOW</option>
					<option value="0">JHIDE</option>
				</field>

				<field
					name="show_advanced"
					type="list"
					label="MOD_FINDER_FIELDSET_BASIC_SHOW_ADVANCED_LABEL"
					description="MOD_FINDER_FIELDSET_BASIC_SHOW_ADVANCED_DESCRIPTION"
					default="0"
					filter="integer"
					>
					<option value="2">MOD_FINDER_FIELDSET_BASIC_SHOW_ADVANCED_OPTION_LINK</option>
					<option value="1">JSHOW</option>
					<option value="0">JHIDE</option>
				</field>

				<field
					name="field_size"
					type="number"
					label="MOD_FINDER_FIELDSET_ADVANCED_FIELD_SIZE_LABEL"
					description="MOD_FINDER_FIELDSET_ADVANCED_FIELD_SIZE_DESCRIPTION"
					default="25"
					filter="integer"
				/>

				<field
					name="show_label"
					type="radio"
					label="MOD_FINDER_FIELDSET_ADVANCED_SHOW_LABEL_LABEL"
					description="MOD_FINDER_FIELDSET_ADVANCED_SHOW_LABEL_DESCRIPTION"
					class="btn-group btn-group-yesno"
					default="1"
					filter="integer"
					>
					<option value="1">JSHOW</option>
					<option value="0">JHIDE</option>
				</field>

				<field
					name="label_pos"
					type="list"
					label="MOD_FINDER_FIELDSET_ADVANCED_LABEL_POS_LABEL"
					description="MOD_FINDER_FIELDSET_ADVANCED_LABEL_POS_DESCRIPTION"
					default="left"
					>
					<option value="right">JGLOBAL_RIGHT</option>
					<option value="left">JGLOBAL_LEFT</option>
					<option value="top">MOD_FINDER_CONFIG_OPTION_TOP</option>
					<option value="bottom">MOD_FINDER_CONFIG_OPTION_BOTTOM</option>
				</field>

				<field
					name="alt_label"
					type="text"
					label="MOD_FINDER_FIELDSET_ADVANCED_ALT_LABEL"
					description="MOD_FINDER_FIELDSET_ADVANCED_ALT_DESCRIPTION"
				/>

				<field
					name="show_button"
					type="radio"
					label="MOD_FINDER_FIELDSET_ADVANCED_SHOW_BUTTON_LABEL"
					description="MOD_FINDER_FIELDSET_ADVANCED_SHOW_BUTTON_DESCRIPTION"
					class="btn-group btn-group-yesno"
					default="0"
					filter="integer"
					>
					<option value="1">JSHOW</option>
					<option value="0">JHIDE</option>
				</field>

				<field
					name="button_pos"
					type="list"
					label="MOD_FINDER_FIELDSET_ADVANCED_BUTTON_POS_LABEL"
					description="MOD_FINDER_FIELDSET_ADVANCED_BUTTON_POS_DESCRIPTION"
					default="left"
					>
					<option value="right">JGLOBAL_RIGHT</option>
					<option value="left">JGLOBAL_LEFT</option>
					<option value="top">MOD_FINDER_CONFIG_OPTION_TOP</option>
					<option value="bottom">MOD_FINDER_CONFIG_OPTION_BOTTOM</option>
				</field>

				<field
					name="opensearch"
					type="radio"
					label="MOD_FINDER_FIELD_OPENSEARCH_LABEL"
					description="MOD_FINDER_FIELD_OPENSEARCH_DESCRIPTION"
					class="btn-group btn-group-yesno"
					default="1"
					filter="integer"
					>
					<option value="1">JYES</option>
					<option value="0">JNO</option>
				</field>

				<field
					name="opensearch_title"
					type="text"
					label="MOD_FINDER_FIELD_OPENSEARCH_TEXT_LABEL"
					description="MOD_FINDER_FIELD_OPENSEARCH_TEXT_DESCRIPTION"
				/>

				<field
					name="set_itemid"
					type="menuitem"
					label="MOD_FINDER_FIELDSET_ADVANCED_SETITEMID_LABEL"
					description="MOD_FINDER_FIELDSET_ADVANCED_SETITEMID_DESCRIPTION"
					default="0"
					filter="integer"
					>
					<option value="0">MOD_FINDER_SELECT_MENU_ITEMID</option>
				</field>
			</fieldset>
			<fieldset name="advanced">
				<field
					name="layout"
					type="modulelayout"
					label="JFIELD_ALT_LAYOUT_LABEL"
					description="JFIELD_ALT_MODULE_LAYOUT_DESC"
					validate="moduleLayout"
				/>

				<field
					name="moduleclass_sfx"
					type="textarea"
					label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
					description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC"
					rows="3"
					default=""
				/>
			</fieldset>
		</fields>
	</config>
</extension>
