Diglin_Chat - Version 2.0.3

Version Notes

- 2.0.3 Update Zoppim Assets and add Cache Support
- 2.0.2: fix a bug on specific server configuration -
Zend_Log error fix
- 2.0.0: Complete new version - support of the new widget and API

Download this release

Release Info

Developer diglin
Extension Diglin_Chat
Version 2.0.3
Comparing to
See all releases


Code changes from version 2.0.2 to 2.0.3

Files changed (33) hide show
  1. app/code/community/Diglin/Chat/Block/Adminhtml/Config/Source/Heading.php +1 -4
  2. app/code/community/Diglin/Chat/Block/Adminhtml/Config/Source/Hint.php +1 -4
  3. app/code/community/Diglin/Chat/Block/Adminhtml/Dashboard.php +1 -4
  4. app/code/community/Diglin/Chat/Block/Display.php +57 -32
  5. app/code/community/Diglin/Chat/Helper/Data.php +9 -4
  6. app/code/community/Diglin/Chat/Model/Config/Source/Api.php +1 -4
  7. app/code/community/Diglin/Chat/Model/Config/Source/Badgecolor.php +1 -4
  8. app/code/community/Diglin/Chat/Model/Config/Source/Bubblecolor.php +1 -4
  9. app/code/community/Diglin/Chat/Model/Config/Source/Buttonposition.php +1 -4
  10. app/code/community/Diglin/Chat/Model/Config/Source/Classicthemes.php +1 -4
  11. app/code/community/Diglin/Chat/Model/Config/Source/Language.php +1 -4
  12. app/code/community/Diglin/Chat/Model/Config/Source/Layout.php +1 -4
  13. app/code/community/Diglin/Chat/Model/Config/Source/Mobileposition.php +1 -4
  14. app/code/community/Diglin/Chat/Model/Config/Source/Showhide.php +1 -4
  15. app/code/community/Diglin/Chat/Model/Config/Source/Simpleadvanced.php +1 -4
  16. app/code/community/Diglin/Chat/Model/Config/Source/Themes.php +1 -4
  17. app/code/community/Diglin/Chat/Model/Config/Source/Windowposition.php +1 -4
  18. app/code/community/Diglin/Chat/Model/Config/Source/Windowsize.php +1 -4
  19. app/code/community/Diglin/Chat/Model/Resource/Setup.php +1 -4
  20. app/code/community/Diglin/Chat/controllers/Adminhtml/IndexController.php +1 -4
  21. app/code/community/Diglin/Chat/data/diglinchat_setup/data-upgrade-1.3.0-2.0.1.php +1 -4
  22. app/code/community/Diglin/Chat/etc/adminhtml.xml +1 -4
  23. app/code/community/Diglin/Chat/etc/config.xml +6 -14
  24. app/code/community/Diglin/Chat/etc/system.xml +16 -11
  25. app/design/adminhtml/default/default/layout/chat.xml +5 -5
  26. app/design/adminhtml/default/default/template/chat/account.phtml +4 -7
  27. app/design/adminhtml/default/default/template/chat/dashboard.phtml +3 -6
  28. app/design/frontend/base/default/layout/chat.xml +1 -4
  29. app/design/frontend/base/default/template/chat/test.phtml +2 -5
  30. app/design/frontend/base/default/template/chat/widget.phtml +5 -10
  31. app/etc/modules/Diglin_Chat.xml +1 -1
  32. package.xml +7 -5
  33. skin/adminhtml/default/default/zopim/zopim.css +5 -0
app/code/community/Diglin/Chat/Block/Adminhtml/Config/Source/Heading.php CHANGED
@@ -8,13 +8,10 @@
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * @category Diglin
16
  * @package Diglin_Chat
17
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * @category Diglin
13
  * @package Diglin_Chat
14
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
 
app/code/community/Diglin/Chat/Block/Adminhtml/Config/Source/Hint.php CHANGED
@@ -8,13 +8,10 @@
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * @category Diglin
16
  * @package Diglin_Chat
17
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * @category Diglin
13
  * @package Diglin_Chat
14
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
 
app/code/community/Diglin/Chat/Block/Adminhtml/Dashboard.php CHANGED
@@ -8,13 +8,10 @@
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * @category Diglin
16
  * @package Diglin_Chat
17
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * @category Diglin
13
  * @package Diglin_Chat
14
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
 
app/code/community/Diglin/Chat/Block/Display.php CHANGED
@@ -8,13 +8,10 @@
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * @category Diglin
16
  * @package Diglin_Chat
17
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
@@ -22,6 +19,30 @@ class Diglin_Chat_Block_Display extends Mage_Core_Block_Template
22
  {
23
  private $_options;
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  /**
26
  * Set to force the button display
27
  *
@@ -81,16 +102,18 @@ class Diglin_Chat_Block_Display extends Mage_Core_Block_Template
81
  */
82
  public function getGreetingsOptions()
83
  {
 
 
 
84
  $data = array();
85
- $data[] = "'online': '" . $this->jsQuoteEscape($this->escapeHtml($this->getChatHelper()->getOnlineMessage())) . "'";
86
- $data[] = "'offline': '" . $this->jsQuoteEscape($this->escapeHtml($this->getChatHelper()->getOfflineMessage())) . "'";
87
- //$data[] = "'away': '" . $this->jsQuoteEscape($this->escapeHtml($this->getChatHelper()->getOfflineGreeting())) . "'";
88
 
89
  if (count($data) > 0) {
90
  $data = implode(',',$data);
91
  return "\$zopim.livechat.setGreetings({" . $data . "});" . "\n";
92
  }
93
- return;
94
  }
95
 
96
  /**
@@ -120,7 +143,7 @@ class Diglin_Chat_Block_Display extends Mage_Core_Block_Template
120
  if ($this->getChatHelper()->allowName() && strlen(trim(Mage::helper('customer')->getCurrentCustomer()->getName())) > 1) {
121
  return "\$zopim.livechat.setName('" . $this->jsQuoteEscape(Mage::helper('customer')->getCurrentCustomer()->getName()) . "');" . "\n";
122
  }
123
- return;
124
  }
125
 
126
  /**
@@ -133,7 +156,7 @@ class Diglin_Chat_Block_Display extends Mage_Core_Block_Template
133
  if ($this->getChatHelper()->allowEmail() && strlen(Mage::helper('customer')->getCurrentCustomer()->getEmail()) > 0) {
134
  return "\$zopim.livechat.setEmail('" . $this->jsQuoteEscape(Mage::helper('customer')->getCurrentCustomer()->getEmail()) . "');" . "\n";
135
  }
136
- return;
137
  }
138
 
139
  /**
@@ -167,7 +190,7 @@ class Diglin_Chat_Block_Display extends Mage_Core_Block_Template
167
  return implode(';' . "\n", $out) . ';' . "\n";
168
  }
169
 
170
- return;
171
  }
172
 
173
  /**
@@ -180,7 +203,7 @@ class Diglin_Chat_Block_Display extends Mage_Core_Block_Template
180
  $out = array();
181
 
182
  if ($this->getChatHelper()->getWindowTheme() == 'simple') {
183
- return;
184
  }
185
 
186
  if (strlen($this->getChatHelper()->getBubbleTitle()) > 0) {
@@ -203,7 +226,7 @@ class Diglin_Chat_Block_Display extends Mage_Core_Block_Template
203
  return implode(';' . "\n", $out) . ';' . "\n";
204
  }
205
 
206
- return;
207
  }
208
 
209
  /**
@@ -242,7 +265,7 @@ class Diglin_Chat_Block_Display extends Mage_Core_Block_Template
242
  return implode(';' . "\n", $out) . ';' . "\n";
243
  }
244
 
245
- return;
246
  }
247
 
248
  /**
@@ -269,9 +292,9 @@ class Diglin_Chat_Block_Display extends Mage_Core_Block_Template
269
  $out[] = "\$zopim.livechat.button.setPositionMobile('" . $this->getChatHelper()->getButtonPositionMobile() . "')";
270
  }
271
 
272
- // if ($this->getChatHelper()->getButtonHideOffline()) {
273
- // $out[] = "\$zopim.livechat.button.setHideWhenOffline(1)";
274
- // }
275
 
276
  // if (($this->getChatHelper()->getWidgetApi() == 'new')) {
277
  // if (strlen($this->getChatHelper()->getButtonOffsetVertical()) > 0) {
@@ -286,7 +309,7 @@ class Diglin_Chat_Block_Display extends Mage_Core_Block_Template
286
  if (count($out) > 0) {
287
  return implode(';' . "\n", $out). ';' . "\n";
288
  }
289
- return;
290
  }
291
 
292
  /**
@@ -306,7 +329,7 @@ class Diglin_Chat_Block_Display extends Mage_Core_Block_Template
306
  if (count($out) > 0) {
307
  return implode(';' . "\n", $out). ';' . "\n";
308
  }
309
- return;
310
  }
311
 
312
  /**
@@ -316,7 +339,7 @@ class Diglin_Chat_Block_Display extends Mage_Core_Block_Template
316
  // public function getUnreadFlagOptions()
317
  // {
318
  // if ($this->getChatHelper()->getWidget() != 'classic') {
319
- // return;
320
  // }
321
  //
322
  // $out = array();
@@ -325,7 +348,7 @@ class Diglin_Chat_Block_Display extends Mage_Core_Block_Template
325
  // if (count($out) > 0) {
326
  // return implode(';' . "\n", $out). ';' . "\n";
327
  // }
328
- // return;
329
  // }
330
 
331
  /**
@@ -348,7 +371,7 @@ class Diglin_Chat_Block_Display extends Mage_Core_Block_Template
348
  if (count($out) > 0) {
349
  return implode(';' . "\n", $out). ';' . "\n";
350
  }
351
- return;
352
  }
353
 
354
  /**
@@ -361,7 +384,7 @@ class Diglin_Chat_Block_Display extends Mage_Core_Block_Template
361
  $out = array();
362
 
363
  if ($this->getChatHelper()->getWindowTheme() == 'classic') {
364
- return;
365
  }
366
 
367
  if (strlen($this->getChatHelper()->getConciergeAvatar()) > 0) {
@@ -379,7 +402,7 @@ class Diglin_Chat_Block_Display extends Mage_Core_Block_Template
379
  if (!empty($out)) {
380
  return implode(';' . "\n", $out). ';' . "\n";
381
  }
382
- return;
383
  }
384
 
385
  /**
@@ -390,7 +413,7 @@ class Diglin_Chat_Block_Display extends Mage_Core_Block_Template
390
  public function getBadgeOptions()
391
  {
392
  if ($this->getChatHelper()->getWindowTheme() != 'simple') {
393
- return;
394
  }
395
  $out = array();
396
 
@@ -406,16 +429,18 @@ class Diglin_Chat_Block_Display extends Mage_Core_Block_Template
406
  $out[] = "\$zopim.livechat.badge.setImage('" . Mage::getBaseUrl('media') . 'chat/' . $this->getChatHelper()->getBadgeImage() . "')";
407
  }
408
 
409
- if ($this->getChatHelper()->getBadgeShow() == 'hide') {
410
- $out[] = "\$zopim.livechat.badge.hide()";
411
- } else {
412
- $out[] = "\$zopim.livechat.badge.show()";
 
 
413
  }
414
 
415
  if (!empty($out)) {
416
  return implode(';' . "\n", $out). ';' . "\n";
417
  }
418
- return;
419
  }
420
 
421
  /**
@@ -489,7 +514,7 @@ class Diglin_Chat_Block_Display extends Mage_Core_Block_Template
489
  if (!empty($out)) {
490
  return implode(';' . "\n", $out). ';' . "\n";
491
  }
492
- return;
493
  }
494
 
495
  /**
@@ -544,6 +569,6 @@ class Diglin_Chat_Block_Display extends Mage_Core_Block_Template
544
  return $block->toHtml();
545
  }
546
 
547
- return;
548
  }
549
  }
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * @category Diglin
13
  * @package Diglin_Chat
14
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
 
19
  {
20
  private $_options;
21
 
22
+ /**
23
+ * @param array $args
24
+ */
25
+ public function __construct(array $args = array())
26
+ {
27
+ parent::__construct($args);
28
+
29
+ $this->setCacheLifetime(86400);
30
+ }
31
+
32
+ /**
33
+ * Get Cache Key Info
34
+ *
35
+ * @return array
36
+ */
37
+ public function getCacheKeyInfo()
38
+ {
39
+ return array(
40
+ 'ZOPIM_CHAT',
41
+ $this->getNameInLayout(),
42
+ Mage::helper('customer')->getCurrentCustomer()->getId()
43
+ );
44
+ }
45
+
46
  /**
47
  * Set to force the button display
48
  *
102
  */
103
  public function getGreetingsOptions()
104
  {
105
+ $offlineMessage = $this->jsQuoteEscape($this->escapeHtml($this->getChatHelper()->getOfflineMessage()));
106
+ $onlineMessage = $this->jsQuoteEscape($this->escapeHtml($this->getChatHelper()->getOnlineMessage()));
107
+
108
  $data = array();
109
+ (!empty($onlineMessage )) ? $data[] = "'online': '" . $onlineMessage . "'" : null;
110
+ (!empty($offlineMessage)) ? $data[] = "'offline': '" . $offlineMessage . "'" : null;
 
111
 
112
  if (count($data) > 0) {
113
  $data = implode(',',$data);
114
  return "\$zopim.livechat.setGreetings({" . $data . "});" . "\n";
115
  }
116
+ return null;
117
  }
118
 
119
  /**
143
  if ($this->getChatHelper()->allowName() && strlen(trim(Mage::helper('customer')->getCurrentCustomer()->getName())) > 1) {
144
  return "\$zopim.livechat.setName('" . $this->jsQuoteEscape(Mage::helper('customer')->getCurrentCustomer()->getName()) . "');" . "\n";
145
  }
146
+ return null;
147
  }
148
 
149
  /**
156
  if ($this->getChatHelper()->allowEmail() && strlen(Mage::helper('customer')->getCurrentCustomer()->getEmail()) > 0) {
157
  return "\$zopim.livechat.setEmail('" . $this->jsQuoteEscape(Mage::helper('customer')->getCurrentCustomer()->getEmail()) . "');" . "\n";
158
  }
159
+ return null;
160
  }
161
 
162
  /**
190
  return implode(';' . "\n", $out) . ';' . "\n";
191
  }
192
 
193
+ return null;
194
  }
195
 
196
  /**
203
  $out = array();
204
 
205
  if ($this->getChatHelper()->getWindowTheme() == 'simple') {
206
+ return null;
207
  }
208
 
209
  if (strlen($this->getChatHelper()->getBubbleTitle()) > 0) {
226
  return implode(';' . "\n", $out) . ';' . "\n";
227
  }
228
 
229
+ return null;
230
  }
231
 
232
  /**
265
  return implode(';' . "\n", $out) . ';' . "\n";
266
  }
267
 
268
+ return null;
269
  }
270
 
271
  /**
292
  $out[] = "\$zopim.livechat.button.setPositionMobile('" . $this->getChatHelper()->getButtonPositionMobile() . "')";
293
  }
294
 
295
+ if ($this->getChatHelper()->getButtonHideOffline()) {
296
+ $out[] = "\$zopim.livechat.button.setHideWhenOffline(1)";
297
+ }
298
 
299
  // if (($this->getChatHelper()->getWidgetApi() == 'new')) {
300
  // if (strlen($this->getChatHelper()->getButtonOffsetVertical()) > 0) {
309
  if (count($out) > 0) {
310
  return implode(';' . "\n", $out). ';' . "\n";
311
  }
312
+ return null;
313
  }
314
 
315
  /**
329
  if (count($out) > 0) {
330
  return implode(';' . "\n", $out). ';' . "\n";
331
  }
332
+ return null;
333
  }
334
 
335
  /**
339
  // public function getUnreadFlagOptions()
340
  // {
341
  // if ($this->getChatHelper()->getWidget() != 'classic') {
342
+ // return null;
343
  // }
344
  //
345
  // $out = array();
348
  // if (count($out) > 0) {
349
  // return implode(';' . "\n", $out). ';' . "\n";
350
  // }
351
+ // return null;
352
  // }
353
 
354
  /**
371
  if (count($out) > 0) {
372
  return implode(';' . "\n", $out). ';' . "\n";
373
  }
374
+ return null;
375
  }
376
 
377
  /**
384
  $out = array();
385
 
386
  if ($this->getChatHelper()->getWindowTheme() == 'classic') {
387
+ return null;
388
  }
389
 
390
  if (strlen($this->getChatHelper()->getConciergeAvatar()) > 0) {
402
  if (!empty($out)) {
403
  return implode(';' . "\n", $out). ';' . "\n";
404
  }
405
+ return null;
406
  }
407
 
408
  /**
413
  public function getBadgeOptions()
414
  {
415
  if ($this->getChatHelper()->getWindowTheme() != 'simple') {
416
+ return null;
417
  }
418
  $out = array();
419
 
429
  $out[] = "\$zopim.livechat.badge.setImage('" . Mage::getBaseUrl('media') . 'chat/' . $this->getChatHelper()->getBadgeImage() . "')";
430
  }
431
 
432
+ if (!$this->getChatHelper()->getButtonHideOffline()) {
433
+ if ($this->getChatHelper()->getBadgeShow() == 'hide') {
434
+ $out[] = "\$zopim.livechat.badge.hide()";
435
+ } else {
436
+ $out[] = "\$zopim.livechat.badge.show()";
437
+ }
438
  }
439
 
440
  if (!empty($out)) {
441
  return implode(';' . "\n", $out). ';' . "\n";
442
  }
443
+ return null;
444
  }
445
 
446
  /**
514
  if (!empty($out)) {
515
  return implode(';' . "\n", $out). ';' . "\n";
516
  }
517
+ return null;
518
  }
519
 
520
  /**
569
  return $block->toHtml();
570
  }
571
 
572
+ return null;
573
  }
574
  }
app/code/community/Diglin/Chat/Helper/Data.php CHANGED
@@ -8,13 +8,10 @@
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * @category Diglin
16
  * @package Diglin_Chat
17
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
@@ -343,6 +340,14 @@ class Diglin_Chat_Helper_Data extends Mage_Core_Helper_Abstract
343
  return Mage::getStoreConfig('chat/widgetconfig/button_position_mobile');
344
  }
345
 
 
 
 
 
 
 
 
 
346
  /* Department Config */
347
 
348
  /**
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * @category Diglin
13
  * @package Diglin_Chat
14
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
 
340
  return Mage::getStoreConfig('chat/widgetconfig/button_position_mobile');
341
  }
342
 
343
+ /**
344
+ * @return mixed
345
+ */
346
+ public function getButtonHideOffline()
347
+ {
348
+ return Mage::getStoreConfig('chat/widgetconfig/button_hide_offline');
349
+ }
350
+
351
  /* Department Config */
352
 
353
  /**
app/code/community/Diglin/Chat/Model/Config/Source/Api.php CHANGED
@@ -8,13 +8,10 @@
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * @category Diglin
16
  * @package Diglin_Chat
17
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * @category Diglin
13
  * @package Diglin_Chat
14
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
 
app/code/community/Diglin/Chat/Model/Config/Source/Badgecolor.php CHANGED
@@ -8,13 +8,10 @@
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * @category Diglin
16
  * @package Diglin_Chat
17
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * @category Diglin
13
  * @package Diglin_Chat
14
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
 
app/code/community/Diglin/Chat/Model/Config/Source/Bubblecolor.php CHANGED
@@ -8,13 +8,10 @@
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * @category Diglin
16
  * @package Diglin_Chat
17
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * @category Diglin
13
  * @package Diglin_Chat
14
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
 
app/code/community/Diglin/Chat/Model/Config/Source/Buttonposition.php CHANGED
@@ -8,13 +8,10 @@
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * @category Diglin
16
  * @package Diglin_Chat
17
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * @category Diglin
13
  * @package Diglin_Chat
14
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
 
app/code/community/Diglin/Chat/Model/Config/Source/Classicthemes.php CHANGED
@@ -8,13 +8,10 @@
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * @category Diglin
16
  * @package Diglin_Chat
17
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * @category Diglin
13
  * @package Diglin_Chat
14
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
 
app/code/community/Diglin/Chat/Model/Config/Source/Language.php CHANGED
@@ -8,13 +8,10 @@
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * @category Diglin
16
  * @package Diglin_Chat
17
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * @category Diglin
13
  * @package Diglin_Chat
14
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
 
app/code/community/Diglin/Chat/Model/Config/Source/Layout.php CHANGED
@@ -8,13 +8,10 @@
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * @category Diglin
16
  * @package Diglin_Chat
17
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * @category Diglin
13
  * @package Diglin_Chat
14
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
 
app/code/community/Diglin/Chat/Model/Config/Source/Mobileposition.php CHANGED
@@ -8,13 +8,10 @@
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * @category Diglin
16
  * @package Diglin_Chat
17
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * @category Diglin
13
  * @package Diglin_Chat
14
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
 
app/code/community/Diglin/Chat/Model/Config/Source/Showhide.php CHANGED
@@ -8,13 +8,10 @@
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * @category Diglin
16
  * @package Diglin_Chat
17
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * @category Diglin
13
  * @package Diglin_Chat
14
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
 
app/code/community/Diglin/Chat/Model/Config/Source/Simpleadvanced.php CHANGED
@@ -8,13 +8,10 @@
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * @category Diglin
16
  * @package Diglin_Chat
17
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * @category Diglin
13
  * @package Diglin_Chat
14
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
 
app/code/community/Diglin/Chat/Model/Config/Source/Themes.php CHANGED
@@ -8,13 +8,10 @@
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * @category Diglin
16
  * @package Diglin_Chat
17
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * @category Diglin
13
  * @package Diglin_Chat
14
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
 
app/code/community/Diglin/Chat/Model/Config/Source/Windowposition.php CHANGED
@@ -8,13 +8,10 @@
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * @category Diglin
16
  * @package Diglin_Chat
17
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * @category Diglin
13
  * @package Diglin_Chat
14
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
 
app/code/community/Diglin/Chat/Model/Config/Source/Windowsize.php CHANGED
@@ -8,13 +8,10 @@
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * @category Diglin
16
  * @package Diglin_Chat
17
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * @category Diglin
13
  * @package Diglin_Chat
14
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
 
app/code/community/Diglin/Chat/Model/Resource/Setup.php CHANGED
@@ -8,13 +8,10 @@
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * @category Diglin
16
  * @package Diglin_Chat
17
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * @category Diglin
13
  * @package Diglin_Chat
14
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
 
app/code/community/Diglin/Chat/controllers/Adminhtml/IndexController.php CHANGED
@@ -8,13 +8,10 @@
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * @category Diglin
16
  * @package Diglin_Chat
17
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * @category Diglin
13
  * @package Diglin_Chat
14
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
 
app/code/community/Diglin/Chat/data/diglinchat_setup/data-upgrade-1.3.0-2.0.1.php CHANGED
@@ -8,13 +8,10 @@
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * @category Diglin
16
  * @package Diglin_Chat
17
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * @category Diglin
13
  * @package Diglin_Chat
14
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
 
app/code/community/Diglin/Chat/etc/adminhtml.xml CHANGED
@@ -9,13 +9,10 @@
9
  * that is bundled with this package in the file LICENSE.txt.
10
  * It is also available through the world-wide-web at this URL:
11
  * http://opensource.org/licenses/osl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magentocommerce.com so we can send you a copy immediately.
15
  *
16
  * @category Diglin
17
  * @package Diglin_Chat
18
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
19
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
  */
21
  -->
9
  * that is bundled with this package in the file LICENSE.txt.
10
  * It is also available through the world-wide-web at this URL:
11
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
12
  *
13
  * @category Diglin
14
  * @package Diglin_Chat
15
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
16
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
17
  */
18
  -->
app/code/community/Diglin/Chat/etc/config.xml CHANGED
@@ -9,26 +9,17 @@
9
  * that is bundled with this package in the file LICENSE.txt.
10
  * It is also available through the world-wide-web at this URL:
11
  * http://opensource.org/licenses/osl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magentocommerce.com so we can send you a copy immediately.
15
- *
16
- * DISCLAIMER
17
- *
18
- * Do not edit or add to this file if you wish to upgrade Magento to newer
19
- * versions in the future. If you wish to customize Magento for your
20
- * needs please refer to http://www.magentocommerce.com for more information.
21
  *
22
  * @category Diglin
23
  * @package Diglin_Chat
24
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
25
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
26
  */
27
  -->
28
  <config>
29
  <modules>
30
  <Diglin_Chat>
31
- <version>2.0.2</version>
32
  </Diglin_Chat>
33
  </modules>
34
 
@@ -44,9 +35,9 @@
44
  <debug>0</debug>
45
  <!-- values used internally, keep it here as references -->
46
  <use_ssl>1</use_ssl>
47
- <salt></salt>
48
- <key></key>
49
- <username></username>
50
  </chatconfig>
51
 
52
  <widgetconfig>
@@ -63,6 +54,7 @@
63
 
64
  <button_show>1</button_show>
65
  <button_position>bl</button_position>
 
66
 
67
  <window_title>Support</window_title>
68
 
9
  * that is bundled with this package in the file LICENSE.txt.
10
  * It is also available through the world-wide-web at this URL:
11
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
 
 
 
 
 
 
12
  *
13
  * @category Diglin
14
  * @package Diglin_Chat
15
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
16
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
17
  */
18
  -->
19
  <config>
20
  <modules>
21
  <Diglin_Chat>
22
+ <version>2.0.3</version>
23
  </Diglin_Chat>
24
  </modules>
25
 
35
  <debug>0</debug>
36
  <!-- values used internally, keep it here as references -->
37
  <use_ssl>1</use_ssl>
38
+ <salt/>
39
+ <key/>
40
+ <username/>
41
  </chatconfig>
42
 
43
  <widgetconfig>
54
 
55
  <button_show>1</button_show>
56
  <button_position>bl</button_position>
57
+ <button_hide_offline>0</button_hide_offline>
58
 
59
  <window_title>Support</window_title>
60
 
app/code/community/Diglin/Chat/etc/system.xml CHANGED
@@ -9,19 +9,10 @@
9
  * that is bundled with this package in the file LICENSE.txt.
10
  * It is also available through the world-wide-web at this URL:
11
  * http://opensource.org/licenses/osl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magentocommerce.com so we can send you a copy immediately.
15
- *
16
- * DISCLAIMER
17
- *
18
- * Do not edit or add to this file if you wish to upgrade Magento to newer
19
- * versions in the future. If you wish to customize Magento for your
20
- * needs please refer to http://www.magentocommerce.com for more information.
21
  *
22
  * @category Diglin
23
  * @package Diglin_Chat
24
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
25
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
26
  */
27
  -->
@@ -35,7 +26,7 @@
35
 
36
  <sections>
37
  <chat module="chat" translate="label">
38
- <label><![CDATA[<img src="https://zopim.com/assets/branding/zopim.com/chatman/online.png" style="vertical-align:middle"/> Zopim Live Chat]]></label>
39
  <tab>diglin</tab>
40
  <frontend_type>text</frontend_type>
41
  <sort_order>110</sort_order>
@@ -319,6 +310,19 @@
319
  <type_config>adv</type_config>
320
  </depends>
321
  </badge_config>
 
 
 
 
 
 
 
 
 
 
 
 
 
322
  <badge_show module="chat" translate="label comment">
323
  <label>Show Badge</label>
324
  <frontend_type>select</frontend_type>
@@ -331,6 +335,7 @@
331
  <depends>
332
  <window_theme>simple</window_theme>
333
  <type_config>adv</type_config>
 
334
  </depends>
335
  </badge_show>
336
  <badge_layout module="chat" translate="label comment">
9
  * that is bundled with this package in the file LICENSE.txt.
10
  * It is also available through the world-wide-web at this URL:
11
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
 
 
 
 
 
 
12
  *
13
  * @category Diglin
14
  * @package Diglin_Chat
15
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
16
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
17
  */
18
  -->
26
 
27
  <sections>
28
  <chat module="chat" translate="label">
29
+ <label><![CDATA[<img src="data:image/gif;base64,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" style="vertical-align:middle"/> Zopim Live Chat]]></label>
30
  <tab>diglin</tab>
31
  <frontend_type>text</frontend_type>
32
  <sort_order>110</sort_order>
310
  <type_config>adv</type_config>
311
  </depends>
312
  </badge_config>
313
+ <button_hide_offline module="chat" translate="label comment">
314
+ <label>Hide Chat button if Offline</label>
315
+ <frontend_type>select</frontend_type>
316
+ <source_model>adminhtml/system_config_source_yesno</source_model>
317
+ <sort_order>71</sort_order>
318
+ <comment>Configure whether the chat button is displayed when the account is offline.</comment>
319
+ <show_in_default>1</show_in_default>
320
+ <show_in_website>1</show_in_website>
321
+ <show_in_store>1</show_in_store>
322
+ <depends>
323
+ <type_config>adv</type_config>
324
+ </depends>
325
+ </button_hide_offline>
326
  <badge_show module="chat" translate="label comment">
327
  <label>Show Badge</label>
328
  <frontend_type>select</frontend_type>
335
  <depends>
336
  <window_theme>simple</window_theme>
337
  <type_config>adv</type_config>
338
+ <button_hide_offline>0</button_hide_offline>
339
  </depends>
340
  </badge_show>
341
  <badge_layout module="chat" translate="label comment">
app/design/adminhtml/default/default/layout/chat.xml CHANGED
@@ -9,20 +9,17 @@
9
  * that is bundled with this package in the file LICENSE.txt.
10
  * It is also available through the world-wide-web at this URL:
11
  * http://opensource.org/licenses/osl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magentocommerce.com so we can send you a copy immediately.
15
  *
16
  * @category Diglin
17
  * @package Diglin_Chat
18
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
19
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
  */
21
  -->
22
  <layout>
23
  <adminhtml_system_config_edit>
24
  <reference name="head">
25
- <action method="addJs"><file>jscolor/jscolor.js</file></action>
26
  </reference>
27
  </adminhtml_system_config_edit>
28
 
@@ -34,6 +31,9 @@
34
  <!--</chat_index_dashboard>-->
35
 
36
  <chat_index_account>
 
 
 
37
  <reference name="content">
38
  <block type="adminhtml/abstract" name="zopim_account" as="zopim.account" template="chat/account.phtml" />
39
  </reference>
9
  * that is bundled with this package in the file LICENSE.txt.
10
  * It is also available through the world-wide-web at this URL:
11
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
12
  *
13
  * @category Diglin
14
  * @package Diglin_Chat
15
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
16
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
17
  */
18
  -->
19
  <layout>
20
  <adminhtml_system_config_edit>
21
  <reference name="head">
22
+ <action method="addCss"><file>zopim/zopim.css</file></action>
23
  </reference>
24
  </adminhtml_system_config_edit>
25
 
31
  <!--</chat_index_dashboard>-->
32
 
33
  <chat_index_account>
34
+ <reference name="head">
35
+ <action method="addCss"><file>zopim/zopim.css</file></action>
36
+ </reference>
37
  <reference name="content">
38
  <block type="adminhtml/abstract" name="zopim_account" as="zopim.account" template="chat/account.phtml" />
39
  </reference>
app/design/adminhtml/default/default/template/chat/account.phtml CHANGED
@@ -8,13 +8,10 @@
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * @category Diglin
16
  * @package Diglin_Chat
17
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
@@ -22,7 +19,7 @@
22
  if ($this->getIsAuthenticated()) {
23
  ?>
24
  <div class="content-header" style="visibility: visible;">
25
- <h3 class="icon-head head-categories" style="background-image: url(https://zopim.com/assets/branding/zopim.com/chatman/online.png")><?php echo $this->__('Account Configuration'); ?></h3>
26
  </div>
27
  <div id="existingform">
28
  <div>
@@ -48,7 +45,7 @@ if ($this->getIsAuthenticated()) {
48
  </div>
49
  <?php } else { ?>
50
  <div class="content-header" style="visibility: visible;">
51
- <h3 class="icon-head head-categories" style="background-image: url(http://zopim.com/assets/branding/zopim.com/chatman/online.png)"><?php echo $this->__('Account Configuration'); ?></h3>
52
  <p class="content-buttons form-buttons">
53
  <span id="btn_new">
54
  <button onclick="document.getElementById('login_form').submit()" class="scalable save" type="button" id="id_0b860228d9b3c83ba14a7ae8fed1a587">
@@ -226,4 +223,4 @@ if ($this->getIsAuthenticated()) {
226
  return true;
227
  }
228
  </script>
229
- <?php } ?>
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * @category Diglin
13
  * @package Diglin_Chat
14
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
 
19
  if ($this->getIsAuthenticated()) {
20
  ?>
21
  <div class="content-header" style="visibility: visible;">
22
+ <h3 class="icon-head head-categories zopim"><?php echo $this->__('Account Configuration'); ?></h3>
23
  </div>
24
  <div id="existingform">
25
  <div>
45
  </div>
46
  <?php } else { ?>
47
  <div class="content-header" style="visibility: visible;">
48
+ <h3 class="icon-head head-categories zopim"><?php echo $this->__('Account Configuration'); ?></h3>
49
  <p class="content-buttons form-buttons">
50
  <span id="btn_new">
51
  <button onclick="document.getElementById('login_form').submit()" class="scalable save" type="button" id="id_0b860228d9b3c83ba14a7ae8fed1a587">
223
  return true;
224
  }
225
  </script>
226
+ <?php } ?>
app/design/adminhtml/default/default/template/chat/dashboard.phtml CHANGED
@@ -8,13 +8,10 @@
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * @category Diglin
16
  * @package Diglin_Chat
17
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
@@ -24,7 +21,7 @@
24
  <table cellspacing="0">
25
  <tbody>
26
  <tr>
27
- <td style="width: 50%;"><h3 class="icon-head head-categories" style="background-image: url('https://zopim.com/assets/branding/zopim.com/chatman/online.png')">Zopim Live Chat Dashboard</h3></td>
28
  </tr>
29
  </tbody>
30
  </table>
@@ -58,4 +55,4 @@ echo $this->__('You may also %s access the dashboard in a new window %s.', $open
58
 
59
  window.onresize = doResize;
60
  doResize();
61
- </script>
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * @category Diglin
13
  * @package Diglin_Chat
14
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
 
21
  <table cellspacing="0">
22
  <tbody>
23
  <tr>
24
+ <td style="width: 50%;"><h3 class="icon-head head-categories zopim">Zopim Live Chat Dashboard</h3></td>
25
  </tr>
26
  </tbody>
27
  </table>
55
 
56
  window.onresize = doResize;
57
  doResize();
58
+ </script>
app/design/frontend/base/default/layout/chat.xml CHANGED
@@ -9,13 +9,10 @@
9
  * that is bundled with this package in the file LICENSE.txt.
10
  * It is also available through the world-wide-web at this URL:
11
  * http://opensource.org/licenses/osl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magentocommerce.com so we can send you a copy immediately.
15
  *
16
  * @category Diglin
17
  * @package Diglin_Chat
18
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
19
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
  */
21
  -->
9
  * that is bundled with this package in the file LICENSE.txt.
10
  * It is also available through the world-wide-web at this URL:
11
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
12
  *
13
  * @category Diglin
14
  * @package Diglin_Chat
15
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
16
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
17
  */
18
  -->
app/design/frontend/base/default/template/chat/test.phtml CHANGED
@@ -8,13 +8,10 @@
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * @category Diglin
16
  * @package Diglin_Chat
17
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
  ?>
@@ -63,4 +60,4 @@ Select Window Theme Type (Old Widget)
63
  <a href="javascript:void($zopim.livechat.window.setTheme('macos'))">Macos</a>
64
  <a href="javascript:void($zopim.livechat.window.setTheme('window7'))">Windows7</a>
65
  <a href="javascript:void($zopim.livechat.window.setTheme('chrome'))">Chrome</a>
66
- <a href="javascript:void($zopim.livechat.window.setTheme('floral'))">Floral</a>
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * @category Diglin
13
  * @package Diglin_Chat
14
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
  ?>
60
  <a href="javascript:void($zopim.livechat.window.setTheme('macos'))">Macos</a>
61
  <a href="javascript:void($zopim.livechat.window.setTheme('window7'))">Windows7</a>
62
  <a href="javascript:void($zopim.livechat.window.setTheme('chrome'))">Chrome</a>
63
+ <a href="javascript:void($zopim.livechat.window.setTheme('floral'))">Floral</a>
app/design/frontend/base/default/template/chat/widget.phtml CHANGED
@@ -8,28 +8,23 @@
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
  *
15
  * @category Diglin
16
  * @package Diglin_Chat
17
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
18
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
  */
20
 
21
  /* @var $this Mage_Core_Block_Template */
22
  ?>
23
  <?php if ($this->getKey()): ?>
24
- <!--Start of Zopim Live Chat Script-->
25
  <script type="text/javascript">
26
  window.$zopim||(function(d,s){var z=$zopim=function(c){z._.push(c)},$=z.s=
27
  d.createElement(s),e=d.getElementsByTagName(s)[0];z.set=function(o){z.set.
28
  _.push(o)};z._=[];z.set._=[];$.async=!0;$.setAttribute('charset','utf-8');
29
  $.src='//v2.zopim.com/?<?php echo $this->getKey() ?>';z.t=+new Date;$.
30
  type='text/javascript';e.parentNode.insertBefore($,e)})(document,'script');
31
- </script><!--End of Zopim Live Chat Script-->
32
- <!--Zopim Options-->
33
- <script><?php echo ($this->getZopimOptions()) ? '$zopim(function(){' . "\n" . $this->getZopimOptions() . '});' . "\n" : ''; ?></script>
34
- <!--EOF Zopim Options-->
35
- <?php else: ?><!-- Zopim Widget is missing because the key is not defined --><?php endif ?>
8
  * that is bundled with this package in the file LICENSE.txt.
9
  * It is also available through the world-wide-web at this URL:
10
  * http://opensource.org/licenses/osl-3.0.php
 
 
 
11
  *
12
  * @category Diglin
13
  * @package Diglin_Chat
14
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
 
18
  /* @var $this Mage_Core_Block_Template */
19
  ?>
20
  <?php if ($this->getKey()): ?>
21
+ <!--Start of Zopim Live Chat Script by Diglin GmbH-->
22
  <script type="text/javascript">
23
  window.$zopim||(function(d,s){var z=$zopim=function(c){z._.push(c)},$=z.s=
24
  d.createElement(s),e=d.getElementsByTagName(s)[0];z.set=function(o){z.set.
25
  _.push(o)};z._=[];z.set._=[];$.async=!0;$.setAttribute('charset','utf-8');
26
  $.src='//v2.zopim.com/?<?php echo $this->getKey() ?>';z.t=+new Date;$.
27
  type='text/javascript';e.parentNode.insertBefore($,e)})(document,'script');
28
+ </script><!--End of Zopim Live Chat Script by Diglin GmbH-->
29
+ <!--Zopim Options by Diglin GmbH--><script><?php echo ($this->getZopimOptions()) ? '$zopim(function(){' . "\n" . $this->getZopimOptions() . '});' . "\n" : ''; ?></script><!--EOF Zopim Options by Diglin GmbH-->
30
+ <?php else: ?><!-- Zopim Widget by Diglin GmbH is missing because the key is not defined --><?php endif ?>
 
 
app/etc/modules/Diglin_Chat.xml CHANGED
@@ -15,7 +15,7 @@
15
  *
16
  * @category Diglin
17
  * @package Diglin_Chat
18
- * @copyright Copyright (c) 2011-2014 Diglin (http://www.diglin.com)
19
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
  */
21
  -->
15
  *
16
  * @category Diglin
17
  * @package Diglin_Chat
18
+ * @copyright Copyright (c) 2011-2015 Diglin (http://www.diglin.com)
19
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
20
  */
21
  -->
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Diglin_Chat</name>
4
- <version>2.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
@@ -84,12 +84,14 @@
84
  &lt;li&gt;Regarding Zopim Chat itself, please visit &lt;a href="http://bit.ly/1kcTNL5"&gt;http://www.zopim.com&lt;/a&gt;&lt;/li&gt;&#xD;
85
  &lt;li&gt;Code is available on &lt;a href="https://github.com/diglin/Diglin_Chat"&gt;Github&lt;/a&gt;&lt;/li&gt;&#xD;
86
  &lt;/ul&gt;</description>
87
- <notes>- 2.0.2: fix a bug on specific server configuration - Zend_Log error fix&#xD;
 
 
88
  - 2.0.0: Complete new version - support of the new widget and API</notes>
89
  <authors><author><name>diglin</name><user>diglin</user><email>sly@diglin.com</email></author></authors>
90
- <date>2014-05-22</date>
91
- <time>09:12:10</time>
92
- <contents><target name="mageetc"><dir name="modules"><file name="Diglin_Chat.xml" hash="ee814a25abef4007039bb6b6c7c5095a"/></dir></target><target name="magecommunity"><dir name="Diglin"><dir name="Chat"><dir name="Block"><dir name="Adminhtml"><dir name="Config"><dir name="Source"><file name="Heading.php" hash="7aa859ee89fc458d2915156bc68cefbc"/><file name="Hint.php" hash="b870ee1a0eea1ceb75f27faa72def9f2"/></dir></dir><file name="Dashboard.php" hash="a4d0892fb43ab0115f90b0deee55d893"/></dir><file name="Display.php" hash="68575831d709b9768e2139d171de9caa"/></dir><dir name="Helper"><file name="Data.php" hash="69875b40b36e98dbf1c17af7ebd55868"/></dir><dir name="Model"><dir name="Config"><dir name="Source"><file name="Api.php" hash="708d2687281bc14a8c13ff703582cc78"/><file name="Badgecolor.php" hash="cb4a360326283348c749373b027058b8"/><file name="Bubblecolor.php" hash="6bdb70b755e729cd95ce1dd41622255c"/><file name="Buttonposition.php" hash="53e97510125d87df2acea25b3940462c"/><file name="Classicthemes.php" hash="cc7860febf26fbb39983b15b4c756e38"/><file name="Language.php" hash="0842d7854a93f5307d06e7d590a6f5f1"/><file name="Layout.php" hash="6cbf67a004f4e44de213e4cec41061ea"/><file name="Mobileposition.php" hash="6431f2a9d8542b50dade4cfc0ae10afe"/><file name="Showhide.php" hash="24d7405b13060fc111318d3a65b2bcd4"/><file name="Simpleadvanced.php" hash="c41127c2c5cc74f8f57f79bc0270a6df"/><file name="Themes.php" hash="74a9122d0464578ee6e0e06b63ee203b"/><file name="Windowposition.php" hash="1aa8250dc578b816759fb37206c11a25"/><file name="Windowsize.php" hash="3236f370ebe39da335e589a8cf7f92da"/></dir></dir><dir name="Resource"><file name="Setup.php" hash="9935c98bab4a0b328400a69ee44a60fa"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="IndexController.php" hash="2567f02f376df74272f08f5fbd93bba0"/></dir></dir><dir name="data"><dir name="diglinchat_setup"><file name="data-upgrade-1.3.0-2.0.1.php" hash="406d1b5f62d8561da856f82111c457a6"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="5ea4a51b111558c1d3c45dde16202753"/><file name="config.xml" hash="71c1e345cedef83dfe5bc75f8525c8fd"/><file name="system.xml" hash="d55a42e0bfef851718035df1574a14b0"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="chat.xml" hash="577c2e765ad336fb5b77ceaef3b16fb2"/></dir><dir name="template"><dir name="chat"><file name="test.phtml" hash="1b617e1f4e3b70c228cd6e03adf81895"/><file name="widget.phtml" hash="523956f4c147661de3d4b15e06f89d89"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="chat.xml" hash="52b06472b199886b05543cf202a5c568"/></dir><dir name="template"><dir name="chat"><file name="account.phtml" hash="71239173d840640ada4a704c484d5044"/><file name="dashboard.phtml" hash="ce622d160176c15ad4d06f9e56295e9c"/></dir></dir></dir></dir></dir></target></contents>
93
  <compatible/>
94
  <dependencies><required><php><min>5.2.9</min><max>6.0.0</max></php></required></dependencies>
95
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Diglin_Chat</name>
4
+ <version>2.0.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
84
  &lt;li&gt;Regarding Zopim Chat itself, please visit &lt;a href="http://bit.ly/1kcTNL5"&gt;http://www.zopim.com&lt;/a&gt;&lt;/li&gt;&#xD;
85
  &lt;li&gt;Code is available on &lt;a href="https://github.com/diglin/Diglin_Chat"&gt;Github&lt;/a&gt;&lt;/li&gt;&#xD;
86
  &lt;/ul&gt;</description>
87
+ <notes>- 2.0.3 Update Zoppim Assets and add Cache Support&#xD;
88
+ - 2.0.2: fix a bug on specific server configuration - &#xD;
89
+ Zend_Log error fix&#xD;
90
  - 2.0.0: Complete new version - support of the new widget and API</notes>
91
  <authors><author><name>diglin</name><user>diglin</user><email>sly@diglin.com</email></author></authors>
92
+ <date>2014-12-18</date>
93
+ <time>20:14:21</time>
94
+ <contents><target name="mageetc"><dir name="modules"><file name="Diglin_Chat.xml" hash="ff6f5a3e3492e983a02dfb93c55374ed"/></dir></target><target name="magecommunity"><dir name="Diglin"><dir name="Chat"><dir name="Block"><dir name="Adminhtml"><dir name="Config"><dir name="Source"><file name="Heading.php" hash="2f1fa69d19c2b2511a8170fb00dac9b6"/><file name="Hint.php" hash="26a36352dd1136a5a7ec531941d561e6"/></dir></dir><file name="Dashboard.php" hash="5a224b780670cbedc7aef26bdf25cd3d"/></dir><file name="Display.php" hash="a2f707364426dd11e503bdfe8691a044"/></dir><dir name="Helper"><file name="Data.php" hash="950122c6c6016762ff7bd53852f601e6"/></dir><dir name="Model"><dir name="Config"><dir name="Source"><file name="Api.php" hash="f9f4caaa8264141ea360cee865ac6b6c"/><file name="Badgecolor.php" hash="0eb3a51b5a9474a812e3210b095b6d39"/><file name="Bubblecolor.php" hash="bfbc0ed8c2194a0829f11159e38adfaa"/><file name="Buttonposition.php" hash="30624e50b915e498414fcef34e331026"/><file name="Classicthemes.php" hash="6b7f014e233c805b46d5e5f9e00d829a"/><file name="Language.php" hash="6ad9435fa363314b1b8ee3fd33a15742"/><file name="Layout.php" hash="74ea999eb7ab4f27f5c5976f0ea3f135"/><file name="Mobileposition.php" hash="c81669ab6d0b13ae267fe6c2ae4bf988"/><file name="Showhide.php" hash="21e2ad8dae77450edd1d38a5f0a3b5a9"/><file name="Simpleadvanced.php" hash="b81a67776915105f76d2928d583110fd"/><file name="Themes.php" hash="ebac216acc267191fee31d812aac1d1f"/><file name="Windowposition.php" hash="39a6ae8a676b63baf8bd4b8bd7eff26f"/><file name="Windowsize.php" hash="a4c36b741aa23a2379568eeb009cdc2f"/></dir></dir><dir name="Resource"><file name="Setup.php" hash="9ed4d5c5e9c80184594799c7add3ccb9"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="IndexController.php" hash="a76d55d16281389971b2df2bd782e31d"/></dir></dir><dir name="data"><dir name="diglinchat_setup"><file name="data-upgrade-1.3.0-2.0.1.php" hash="1e875c4dc9865932b368c890a8d2c6e0"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="40344d7020df0b07de5e1d9b8dc40180"/><file name="config.xml" hash="e42ac26d793356e21cb90493077fb383"/><file name="system.xml" hash="5f3b4671ae5445369e9b09099418592f"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="chat.xml" hash="86637d1582ac19d8b1525ad231904cc6"/></dir><dir name="template"><dir name="chat"><file name="test.phtml" hash="6462d6f79dcfd02bd438dc1eba51056f"/><file name="widget.phtml" hash="ddd8dc659efde43ebf8d52abfc96fef2"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="chat.xml" hash="9db0217cb4f7670bc54b27645d846e7c"/></dir><dir name="template"><dir name="chat"><file name="account.phtml" hash="e0bf20e6bc31328b32a799c0b1d3797a"/><file name="dashboard.phtml" hash="3b9ad1e7855153f8e5de0f409cb99549"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="zopim"><file name="zopim.css" hash="2bbb9b1c17207654f53f8b0ef82c25e0"/></dir></dir></dir></dir></target></contents>
95
  <compatible/>
96
  <dependencies><required><php><min>5.2.9</min><max>6.0.0</max></php></required></dependencies>
97
  </package>
skin/adminhtml/default/default/zopim/zopim.css ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ .head-categories.zopim {
2
+ text-indent: 10px;
3
+ height: 20px;
4
+ background-image: url('data:image/gif;base64,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');
5
+ }