<?xml version="1.0" encoding="utf-8"?>
<!-- $Id: fieldsattach.xml 14 2009-11-02 18:35:20Z chdemko $ -->
<extension type="component" version="3.0" method="upgrade">

	<name>fieldsattach</name>
	<!-- The following elements are optional and free of formatting conttraints -->
	<creationDate>Genuary 2011</creationDate>
	<updateDate>22/07/2012</updateDate>
	<author>Cristian Grañó Reder</author>
	<authorEmail>cristian@percha.com</authorEmail>
	<authorUrl>http://www.percha.com</authorUrl>
	<copyright>Copyright Info</copyright>
	<license>License Info</license>
	<!--  The version string is recorded in the components table -->
	<version>3.5.0.2</version>
	<!-- The description is optional and defaults to the name -->
	<description></description>

	<installfile>install.php</installfile>
  	<uninstallfile>uninstall.php</uninstallfile>
    
    <scriptfile>install.php</scriptfile>
	

	<install> <!-- Runs on install -->
		<sql>
			<file driver="mysql" charset="utf8">sql/install.mysql.utf8.sql</file>
		</sql>
	</install>
	<uninstall> <!-- Runs on uninstall -->
		<sql>
			<file driver="mysql" charset="utf8">sql/uninstall.mysql.utf8.sql</file>
		</sql>
	</uninstall>
	<update> <!-- Runs on update; New in 1.6 -->
		<schemas>
			<schemapath type="mysql">sql/updates/mysql</schemapath>
		</schemas>
	</update> 
    
	<!-- Site Main File  Section --> 
	<files folder="site">
		<filename>index.html</filename>
		<filename>controller.php</filename>
		<filename>fieldsattach.php</filename>
		<folder>helpers</folder>
        <folder>controllers</folder>
		<folder>views</folder>
		<folder>models</folder>
	</files>

	<languages folder="site">
		<language tag="en-GB">language/en-GB/en-GB.com_fieldsattach.ini</language> 
	</languages>

	<media destination="com_fieldsattach" folder="media">
		<filename>index.html</filename>
		<folder>images</folder>
	</media>

	<administration>
		<!-- Administration Menu Section -->
		<menu img="../media/com_fieldsattach/images/logo-16x16.png">COM_FIELSATTACH_MENU</menu>
		<!-- Administration Main File Copy Section --> 
		<files folder="admin"> 			<!-- Admin Main File Copy Section -->
			<filename>index.html</filename>
			<filename>config.xml</filename>
			<filename>access.xml</filename>
			<filename>fieldsattach.php</filename>
            <filename>popup-imagemanager_folder.js</filename>
            <filename>popup-imagemanager.js</filename>
			<filename>controller.php</filename>
			<!-- SQL files section -->
			<folder>sql</folder>
			<!-- tables files section -->
			<folder>tables</folder>
			<!-- models files section -->
			<folder>models</folder>
			<!-- views files section -->
			<folder>views</folder>
			<!-- controllers files section -->
			<folder>controllers</folder>
			<!-- helpers files section -->
			<folder>helpers</folder>
			<!-- helpers files section -->
			<folder>images</folder>
			<!-- EXTENSIONS -->
			<folder>extensions</folder>

		</files>

		<languages folder="admin">
			<language tag="en-GB">language/en-GB/en-GB.com_fieldsattach.ini</language>
			<language tag="en-GB">language/en-GB/en-GB.com_fieldsattach.sys.ini</language>
		</languages>
	</administration>

        <!-- UPDATESERVER DEFINITION -->
	<updateservers>
		<!-- Note: No spaces or linebreaks allowed between the server tags -->
		<server type="extension" priority="1" name="FieldsAttach Update Site">http://www.percha.com/update/fieldsattach-update_j3.xml</server>
	</updateservers>

</extension>

