<?xml version="1.0" encoding="utf-8"?>
<install type="module" version="1.5.18" method="upgrade">
    <name>aiContactSafe module</name>
	<author>Algis Info Grup SRL</author>
	<creationDate>October 2009</creationDate>
	<copyright>(c)2010 Algis Info Grup SRL. All rights reserved.</copyright>
	<authorEmail>contact@algis.ro</authorEmail>
	<authorUrl>www.algis.ro</authorUrl>
	<version>1.0.13.stable</version>
	<license>GNU/GPL License - http://www.gnu.org/licenses/gpl-2.0.html</license>
	<description>A module to display the contact form generated by aiContactSafe. Just select the profile to use from aiContactSafe and publish the module in the template position where you need the contact form. For "Fields values" use something like this "aics_name=default name|field2_name=value field2". "aics_name=default name" will set the default value of the field aics_name to "default name". You can use here all the fields defined in aiContactSafe.</description>

    <files>
		<filename module="mod_aicontactsafe">mod_aicontactsafe.php</filename>
		<filename>index.html</filename>
		<filename>mod_aicontactsafe.xml</filename>
	</files>
	<params addpath="/components/com_aicontactsafe/includes/elements">
		<param name="moduleclass_sfx" type="text" default="" label="Module Class Suffix" description="A suffix to be applied to the css class of the module, this allows individual module styling." />
		<param name="pf" type="aicontactsafeprofile" default="2" label="Select profile" description="Select the profile id to use in the contact form." />
		<param name="use_css" type="list" default="1" label="Profile's CSS" description="Enable the CSS code defined for the selected profile">
			<option value="0">No</option>
			<option value="1">Yes</option>
	  	</param>
		<param name="fd_values" type="textarea" default="" label="Fields values" description="Specify the values to use as default for each field. Use something like this : aics_name=default name|field2_name=value field2 ." rows="5" cols="30" />
		<param type="spacer" />
		<param name="donate" type="aidonate" label="You can help us" description="If you think this extension helped you, you can help us keep the projects going, with a Paypal donation." />
	</params>
	<config>
		<fields name="params" addfieldpath="/components/com_aicontactsafe/includes/elements">
			<fieldset name="basic">
				<field name="moduleclass_sfx" type="text" default="" label="Module Class Suffix" description="A suffix to be applied to the css class of the module, this allows individual module styling." />
				<field name="pf" type="aicontactsafeprofile" default="2" label="Select profile" description="Select the profile id to use in the contact form." />
				<field name="use_css" type="list" default="1" label="Profile's CSS" description="Enable the CSS code defined for the selected profile">
					<option value="0">No</option>
					<option value="1">Yes</option>
				</field>
				<field name="fd_values" type="textarea" default="" label="Fields values" description="Specify the values to use as default for each field. Use something like this : aics_name=default name|field2_name=value field2 ." rows="5" cols="30" />
				<field type="spacer" />
				<field name="donate" type="aidonate" label="You can help us" description="If you think this extension helped you, you can help us keep the projects going, with a Paypal donation." />
			</fieldset>
		</fields>
	</config>
</install>
