<?xml version="1.0" ?>
<!--
	*************************************************************************************************************
	mod_olark_chat.xml                                                                                           
	- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	@author		Mario Gleichmann                                                                                 
	@package	Joomla                                                                                           
	@version	1.1.1                                                                                            
	@copyright	Copyright (C) 2009 Mario Gleichmann. All rights reserved.                                        
	@mail       mgleich@orcas-internet.de                                                                        
	@license	GNU/GPL, see LICENSE.php                                                                         
	                                                                                                             
	Joomla! is free software. This version may have been modified pursuant to the GNU General Public License, and
	as distributed it includes or is derivative of works licensed under the GNU General Public License or other  
	free or open source software licenses. See COPYRIGHT.php for copyright notices and details.                  
-->

<install type="module" version="1.5.0" method="upgrade">
	<name>Olark Chat</name>
	<author>Mario Gleichmann</author>
	<creationDate>August 2009</creationDate>
	<license>http://www.gnu.org/copyleft/gpl.html GNU/GPL</license>
	<authorEmail>mgleich@orcas-internet.de</authorEmail>
	<authorUrl>www.orcas-internet.de</authorUrl>
	<version>1.1.1</version>
	<description>Module to display a small chat box, a help support system powered by Olark.com&lt;br /&gt;
		&lt;br /&gt;
		&lt;a href=&quot;/modules/mod_olark_chat/install.php&quot;&gt;Finish your installation by install 3 files to /libraries/joomla/html/parameter/element by clicking here&lt;/a&gt;&lt;br /&gt;
		To uninstall use &quot;/modules/mod_olark_chat/uninstall.php&quot;
	</description>
	<files>
		<filename module="mod_olark_chat">mod_olark_chat.php</filename>
		<filename>index.html</filename>
		<filename>mgnote.php</filename>
		<filename>mgspacer.php</filename>
		<filename>mgtext.php</filename>
		<filename>install.php</filename>
		<filename>uninstall.php</filename>
	</files>
	<languages>
		<language tag="de-DE">de-DE.mod_olark_chat.ini</language>
		<language tag="it-IT">it-IT.mod_olark_chat.ini</language>
		<language tag="es-ES">es-ES.mod_olark_chat.ini</language>
	</languages>
	<params>
		<!-- Obligate Elemenets: -->
		<param name="olarkid"                    label="Olark ID:"                   type="text"     default="" description="To get a valid id you must register on http://www.orlark.com. (Its free)" />

		<param name=""                           label="Note:"                       type="mgnote"   default="Let the texts on default for multi language mode. The texts will be then translated in the language, which have the visitor choosen. Now en-GB and de-DE supported." description="To make an additionaly language available copy /language/de-DE/de-DE.mod_olark_chat.ini to the new language tree and translate the values after the equal sign." />
		<!-- Window Text: -->
		<param name="@spacer"                    label=""                            type="mgspacer" default="Window Text:" description="" />
		<param name="say_text"                   label="input box message*:"         type="mgtext"   default="Type here and hit &lt;enter&gt; to chat" description="Text that appears in the top bar of the Olark box." title="Type here and hit &lt;enter&gt; to chat" />

		<!-- Offline Messages: -->
		<param name="@spacer"                    label=""                            type="mgspacer" default="Offline Messages:" description="" />
		<param name="not_available_text"         label="offline header*:"            type="mgtext"   default="Live Help: Offline" description="Text displayed in the top bar when the operator is not available." title="Live Help: Offline" />
		<param name="offline_message"            label="offline body*:"              type="mgtext"   default="Our live support feature is currently offline. Please try again later." description="This message is displayed in the body of the Olark box when no operators are available." title="Our live support feature is currently offline. Please try again later." />
		<param name="busy_text"                  label="busy header*:"               type="mgtext"   default="Live Help: Unavailable" description="Text displayed in the top bar when the operator is busy i.e. they have reached their concurrent webuser limit." title="Live Help: Unavailable" />
		<param name="busy_message"               label="busy body*:"                 type="mgtext"   default="All of our representatives are with other customers at this time. We will be with you shortly." description="This message is displayed in the body of the Olark box when an operator is available, but they do not have any available webuser slots." title="All of our representatives are with other customers at this time. We will be with you shortly." />

		<!-- Online Messages: -->
		<param name="@spacer"                    label=""                            type="mgspacer" default="Online Messages:" description="" />
		<param name="before_chat_text"           label="before chat header*:"        type="mgtext"   default="Click for Live Help" description="Text appearing before a chat begins, i.e. before a user has click on the Olark box." title="Click for Live Help" />
		<param name="in_chat_text"               label="in chat header*:"            type="mgtext"   default="Live Help: Now Chatting" description="Text displayed in the top bar during a chat." title="Live Help: Now Chatting" />
		<param name="welcome_msg"                label="welcome message*:"           type="mgtext"   default="Questions? This window is your portal to live online support. We are around, send us a message." description="The welcome message is displayed when a visitor expands the Olark box and there is not an active conversation." title="Questions? This window is your portal to live online support. We are around, send us a message." />

		<!-- Pre Chat Settings: -->
		<param name="@spacer"                    label=""                            type="mgspacer" default="Pre Chat Settings:" description="" />
		<param name="pre_chat_message"           label="Welcome Message*:"           type="mgtext"   default="Hi, I am around, click 'start chatting' to contact me." description="The message your visitors see above the prompt to enter their email and name." title="Hi, I am around, click 'start chatting' to contact me." />
		<param name="pre_chat_error_text"        label="Error Message*:"             type="mgtext"   default="Please enter your name and email in case we get disconnected." description="The message your visitors see if they don't enter their email and name." title="Please enter your name and email in case we get disconnected." />
		<param name="pre_chat_submit"            label="Continue Button*:"           type="mgtext"   default="Click here to start chatting" description="The text of the button your visitors have to click on to start chatting with you." title="Click here to start chatting" />

		<!-- Offline Mailform Messages -->
		<param name="@spacer"                    label=""                            type="mgspacer" default="Offline Mailform Messages:" description="" />
		<param name="email_body_error_text"      label="email_body_error_text:"      type="mgtext"   default="Complete all fields" description="Text displayed in the body of the olark window, if the Name or the Email isn't filled out." title="Complete all fields" />
		<param name="habla_name_input_text"      label="habla_name_input_text:"      type="mgtext"   default="&lt;click here&gt; and type your Name" description="Text displayed before the Name input." title="&lt;click here&gt; and type your Name" />
		<param name="habla_offline_email_text"   label="habla_offline_email_text:"   type="mgtext"   default="&lt;click here&gt; and type your Email" description="Text displayed before the Email input." title="&lt;click here&gt; and type your Email" />
		<param name="habla_offline_submit_value" label="habla_offline_submit_value:" type="mgtext"   default="Send" description="Text displayed in the send button." title="Send" />
		<param name="habla_offline_body_text"    label="habla_offline_body_text:"    type="mgtext"   default="We are offline, send us a message" description="Text displayed in the body of the olark window if all operators are offline." title="We are offline, send us a message" />
		<param name="habla_offline_sent_text"    label="habla_offline_sent_text:"    type="mgtext"   default="Thank you for your message. We will get back to you as soon as we can." description="Text displayed after sending the mailform." title="Thank you for your message. We will get back to you as soon as we can." />

		<!-- Other Messages: -->
		<param name="@spacer"                    label=""                            type="mgspacer" default="Other Messages:" description="" />
		<param name="away_text"                  label="away_text:"                  type="mgtext"   default="Live Help: Unavailable" description="Text displayed in the top bar when the operator is away." title="Live Help: Unavailable" />
		<param name="send_text"                  label="send_text:"                  type="mgtext"   default="Send" description="Text displayed in the send button." title="Send" />
		<param name="sending_text"               label="sending_text:"               type="mgtext"   default="sending" description="Text displayed while sending." title="sending" />
	</params>
	<params group="advanced">
		<param name=""                           label="Note:"                       type="mgnote"   default="Following options should be only changed if no option under http://www.olark.com/customize is available." description="This options are for special cases only and overwrite the settings, which are defined at olark.com." style="color: #f00;" />

		<!-- position: -->
		<param name="@spacer"                    label=""                            type="mgspacer" default="position:" description="" />
		<param name="inline"                     label="inline:"                     type="radio"    default="-1" description="Say Yes to set the Olark window to show inline (i.e. not float).">
			<option value="-1">Default</option>
			<option value="0">No</option>
			<option value="1">Yes</option>
		</param>

		<!-- Away Messages: -->
		<param name="@spacer"                    label=""                            type="mgspacer" default="Away Messages:" description="" />
		<param name="show_away"                  label="show_away:"                  type="radio"    default="-1" description="By default we do not show away messages. Set this variable to 'Yes' to show your away message in the body of the Olark box when you are away.">
			<option value="-1">Default</option>
			<option value="0">No</option>
			<option value="1">Yes</option>
		</param>
		<param name="show_away_as_header"        label="show_away_as_header:"        type="radio"    default="-1" description="Show a part of your away message in the title bar of the Olark window (i.e. as much as will fit) when you are away. By default we display the value of 'away_text' in the title bar when you are away.">
			<option value="-1">Default</option>
			<option value="0">No</option>
			<option value="1">Yes</option>
		</param>

		<!-- Other Interface Elements: -->
		<param name="@spacer"                    label=""                            type="mgspacer" default="Other Interface Elements:" description="" />
		<param name="hide_min_max_buttons"       label="hide_min_max_buttons:"       type="radio"    default="-1" description="If you do not want users to be able to hide the window, you can disable the maximize and minimize buttons.">
			<option value="-1">Default</option>
			<option value="0">No</option>
			<option value="1">Yes</option>
		</param>
		<param name="enable_buttons"             label="enable_buttons:"             type="radio"    default="-1" description="You can also disable the Olark window's minimize and maximize functionality entirely. This is useful if you are embedding it into a page, and do not want people to minimize it, or if you are using an alternative method of opening and closing it. Setting this to 'No' will no longer let users click on the title bar of the Olark window to minimize, maximize, or close it.">
			<option value="-1">Default</option>
			<option value="0">No</option>
			<option value="1">Yes</option>
		</param>
		<param name="parse_links"                label="parse_links:"                type="radio"    default="-1" description="By default Olark attempts to automatically detect links, and make them click able. Set it to 'No' to disable this automatic.">
			<option value="-1">Default</option>
			<option value="0">No</option>
			<option value="1">Yes</option>
		</param>
		<param name="url_handler_target_window"  label="url_handler_target_window:"  type="mgtext"   default="_top" description="By default all links that are detected in your messages are targeted to the same window you are currently chatting in. If you are using Olark in a pop-up you could set this to '_blank' or if you were using Olark in a frameset this could be the name of a frame window. Note: when this is set to '_blank' in a pop-up, links may not open in a new window but rather in a new tab in the pop-up window. This is especially true for Firefox users and other users who configure new pages to open in a new tab." />
		<param name="url_local_pattern"          label="url_local_pattern:"          type="mgtext"   default="localhost" description="Olark attempts with this pattern to detect whether each link is 'local' or 'remote'." />
		<param name="url_handler"                label="url_handler:"                type="mgtext"   default="static.olark.com/js/html/url_handler.html" description="If the link did not match the above pattern we use the URL pass it to the URL handler, so that the Olark window can be embedded into the new page, and your chat persists." />

		<!-- Olark Icons: -->
		<param name="@spacer"                    label=""                            type="mgspacer" default="Olark Icons:" description="" />
		<param name="default_flash_off_icon"     label="default_flash_off_icon:"     type="mgtext"   default="http://static.olark.com/js/images/white.ico" description="This icon is shown in the tab and alternated with the 'flash_on' icon when a message is received, and then used as the default page icon after a user has acknowledge the message." />
		<param name="default_flash_on_icon"      label="default_flash_on_icon:"      type="mgtext"   default="http://static.olark.com/js/images/orange.ico" description="This icon is flashed at the top of a tab when an message is received." />
		<param name="flash_icons"                label="flash_icons:"                type="radio"    default="-1" description="With 'No' you can disable flashing icons at the top of a tab when a message is received.">
			<option value="-1">Default</option>
			<option value="0">No</option>
			<option value="1">Yes</option>
		</param>

		<!-- Plugin Configuration Variable: -->
		<param name="@spacer"                    label=""                            type="mgspacer" default="Plugin Configuration Variable:" description="" />
		<param name="disableGoogleAnalytics"     label="disableGoogleAnalytics:"     type="radio"    default="-1" description="This disables the google analytics plugin. By default, if we detect you have google analytics on your page Olark will automatically report chat events to google analytics for your viewing pleasure. Some people don't like this, so you can disable this functionality.">
			<option value="-1">Default</option>
			<option value="0">No</option>
			<option value="1">Yes</option>
		</param>
	</params>
</install>
