<?xml version="1.0" encoding="utf-8"?>
<extension version="3.6" type="plugin" group="system" method="upgrade">
	<name>onWebChat - Live Chat</name>
	<author>onWebChat</author>
	<creationDate>June 2015</creationDate>
	<copyright> onWebChat. All rights reserved.</copyright>
	<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
	<authorEmail>info@onwebchat.com</authorEmail>
	<authorUrl>www.onwebchat.com</authorUrl>
	<version>2.3.3</version>
	<description>Free Live Chat software for your website. Install it in less than a minute, track your visitors and chat with them!</description>
	<files>
		<filename plugin="onwebchat">onwebchat.php</filename>
		<filename>index.html</filename>
		<filename>onwebchat.js</filename>
	</files>
	<updateservers>
		<server type="extension" priority="1" name="onWebchat.com">https://www.onwebchat.com/updates/joomla_plg_onwebchat.xml</server>
	</updateservers>
	<config>
		<fields name="params">
			<fieldset name="Basic">
                <field name="create-onwebchat-account" type="spacer" description=" " label="If you don't have an onWebChat account, you can create one &lt;a href='https://www.onwebchat.com/signup.php' target='_blank'&gt;here&lt;/a&gt;" />
                <field name="install-onwebchat"  type="spacer" description=" " label="To install onWebChat on your Joomla website please insert your Chat ID to the following field."></field>
                <field name="login-onwebchat"  type="spacer" description=" " label="You can find your Chat Id in settings page, in onWebChat Operator Console, login &lt;a href='https://www.onwebchat.com/login.php' target='_blank'&gt;here&lt;/a&gt;"></field>
                <field name="customize-onwebchat" type="spacer" description=" " label="[You can customize your chat widget appearance from settings page in Operator Console]"></field>
				<field name="chatid" type="text" filter="string" default="" label="onWebChat ID" description="Please login to onwebchat.com and get your Chat Id" />
				<field
					name="pages-select"
					type="list"
					label="Display settings"
					description="Allows admin to select where the chat widget should be placed on website"
					default="1"
					filter="options"
					onchange="onwc_select_change()"
					>
					<option value="1">Show chat widget on all pages</option>
					<option value="2">Show on the following pages:</option>
					<option value="3">Hide on the following pages:</option>
				</field>
					<field
					name="showonpages"
					type="textarea"
					label="Show on following pages"
					description="You can insert multiple pages separated by , (home will identify homepage). You can insert a part of the page or URL. e.g. home,index,price,contact.php,blog"
					>
				</field>

					<field
					name="hideonpages"
					type="textarea"
					label="Hide on following pages"
					description="You can insert multiple pages separated by , (home will identify homepage). You can insert a part of the page or URL. e.g. home,index,price,contact.php,blog"
					>
				</field>

				<field
						name="onwebchatapi"
						type="textarea"
						label="onWebChat Chat API code"
						description="You can insert multiple api commands, one by line. For more information about onWebChat API visit www.onwebchat.com/live-chat-api.php"
				>
				</field>
			</fieldset>
		</fields>
	</config>
</extension>
