<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="3.1" client="site" method="upgrade">
	<name>mod_random_image</name>
	<author>Joomla! Project</author>
	<creationDate>July 2006</creationDate>
	<copyright>(C) 2006 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_RANDOM_IMAGE_XML_DESCRIPTION</description>
	<files>
		<filename module="mod_random_image">mod_random_image.php</filename>
		<folder>tmpl</folder>
		<filename>helper.php</filename>
	</files>
	<languages>
		<language tag="en-GB">en-GB.mod_random_image.ini</language>
		<language tag="en-GB">en-GB.mod_random_image.sys.ini</language>
	</languages>
	<help key="JHELP_EXTENSIONS_MODULE_MANAGER_RANDOM_IMAGE" />
	<config>
		<fields name="params">
			<fieldset name="basic">
				<field
					name="type"
					type="text"
					label="MOD_RANDOM_IMAGE_FIELD_TYPE_LABEL"
					description="MOD_RANDOM_IMAGE_FIELD_TYPE_DESC"
					default="jpg"
				/>

				<field
					name="folder"
					type="text"
					label="MOD_RANDOM_IMAGE_FIELD_FOLDER_LABEL"
					description="MOD_RANDOM_IMAGE_FIELD_FOLDER_DESC"
					validate="filePath"
				/>

				<field
					name="link"
					type="text"
					label="MOD_RANDOM_IMAGE_FIELD_LINK_LABEL"
					description="MOD_RANDOM_IMAGE_FIELD_LINK_DESC"
				/>

				<field
					name="width"
					type="number"
					label="MOD_RANDOM_IMAGE_FIELD_WIDTH_LABEL"
					description="MOD_RANDOM_IMAGE_FIELD_WIDTH_DESC"
					default="100"
					filter="integer"
				/>

				<field
					name="height"
					type="number"
					label="MOD_RANDOM_IMAGE_FIELD_HEIGHT_LABEL"
					description="MOD_RANDOM_IMAGE_FIELD_HEIGHT_DESC"
					filter="integer"
				/>

			</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"
				/>
			</fieldset>
		</fields>
	</config>
</extension>
