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
- app/code/community/Diglin/Chat/Block/Adminhtml/Config/Source/Heading.php +1 -4
- app/code/community/Diglin/Chat/Block/Adminhtml/Config/Source/Hint.php +1 -4
- app/code/community/Diglin/Chat/Block/Adminhtml/Dashboard.php +1 -4
- app/code/community/Diglin/Chat/Block/Display.php +57 -32
- app/code/community/Diglin/Chat/Helper/Data.php +9 -4
- app/code/community/Diglin/Chat/Model/Config/Source/Api.php +1 -4
- app/code/community/Diglin/Chat/Model/Config/Source/Badgecolor.php +1 -4
- app/code/community/Diglin/Chat/Model/Config/Source/Bubblecolor.php +1 -4
- app/code/community/Diglin/Chat/Model/Config/Source/Buttonposition.php +1 -4
- app/code/community/Diglin/Chat/Model/Config/Source/Classicthemes.php +1 -4
- app/code/community/Diglin/Chat/Model/Config/Source/Language.php +1 -4
- app/code/community/Diglin/Chat/Model/Config/Source/Layout.php +1 -4
- app/code/community/Diglin/Chat/Model/Config/Source/Mobileposition.php +1 -4
- app/code/community/Diglin/Chat/Model/Config/Source/Showhide.php +1 -4
- app/code/community/Diglin/Chat/Model/Config/Source/Simpleadvanced.php +1 -4
- app/code/community/Diglin/Chat/Model/Config/Source/Themes.php +1 -4
- app/code/community/Diglin/Chat/Model/Config/Source/Windowposition.php +1 -4
- app/code/community/Diglin/Chat/Model/Config/Source/Windowsize.php +1 -4
- app/code/community/Diglin/Chat/Model/Resource/Setup.php +1 -4
- app/code/community/Diglin/Chat/controllers/Adminhtml/IndexController.php +1 -4
- app/code/community/Diglin/Chat/data/diglinchat_setup/data-upgrade-1.3.0-2.0.1.php +1 -4
- app/code/community/Diglin/Chat/etc/adminhtml.xml +1 -4
- app/code/community/Diglin/Chat/etc/config.xml +6 -14
- app/code/community/Diglin/Chat/etc/system.xml +16 -11
- app/design/adminhtml/default/default/layout/chat.xml +5 -5
- app/design/adminhtml/default/default/template/chat/account.phtml +4 -7
- app/design/adminhtml/default/default/template/chat/dashboard.phtml +3 -6
- app/design/frontend/base/default/layout/chat.xml +1 -4
- app/design/frontend/base/default/template/chat/test.phtml +2 -5
- app/design/frontend/base/default/template/chat/widget.phtml +5 -10
- app/etc/modules/Diglin_Chat.xml +1 -1
- package.xml +7 -5
- 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-
|
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-
|
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-
|
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-
|
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': '" . $
|
86 |
-
$data[] = "'offline': '" . $
|
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 |
-
|
273 |
-
|
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 (
|
410 |
-
$
|
411 |
-
|
412 |
-
|
|
|
|
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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.
|
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
|
48 |
-
<key
|
49 |
-
<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-
|
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="
|
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-
|
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="
|
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-
|
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
|
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
|
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-
|
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
|
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-
|
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-
|
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-
|
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 |
-
|
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-
|
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.
|
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 |
<li>Regarding Zopim Chat itself, please visit <a href="http://bit.ly/1kcTNL5">http://www.zopim.com</a></li>
|
85 |
<li>Code is available on <a href="https://github.com/diglin/Diglin_Chat">Github</a></li>
|
86 |
</ul></description>
|
87 |
-
<notes>- 2.0.
|
|
|
|
|
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-
|
91 |
-
<time>
|
92 |
-
<contents><target name="mageetc"><dir name="modules"><file name="Diglin_Chat.xml" hash="
|
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 |
<li>Regarding Zopim Chat itself, please visit <a href="http://bit.ly/1kcTNL5">http://www.zopim.com</a></li>
|
85 |
<li>Code is available on <a href="https://github.com/diglin/Diglin_Chat">Github</a></li>
|
86 |
</ul></description>
|
87 |
+
<notes>- 2.0.3 Update Zoppim Assets and add Cache Support
|
88 |
+
- 2.0.2: fix a bug on specific server configuration - 
|
89 |
+
Zend_Log error fix
|
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 |
+
}
|