Liveagent - Version 3.1.0

Version Notes

- a multi-store support added (now you can turn your button on or off for a specific store)

Download this release

Release Info

Developer Quality Unit, LLC
Extension Liveagent
Version 3.1.0
Comparing to
See all releases


Code changes from version 3.0.9 to 3.1.0

app/code/local/Qualityunit/Liveagent/Block/Adminhtml/System/Config/Fieldset/Hint.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Qualityunit_Liveagent_Block_Adminhtml_System_Config_Fieldset_Hint
3
+ extends Mage_Adminhtml_Block_Abstract
4
+ implements Varien_Data_Form_Element_Renderer_Interface {
5
+
6
+ protected $_template = 'liveagent/system/config/fieldset/hint.phtml';
7
+
8
+ /**
9
+ * Render fieldset html
10
+ *
11
+ * @param Varien_Data_Form_Element_Abstract $element
12
+ * @return string
13
+ */
14
+ public function render(Varien_Data_Form_Element_Abstract $element) {
15
+ return $this->toHtml();
16
+ }
17
+ }
app/code/local/Qualityunit/Liveagent/Helper/Settings.php CHANGED
@@ -190,11 +190,65 @@ class Qualityunit_Liveagent_Helper_Settings {
190
  );
191
  }
192
 
193
- public function getSavedButtonCode() {
 
 
 
 
 
194
  if ($this->getOption(Qualityunit_Liveagent_Helper_Settings::BUTTON_CODE) != '') {
195
- return $this->getOption(Qualityunit_Liveagent_Helper_Settings::BUTTON_CODE);
196
  }
197
- return '';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
198
  }
199
 
200
  public function getSavedButtonId() {
190
  );
191
  }
192
 
193
+ public function getSavedButtonCode() {
194
+ // TO DO: if allowed for this shop...
195
+ $config = Mage::getSingleton('liveagent/config');
196
+ if (!$config->isButtonEnabled()) {
197
+ return '<!-- LiveAgent: la_error - button display is turned off for this store -->';
198
+ }
199
  if ($this->getOption(Qualityunit_Liveagent_Helper_Settings::BUTTON_CODE) != '') {
200
+ return $this->replacePlaceholders($this->getOption(Qualityunit_Liveagent_Helper_Settings::BUTTON_CODE));
201
  }
202
+ return '<!-- LiveAgent: la_error - no button code set yet -->';
203
+ }
204
+
205
+ public function replacePlaceholders($htmlCode) {
206
+ $customerSession = Mage::getSingleton('customer/session');
207
+ if (!$customerSession->isLoggedIn()) {
208
+ $htmlCode = str_replace('%%firstName%%', '', $htmlCode);
209
+ $htmlCode = str_replace('%%lastName%%', '', $htmlCode);
210
+ $htmlCode = str_replace('%%email%%', '', $htmlCode);
211
+ $htmlCode = str_replace('%%phone%%', '', $htmlCode);
212
+ $htmlCode = str_replace('%%order%%', '', $htmlCode);
213
+ return $htmlCode;
214
+ }
215
+
216
+ $customer = $customerSession->getCustomer();
217
+
218
+ if (($customer->getFirstname() != null) && ($customer->getFirstname() != '')) {
219
+
220
+ $htmlCode = str_replace('%%firstName%%', "LiveAgent.addUserDetail('firstName', '" . $customer->getFirstname() . "');\n", $htmlCode);
221
+ }
222
+ else {
223
+ $htmlCode = str_replace('%%firstName%%', '', $htmlCode);
224
+ }
225
+
226
+ if (($customer->getLastname() != null) && ($customer->getLastname() != '')) {
227
+ $htmlCode = str_replace('%%lastName%%', "LiveAgent.addUserDetail('lastName', '" . $customer->getLastname() . "');\n", $htmlCode);
228
+ }
229
+ else {
230
+ $htmlCode = str_replace('%%lastName%%', '', $htmlCode);
231
+ }
232
+
233
+ if (($customer->getEmail() != null) && ($customer->getEmail() != '')) {
234
+ $htmlCode = str_replace('%%email%%', "LiveAgent.addUserDetail('email', '" . $customer->getEmail() . "');\n", $htmlCode);
235
+ }
236
+ else {
237
+ $htmlCode = str_replace('%%email%%', '', $htmlCode);
238
+ }
239
+
240
+ if ($customer->getPrimaryBillingAddress() !== false) {
241
+ if (($customer->getPrimaryBillingAddress()->getTelephone() != null) && ($customer->getPrimaryBillingAddress()->getTelephone() != '')) {
242
+ $htmlCode = str_replace('%%phone%%', "LiveAgent.addUserDetail('phone', '" . $customer->getPrimaryBillingAddress()->getTelephone() . "');\n", $htmlCode);
243
+ }
244
+ else {
245
+ $htmlCode = str_replace('%%phone%%', '', $htmlCode);
246
+ }
247
+ }
248
+ else {
249
+ $htmlCode = str_replace('%%phone%%', '', $htmlCode);
250
+ }
251
+ return $htmlCode;
252
  }
253
 
254
  public function getSavedButtonId() {
app/code/local/Qualityunit/Liveagent/Model/Config.php ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Qualityunit_Liveagent_Model_Config extends Mage_Core_Model_Config_Base {
3
+ var $addToStore;
4
+
5
+ public function __construct() {
6
+ $this->url = Mage::getStoreConfig('liveagent_config/widgetdisplay/addtostore');
7
+ }
8
+
9
+ public function isButtonEnabled() {
10
+ if (Mage::getStoreConfigFlag('liveagent_config/widgetdisplay/addtostore')) {
11
+ return true;
12
+ }
13
+ return false;
14
+ }
15
+ }
app/code/local/Qualityunit/Liveagent/Model/Settings.php CHANGED
@@ -6,55 +6,6 @@ class Qualityunit_Liveagent_Model_Settings extends Mage_Core_Model_Abstract {
6
  $this->_init('liveagent/settings');
7
  }
8
 
9
- public function replacePlaceholders($htmlCode) {
10
- $customerSession = Mage::getSingleton('customer/session');
11
- if (!$customerSession->isLoggedIn()) {
12
- $htmlCode = str_replace('%%firstName%%', '', $htmlCode);
13
- $htmlCode = str_replace('%%lastName%%', '', $htmlCode);
14
- $htmlCode = str_replace('%%email%%', '', $htmlCode);
15
- $htmlCode = str_replace('%%phone%%', '', $htmlCode);
16
- $htmlCode = str_replace('%%order%%', '', $htmlCode);
17
- return $htmlCode;
18
- }
19
-
20
- $customer = $customerSession->getCustomer();
21
-
22
- if (($customer->getFirstname() != null) && ($customer->getFirstname() != '')) {
23
-
24
- $htmlCode = str_replace('%%firstName%%', "LiveAgent.addUserDetail('firstName', '" . $customer->getFirstname() . "');\n", $htmlCode);
25
- }
26
- else {
27
- $htmlCode = str_replace('%%firstName%%', '', $htmlCode);
28
- }
29
-
30
- if (($customer->getLastname() != null) && ($customer->getLastname() != '')) {
31
- $htmlCode = str_replace('%%lastName%%', "LiveAgent.addUserDetail('lastName', '" . $customer->getLastname() . "');\n", $htmlCode);
32
- }
33
- else {
34
- $htmlCode = str_replace('%%lastName%%', '', $htmlCode);
35
- }
36
-
37
- if (($customer->getEmail() != null) && ($customer->getEmail() != '')) {
38
- $htmlCode = str_replace('%%email%%', "LiveAgent.addUserDetail('email', '" . $customer->getEmail() . "');\n", $htmlCode);
39
- }
40
- else {
41
- $htmlCode = str_replace('%%email%%', '', $htmlCode);
42
- }
43
-
44
- if ($customer->getPrimaryBillingAddress() !== false) {
45
- if (($customer->getPrimaryBillingAddress()->getTelephone() != null) && ($customer->getPrimaryBillingAddress()->getTelephone() != '')) {
46
- $htmlCode = str_replace('%%phone%%', "LiveAgent.addUserDetail('phone', '" . $customer->getPrimaryBillingAddress()->getTelephone() . "');\n", $htmlCode);
47
- }
48
- else {
49
- $htmlCode = str_replace('%%phone%%', '', $htmlCode);
50
- }
51
- }
52
- else {
53
- $htmlCode = str_replace('%%phone%%', '', $htmlCode);
54
- }
55
- return $htmlCode;
56
- }
57
-
58
  public function getChatsOverview() {
59
  $settings = new Qualityunit_Liveagent_Helper_Settings();
60
  if ($settings->getApiKey() == '' || $settings->getLiveAgentUrl() == '') {
6
  $this->_init('liveagent/settings');
7
  }
8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  public function getChatsOverview() {
10
  $settings = new Qualityunit_Liveagent_Helper_Settings();
11
  if ($settings->getApiKey() == '' || $settings->getLiveAgentUrl() == '') {
app/code/local/Qualityunit/Liveagent/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Qualityunit_Liveagent>
5
- <version>3.0.7</version>
6
  </Qualityunit_Liveagent>
7
  </modules>
8
  <frontend>
@@ -66,6 +66,17 @@
66
  <title>Liveagent Module</title>
67
  <sort_order>10</sort_order>
68
  </Qualityunit_Liveagent>
 
 
 
 
 
 
 
 
 
 
 
69
  </children>
70
  </admin>
71
  </resources>
@@ -80,6 +91,13 @@
80
  </modules>
81
  </translate>
82
  </adminhtml>
 
 
 
 
 
 
 
83
  <global>
84
  <models>
85
  <liveagent>
2
  <config>
3
  <modules>
4
  <Qualityunit_Liveagent>
5
+ <version>3.1.0</version>
6
  </Qualityunit_Liveagent>
7
  </modules>
8
  <frontend>
66
  <title>Liveagent Module</title>
67
  <sort_order>10</sort_order>
68
  </Qualityunit_Liveagent>
69
+ <system>
70
+ <children>
71
+ <config>
72
+ <children>
73
+ <liveagent_config>
74
+ <title>LiveAgent multistore config</title>
75
+ </liveagent_config>
76
+ </children>
77
+ </config>
78
+ </children>
79
+ </system>
80
  </children>
81
  </admin>
82
  </resources>
91
  </modules>
92
  </translate>
93
  </adminhtml>
94
+ <default>
95
+ <liveagent>
96
+ <widgetdisplay>
97
+ <addtostore>1</addtostore>
98
+ </widgetdisplay>
99
+ </liveagent>
100
+ </default>
101
  <global>
102
  <models>
103
  <liveagent>
app/code/local/Qualityunit/Liveagent/etc/system.xml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <sections>
4
+ <liveagent_config translate="label" module="liveagent">
5
+ <class>la-menu-section</class>
6
+ <label>LiveAgent multistore config</label>
7
+ <header_css>la-header</header_css>
8
+ <tab>general</tab>
9
+ <sort_order>9999</sort_order>
10
+ <show_in_default>1</show_in_default>
11
+ <show_in_website>1</show_in_website>
12
+ <show_in_store>1</show_in_store>
13
+ <groups>
14
+ <hint>
15
+ <frontend_model>liveagent/adminhtml_system_config_fieldset_hint</frontend_model>
16
+ <sort_order>0</sort_order>
17
+ <show_in_default>1</show_in_default>
18
+ <show_in_website>1</show_in_website>
19
+ <show_in_store>1</show_in_store>
20
+ </hint>
21
+ <widgetdisplay translate="label">
22
+ <label>Tracking</label>
23
+ <frontend_type>text</frontend_type>
24
+ <sort_order>30</sort_order>
25
+ <show_in_default>1</show_in_default>
26
+ <show_in_website>1</show_in_website>
27
+ <show_in_store>1</show_in_store>
28
+ <fields>
29
+ <addtostore translate="label">
30
+ <label>Add button to store</label>
31
+ <frontend_type>select</frontend_type>
32
+ <source_model>adminhtml/system_config_source_yesno</source_model>
33
+ <sort_order>10</sort_order>
34
+ <show_in_default>1</show_in_default>
35
+ <show_in_website>1</show_in_website>
36
+ <show_in_store>1</show_in_store>
37
+ <comment><![CDATA[Whether to add a button to a store or not. (for multistore support)]]></comment>
38
+ </addtostore>
39
+ </fields>
40
+ </widgetdisplay>
41
+ </groups>
42
+ </liveagent_config>
43
+ </sections>
44
+ </config>
app/design/adminhtml/default/default/layout/liveagent.xml CHANGED
@@ -27,4 +27,12 @@
27
  <block type="adminhtml/dashboard_totals" name="liveagent_report" template="liveagent/report.phtml" />
28
  </reference>
29
  </adminhtml_dashboard_index>
 
 
 
 
 
 
 
 
30
  </layout>
27
  <block type="adminhtml/dashboard_totals" name="liveagent_report" template="liveagent/report.phtml" />
28
  </reference>
29
  </adminhtml_dashboard_index>
30
+
31
+ <adminhtml_system_config_edit>
32
+ <reference name="head">
33
+ <action method="addCss">
34
+ <stylesheet>liveagent/css/la-config.css</stylesheet>
35
+ </action>
36
+ </reference>
37
+ </adminhtml_system_config_edit>
38
  </layout>
app/design/adminhtml/default/default/template/liveagent/system/config/fieldset/hint.phtml ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @see Qualityunit_Liveagent_Block_Adminhtml_System_Config_Fieldset_Hint
4
+ */
5
+ ?>
6
+ <div class="la-notice">
7
+ <?php
8
+ echo Mage::helper('liveagent')->__('This configuration is meant for users who want to disable the main LiveAgent chat button from being displayed in a specific store (when more stores used).');
9
+ ?>
10
+ </div>
app/design/frontend/base/default/template/liveagent/button.phtml CHANGED
@@ -1,8 +1,3 @@
1
  <?php
2
- $settings = Mage::getModel('liveagent/settings');
3
- $setting = Mage::getModel('liveagent/settings')->load('la-config-button-code', 'name');
4
- if ($setting->getValue() != '') {
5
- $result = $settings->replacePlaceholders($setting->getData('value'));
6
- echo $result;
7
- }
8
- ?>
1
  <?php
2
+ $settings = Mage::helper('liveagent/settings');
3
+ echo $settings->getSavedButtonCode();
 
 
 
 
 
app/etc/modules/Qualityunit_Liveagent.xml CHANGED
@@ -4,7 +4,7 @@
4
  <Qualityunit_Liveagent>
5
  <active>true</active>
6
  <codePool>local</codePool>
7
- <version>3.0.7</version>
8
  </Qualityunit_Liveagent>
9
  </modules>
10
  </config>
4
  <Qualityunit_Liveagent>
5
  <active>true</active>
6
  <codePool>local</codePool>
7
+ <version>3.1.0</version>
8
  </Qualityunit_Liveagent>
9
  </modules>
10
  </config>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Liveagent</name>
4
- <version>3.0.9</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gnu.org/licenses/gpl-3.0.txt">GPLv3</license>
7
  <channel>community</channel>
@@ -9,11 +9,11 @@
9
  <summary>LiveAgent plugin integrates well known help desk and live chat software into any Magento installation. No HTML knowledge is required.</summary>
10
  <description>Magento-LiveAgent plugin integrates full featured help desk and live chat software Live Agent into any Magento installation.&#xD;
11
  Start by entering your existing account details or easily create one and then just choose which button you want to use for you shop. You are done in few clicks!</description>
12
- <notes>- a bug with JavaScript merging fixed</notes>
13
  <authors><author><name>Quality Unit, LLC</name><user>support</user><email>support@qualityunit.com</email></author></authors>
14
- <date>2016-03-31</date>
15
- <time>13:32:07</time>
16
- <contents><target name="magelocal"><dir name="Qualityunit"><dir name="Liveagent"><dir name="Block"><file name="AccountConnect.php" hash="8e1d5a6f83b283c440fccaf7c60c3c10"/><file name="Base.php" hash="86155f5e3264655ceb130dab28c405b6"/><file name="Buttoncode.php" hash="5a7c60199f39ac77d7ccfb2bec3ce2a7"/><file name="Signup.php" hash="4b5c66377a62f53696866964a386cef5"/></dir><dir name="Exception"><file name="Base.php" hash="c54d68353f3f7d765baac10f8900af16"/><file name="ConnectFailed.php" hash="af790857c2ee9972eb1dd0df6b90de68"/><file name="ConnectProblem.php" hash="dd2df3be3af51a621b7ec9df1fd5f8fb"/><file name="SignupFailed.php" hash="88fadc5990ec7a6fce5e1feb8c931ffa"/></dir><dir name="Helper"><file name="Account.php" hash="f4b560d1baff04f76f3fb03051e030f8"/><file name="Connect.php" hash="792d5a829bb069c14186665ae587f465"/><file name="Data.php" hash="9bd5c406141e8b7e62d725815bde5d2e"/><file name="Settings.php" hash="0ccc392ed93d70a39608b49e66dd993a"/></dir><dir name="Model"><file name="Buttons.php" hash="3c8e6136df4111c3100919b107ba6726"/><file name="Liveagent.php" hash="2c08986c55f107c7398c8f4e7ba99737"/><dir name="Mysql4"><dir name="Buttons"><file name="Collection.php" hash="64edb5ecfc9b1511ae155f347e9a0e6b"/></dir><file name="Buttons.php" hash="5c2fd7184c1bb88b381ef8440bfe1e4f"/><dir name="Liveagent"><file name="Collection.php" hash="29675fde5a317fdf980a549f40502b8e"/></dir><file name="Liveagent.php" hash="559e305b52289e79f9038aea53a85a48"/><dir name="Settings"><file name="Collection.php" hash="d9dfc6b2abadf95ad6dbdee9f52f9c28"/></dir><file name="Settings.php" hash="cdded3171b84b02ed4ad360dd3cb7b71"/></dir><file name="Settings.php" hash="2a8a09ccebe4fc6368597422ea5f66e6"/><file name="Status.php" hash="4e2f42f52c7cdc51388ce9dee5d2f85a"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="LiveagentController.php" hash="05f6610407d02de85dc8e96806be2165"/></dir><file name="IndexController.php" hash="2af5a61bf7319c38c97a48e0f3723598"/></dir><dir name="etc"><file name="config.xml" hash="fa781b6bacd44ff97435f4f52721d93e"/></dir><dir name="sql"><dir name="liveagent_setup"><file name="mysql4-install-0.1.0.php" hash="aaf89c3a8e551318bae3891e44c4d06e"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="liveagent.xml" hash="5a77968b68e659dc21bdad2605210333"/></dir><dir name="template"><dir name="liveagent"><file name="button.phtml" hash="dfe28e1f477153f996c8718a49a758cd"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="liveagent.xml" hash="4a380629d658897c0ab09b6969aa8b43"/></dir><dir name="template"><dir name="liveagent"><file name="button.phtml" hash="102ff91b93dfe01c8ac1ba4e6ed5d2ae"/><file name="report.phtml" hash="2100c3c18095186bd660c6cb66c00fc5"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Qualityunit_Liveagent.xml" hash="d14a360dc3dd4c32fa4204270f426612"/></dir></target><target name="magelocale"><dir name="en_US"><file name="qualityunit_liveagent.csv" hash="ddb1b449beb20afedd1d63abb446fc4e"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="liveagent"><dir name="css"><file name="animation.css" hash="e114422983f975cac20edbe5a12fdb37"/><dir name="fonts"><file name="OpenSans-Bold-webfont.eot" hash="7e78b345bbb56eb154a32396524b5650"/><file name="OpenSans-Bold-webfont.svg" hash="ba40976c12378dfdcd0c0b1b2747421b"/><file name="OpenSans-Bold-webfont.ttf" hash="0b6240e6a9217e44e77bbda8a2ed2bb0"/><file name="OpenSans-Bold-webfont.woff" hash="769a36776804007ab23b7266b22be392"/><file name="OpenSans-Light-webfont.eot" hash="5d5f7deb21a0609f0b12ae5332cfb6b9"/><file name="OpenSans-Light-webfont.svg" hash="93d6578a9051feb87bf857cbb3cabdb7"/><file name="OpenSans-Light-webfont.ttf" hash="4eb5ea0a1bc989d3bfeb9423be53e78f"/><file name="OpenSans-Light-webfont.woff" hash="798bf3bb0819ff94c7c8fd0142f58d22"/><file name="OpenSans-Regular-webfont.eot" hash="3b721cb588d7b323137bd456c237b116"/><file name="OpenSans-Regular-webfont.svg" hash="3b461c91b64d27057676c1a4562b3a15"/><file name="OpenSans-Regular-webfont.ttf" hash="50700928d66c83bc7501ce99690b265a"/><file name="OpenSans-Regular-webfont.woff" hash="9e002ce4035a849d41b9ba83993083d7"/></dir><file name="la_logo.svg" hash="686ec663e568d38de97df58b915f95f6"/><file name="lock.png" hash="7380f52e49851581388b2cd7c8a5d7bd"/><file name="ok_icon.png" hash="e66785de1c506b6f9635d97f35e0c7df"/><file name="report.css" hash="6d75d81d824b4f02db7ab63e595a85cc"/><file name="responsive.css" hash="a3dff048c1feec42f1efc8f066a70a0f"/><file name="style.css" hash="236fa1cec84b5b26261b244cf355659b"/><file name="video.jpg" hash="57d38a4cb802f6009f2f3b0a768d6fc2"/></dir><dir name="js"><file name="jquery-1.11.3.min.js" hash="895323ed2f7258af4fae2c738c8aea49"/><file name="jquery-no-conflict.js" hash="644f0006e36a235d2a6df494bed48636"/><file name="jquery.alphanum.js" hash="3610a43bb5a6892f7e1aae03f05582c2"/><file name="jquery.validate.min.js" hash="d7342d64b483db4cdc836047765c07f3"/><file name="lasignup.js" hash="909a3b89631232c9d782139eb00ecdc4"/></dir></dir></dir></dir></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.2.0</min><max>7.5.0</max></php><extension><name>curl</name><min></min><max></max></extension></required></dependencies>
19
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Liveagent</name>
4
+ <version>3.1.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gnu.org/licenses/gpl-3.0.txt">GPLv3</license>
7
  <channel>community</channel>
9
  <summary>LiveAgent plugin integrates well known help desk and live chat software into any Magento installation. No HTML knowledge is required.</summary>
10
  <description>Magento-LiveAgent plugin integrates full featured help desk and live chat software Live Agent into any Magento installation.&#xD;
11
  Start by entering your existing account details or easily create one and then just choose which button you want to use for you shop. You are done in few clicks!</description>
12
+ <notes>- a multi-store support added (now you can turn your button on or off for a specific store)</notes>
13
  <authors><author><name>Quality Unit, LLC</name><user>support</user><email>support@qualityunit.com</email></author></authors>
14
+ <date>2016-05-09</date>
15
+ <time>10:31:22</time>
16
+ <contents><target name="magelocal"><dir name="Qualityunit"><dir name="Liveagent"><dir name="Block"><file name="AccountConnect.php" hash="8e1d5a6f83b283c440fccaf7c60c3c10"/><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Hint.php" hash="95b66c729f07519bdf9187407f5394c2"/></dir></dir></dir></dir><file name="Base.php" hash="86155f5e3264655ceb130dab28c405b6"/><file name="Buttoncode.php" hash="5a7c60199f39ac77d7ccfb2bec3ce2a7"/><file name="Signup.php" hash="4b5c66377a62f53696866964a386cef5"/></dir><dir name="Exception"><file name="Base.php" hash="c54d68353f3f7d765baac10f8900af16"/><file name="ConnectFailed.php" hash="af790857c2ee9972eb1dd0df6b90de68"/><file name="ConnectProblem.php" hash="dd2df3be3af51a621b7ec9df1fd5f8fb"/><file name="SignupFailed.php" hash="88fadc5990ec7a6fce5e1feb8c931ffa"/></dir><dir name="Helper"><file name="Account.php" hash="f4b560d1baff04f76f3fb03051e030f8"/><file name="Connect.php" hash="792d5a829bb069c14186665ae587f465"/><file name="Data.php" hash="9bd5c406141e8b7e62d725815bde5d2e"/><file name="Settings.php" hash="12d60f31e8d1f41ed560c59ea0687bfc"/></dir><dir name="Model"><file name="Buttons.php" hash="3c8e6136df4111c3100919b107ba6726"/><file name="Config.php" hash="715888cbcfbdf2d70805fdccf62a05ae"/><file name="Liveagent.php" hash="2c08986c55f107c7398c8f4e7ba99737"/><dir name="Mysql4"><dir name="Buttons"><file name="Collection.php" hash="64edb5ecfc9b1511ae155f347e9a0e6b"/></dir><file name="Buttons.php" hash="5c2fd7184c1bb88b381ef8440bfe1e4f"/><dir name="Liveagent"><file name="Collection.php" hash="29675fde5a317fdf980a549f40502b8e"/></dir><file name="Liveagent.php" hash="559e305b52289e79f9038aea53a85a48"/><dir name="Settings"><file name="Collection.php" hash="d9dfc6b2abadf95ad6dbdee9f52f9c28"/></dir><file name="Settings.php" hash="cdded3171b84b02ed4ad360dd3cb7b71"/></dir><file name="Settings.php" hash="33d2a37b380c4424f072797a9d6978ce"/><file name="Status.php" hash="4e2f42f52c7cdc51388ce9dee5d2f85a"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="LiveagentController.php" hash="05f6610407d02de85dc8e96806be2165"/></dir><file name="IndexController.php" hash="2af5a61bf7319c38c97a48e0f3723598"/></dir><dir name="etc"><file name="config.xml" hash="2327efa4a3db91bad716b48721d6e36a"/><file name="system.xml" hash="09da588a164356e75136384792e8e749"/></dir><dir name="sql"><dir name="liveagent_setup"><file name="mysql4-install-0.1.0.php" hash="aaf89c3a8e551318bae3891e44c4d06e"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="liveagent.xml" hash="5a77968b68e659dc21bdad2605210333"/></dir><dir name="template"><dir name="liveagent"><file name="button.phtml" hash="26ca8ed79a896c5ee6df75c2e84b49ca"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="liveagent.xml" hash="092e58556ff589d03b81df4ed53e548c"/></dir><dir name="template"><dir name="liveagent"><file name="button.phtml" hash="102ff91b93dfe01c8ac1ba4e6ed5d2ae"/><file name="report.phtml" hash="2100c3c18095186bd660c6cb66c00fc5"/><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="4c503765e35eebae737fc38271fc4615"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Qualityunit_Liveagent.xml" hash="89c1531df13125a0fc6657e3cc33e5da"/></dir></target><target name="magelocale"><dir name="en_US"><file name="qualityunit_liveagent.csv" hash="ddb1b449beb20afedd1d63abb446fc4e"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="liveagent"><dir name="css"><file name="animation.css" hash="e114422983f975cac20edbe5a12fdb37"/><dir name="fonts"><file name="OpenSans-Bold-webfont.eot" hash="7e78b345bbb56eb154a32396524b5650"/><file name="OpenSans-Bold-webfont.svg" hash="ba40976c12378dfdcd0c0b1b2747421b"/><file name="OpenSans-Bold-webfont.ttf" hash="0b6240e6a9217e44e77bbda8a2ed2bb0"/><file name="OpenSans-Bold-webfont.woff" hash="769a36776804007ab23b7266b22be392"/><file name="OpenSans-Light-webfont.eot" hash="5d5f7deb21a0609f0b12ae5332cfb6b9"/><file name="OpenSans-Light-webfont.svg" hash="93d6578a9051feb87bf857cbb3cabdb7"/><file name="OpenSans-Light-webfont.ttf" hash="4eb5ea0a1bc989d3bfeb9423be53e78f"/><file name="OpenSans-Light-webfont.woff" hash="798bf3bb0819ff94c7c8fd0142f58d22"/><file name="OpenSans-Regular-webfont.eot" hash="3b721cb588d7b323137bd456c237b116"/><file name="OpenSans-Regular-webfont.svg" hash="3b461c91b64d27057676c1a4562b3a15"/><file name="OpenSans-Regular-webfont.ttf" hash="50700928d66c83bc7501ce99690b265a"/><file name="OpenSans-Regular-webfont.woff" hash="9e002ce4035a849d41b9ba83993083d7"/></dir><file name="la-config.css" hash="8606aed8aa15224d003da2ab4228a8dd"/><file name="la-logo.png" hash="331e744a96c4720d1a7583235c3a8245"/><file name="la-tab.png" hash="aa2f9c6e52f8242d0cff65e706252753"/><file name="la_logo.svg" hash="686ec663e568d38de97df58b915f95f6"/><file name="lock.png" hash="7380f52e49851581388b2cd7c8a5d7bd"/><file name="ok_icon.png" hash="e66785de1c506b6f9635d97f35e0c7df"/><file name="report.css" hash="6d75d81d824b4f02db7ab63e595a85cc"/><file name="responsive.css" hash="a3dff048c1feec42f1efc8f066a70a0f"/><file name="style.css" hash="236fa1cec84b5b26261b244cf355659b"/><file name="video.jpg" hash="57d38a4cb802f6009f2f3b0a768d6fc2"/></dir><dir name="js"><file name="jquery-1.11.3.min.js" hash="895323ed2f7258af4fae2c738c8aea49"/><file name="jquery-no-conflict.js" hash="644f0006e36a235d2a6df494bed48636"/><file name="jquery.alphanum.js" hash="3610a43bb5a6892f7e1aae03f05582c2"/><file name="jquery.validate.min.js" hash="d7342d64b483db4cdc836047765c07f3"/><file name="lasignup.js" hash="909a3b89631232c9d782139eb00ecdc4"/></dir></dir></dir></dir></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.2.0</min><max>7.5.0</max></php><extension><name>curl</name><min></min><max></max></extension></required></dependencies>
19
  </package>
skin/adminhtml/default/default/liveagent/css/la-config.css ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ul.tabs a.la-menu-section {
2
+ background: url(la-tab.png) no-repeat 18px 4px;
3
+ overflow: hidden;
4
+ }
5
+
6
+ ul.tabs a.la-menu-section span {
7
+ padding-left: 40px;
8
+ }
9
+
10
+ ul.tabs a.la-menu-section:hover {
11
+ background-color: #D8E6E6;
12
+ }
13
+
14
+ ul.tabs a.la-menu-section.active {
15
+ background: #FFFFFF url(la-tab.png) no-repeat 18px 4px;
16
+ font-weight: bold;
17
+ border-width: 0;
18
+ }
19
+ ul.tabs a.la-menu-section.active span {
20
+ background-color: transparent;
21
+ }
22
+
23
+ ul.tabs a.la-menu-section.active:hover {
24
+ background: #FFFFFF url(la-tab.png) no-repeat 18px 4px;
25
+ }
26
+
27
+ .la-notice {
28
+ background: url(../../images/fam_help.gif) no-repeat 0 50%;
29
+ padding: 0 0 0 30px;
30
+ margin-bottom: 18px;
31
+ font-style: italic;
32
+ }
33
+ h3.la-header {
34
+ background: url(la-logo.png) no-repeat 0 0;
35
+ color: #44789A;
36
+ height: 52px;
37
+ text-indent: 270px;
38
+ line-height: 52px;
39
+ }
skin/adminhtml/default/default/liveagent/css/la-logo.png ADDED
Binary file
skin/adminhtml/default/default/liveagent/css/la-tab.png ADDED
Binary file