<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="2.5" client="site" method="upgrade">
	<name>mod_VikTripadvisorReview</name>
	<author>Extensionsforjoomla.com</author>
	<creationDate>March 2013</creationDate>
	<copyright>Copyright (C) 2013 Extensionsforjoomla.com. All rights reserved.</copyright>
	<license>GNU General Public License version 2 or later</license>
	<authorEmail>valentina@extensionsforjoomla.com</authorEmail>
	<authorUrl>www.extensionsforjoomla.com</authorUrl>
	<version>1.0</version>
	<description><![CDATA[ 
	<div style="font-weight:normal; font-size:13px;">
	<h2 style="color:#666; font-size:22px; font-weight:normal; border-bottom:1px solid #ddd;">Vik Trip Advisor Reviews</h2>
	<p>Before compile the fields all the module, be sure to have the url of your Trip Advisor page (in the above link you can see an example) and the ID of your Structure.</p>
	<h3>Example of URL of your Tripadvisor structure</h3>
	http://www.tripadvisor.com/Hotel_Review-g0000000-d1234567-r-other-part-of-your-urlwebsite.html
	<h3>The red part of the above link is a guide to find your <span style="color:#ff0000;">ID</span> structure. </h3>
	http://www.tripadvisor.com/Hotel_Review-g0000000-d<span style="color:#ff0000;">1234567</span>-r-other-part-of-your-urlwebsite.html
	<br />
	<br />
	<div style="font-size:12px; float:right;"><a style="color:#666;" href="http://extensionsforjoomla.com/" target="_blank">Copyright Extensions For Joomla</a></div>
	
	</div>]]></description>
	<files>
		<filename module="mod_VikTripadvisorReview">mod_VikTripadvisorReview.php</filename>
		<folder>tmpl</folder>
		<filename>index.html</filename>
		<filename>helper.php</filename>
		<filename>mod_VikTripadvisorReview.xml</filename>
	</files>
	<languages>
        <language tag="en-GB">en-GB.mod_VikTripadvisorReview.ini</language>
  </languages>
	<config>
		<fields name="params">
			<fieldset name="basic">
				<field name="moduleclass_sfx" type="text" default="" label="Module Class Suffix" description="PARAMMODULECLASSSUFFIX" />
				<field name="typewidget" type="list" default="0" label="TYPEWIDGET" description="TYPEWIDGETDESC">
					<option value="0">Review Snippets</option>
					<option value="1">Rating Widget</option>
					<option value="2">Thumbs Up Badge</option>
					<option value="3">Rated on Widget</option>
					<option value="4">Bravo Widget</option>
					<option value="5">Tripadvisor Widget</option>
				</field> 
				<field name="urlwebsite" size="40" type="text" default="http://" label="URLWEBSITETRIP" description="URLWEBSITETRIPDESC" />
				<field name="idhotel" type="text" filter="integer" default="0000" size="8" label="IDHOTEL" description="IDHOTELDESC" />
				<field name="lantripadv" type="list" default="en_US" label="ADVISLANGUAGE" description="ADVISLANGUAGEDESC">
					<option value="zh_CN">Chinese</option>
					<option value="en_US">English (American)</option>
					<option value="en_UK">English (British)</option>
					<option value="fr">French</option>
					<option value="de">German</option>
					<option value="el">Greek</option>
					<option value="it">Italian</option>
					<option value="no">Norwegian</option>
					<option value="pl">Polish</option>
					<option value="ru">Russian</option>
					<option value="es">Spanish</option>
					<option value="th">Thai</option>
					<option value="tr">Turkish</option>
				</field>
				
			</fieldset>
			<fieldset name="tripadvisor" label="TRIPPARAMETERS">
				<field name="popularity" type="radio" default="1" label="HOTELPOPULARITY" description="HOTELPOPULARITYDESC">
      				<option value="1">YES</option>
      				<option value="0">NO</option>
   				 </field>
				<field name="rating" type="radio" default="1" label="RATINGHOTEL" description="RATINGHOTELDESC">
      				<option value="1">YES</option>
      				<option value="0">NO</option>
   				 </field>
   				 <field name="writereview" type="radio" default="1" label="WRITEREVIEW" description="WRITEREVIEWDESC">
      				<option value="1">YES</option>
      				<option value="0">NO</option>
   				 </field>
   				 <field name="border" type="radio" default="1" label="BORDERBOX" description="BORDERBOX">
      				<option value="1">YES</option>
      				<option value="0">NO</option>
   				 </field>
   				 <field name="size_thumb" type="radio" default="1" label="SIZETHUMB" description="SIZETHUMBDESC">
      				<option value="1">Narrow: 160px width, variable height</option>
      				<option value="0">Wide: 468px width maximum, 47px height</option>
   				 </field>
				<field name="rewlimit" type="text" filter="integer" default="3" size="5" label="REVIEWLIMIT" description="REVIEWLIMITDESC" />
			</fieldset>
		</fields>
	</config>
</extension>
