Beck_LiveChat - Version 1.4.2

Version Notes

none

Download this release

Release Info

Developer Magento Core Team
Extension Beck_LiveChat
Version 1.4.2
Comparing to
See all releases


Code changes from version 1.4.1 to 1.4.2

app/code/community/Beck/LiveChat/Block/Notification/Toolbar.php ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Beck_LiveChat_Block_Notification_Toolbar extends Mage_Adminhtml_Block_Template
4
+ {
5
+ protected function _construct()
6
+ {
7
+ }
8
+
9
+ protected function _getHelper()
10
+ {
11
+ return Mage::helper('livechat');
12
+ }
13
+
14
+ public function isShow()
15
+ {
16
+
17
+ return true;
18
+ }
19
+ }
app/code/community/Beck/LiveChat/Model/AdminSession.php ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Beck_LiveChat_Model_AdminSession extends Mage_Core_Model_Session_Abstract
4
+ {
5
+ public function __construct()
6
+ {
7
+ $this->init('livechat');
8
+ }
9
+ }
app/code/community/Beck/LiveChat/Model/Api.php CHANGED
@@ -4,6 +4,7 @@ class Beck_LiveChat_Model_Api extends Mage_Api_Model_Resource_Abstract
4
  {
5
  public function closesession($session_id)
6
  {
 
7
  $session = Mage::getModel('livechat/session')->load($session_id);
8
  $session->Close();
9
  }
@@ -39,6 +40,7 @@ class Beck_LiveChat_Model_Api extends Mage_Api_Model_Resource_Abstract
39
 
40
  public function getmessages($session_id)
41
  {
 
42
  $result = array();
43
  $session = Mage::getModel('livechat/session');
44
  if ($session->Exist($session_id))
@@ -54,6 +56,7 @@ class Beck_LiveChat_Model_Api extends Mage_Api_Model_Resource_Abstract
54
 
55
  public function sendmessage($session_id, $autor, $message)
56
  {
 
57
  $session = Mage::getModel('livechat/session');
58
  if ($session->Exist($session_id))
59
  {
@@ -67,15 +70,16 @@ class Beck_LiveChat_Model_Api extends Mage_Api_Model_Resource_Abstract
67
  {
68
  $session_list = explode('-', $session_list);
69
  $res = array();
70
- foreach ($session_list as $id_session)
71
  {
72
- $session = Mage::getModel('livechat/session')->load($id_session);
 
73
  if (Mage::Helper('livechat')->isSessionExpired($session))
74
  {
75
  $session->Expired();
76
  }
77
  $index = count($res);
78
- $res[$index]['id'] = $id_session;
79
  $res[$index]['customer_url'] = $session->getCustomer_url();
80
  $res[$index]['close'] = $session->getClose();
81
  $res[$index]['customer_name'] = $session->getCustomer_name();
4
  {
5
  public function closesession($session_id)
6
  {
7
+ $session_id = (int)$session_id;
8
  $session = Mage::getModel('livechat/session')->load($session_id);
9
  $session->Close();
10
  }
40
 
41
  public function getmessages($session_id)
42
  {
43
+ $session_id = (int)$session_id;
44
  $result = array();
45
  $session = Mage::getModel('livechat/session');
46
  if ($session->Exist($session_id))
56
 
57
  public function sendmessage($session_id, $autor, $message)
58
  {
59
+ $session_id = (int)$session_id;
60
  $session = Mage::getModel('livechat/session');
61
  if ($session->Exist($session_id))
62
  {
70
  {
71
  $session_list = explode('-', $session_list);
72
  $res = array();
73
+ foreach ($session_list as $session_id)
74
  {
75
+ $session_id = (int)$session_id;
76
+ $session = Mage::getModel('livechat/session')->load($session_id);
77
  if (Mage::Helper('livechat')->isSessionExpired($session))
78
  {
79
  $session->Expired();
80
  }
81
  $index = count($res);
82
+ $res[$index]['id'] = $session_id;
83
  $res[$index]['customer_url'] = $session->getCustomer_url();
84
  $res[$index]['close'] = $session->getClose();
85
  $res[$index]['customer_name'] = $session->getCustomer_name();
app/code/community/Beck/LiveChat/controllers/Session/LiveController.php CHANGED
@@ -6,7 +6,7 @@ class Beck_LiveChat_Session_LiveController extends Mage_Adminhtml_Controller_Act
6
  {
7
  $this->loadLayout();
8
 
9
- $session = Mage::getSingleton('adminhtml/session');
10
  $operatorName = $session->getData('OperatorName');
11
  $operator = Mage::getModel('livechat/operator');
12
 
@@ -124,7 +124,7 @@ class Beck_LiveChat_Session_LiveController extends Mage_Adminhtml_Controller_Act
124
  if (isset($post['Login']) && isset($post['Key']))
125
  {
126
  $res = $this->checkUserPermission($post['Login'], $post['Key']);
127
- $session = Mage::getSingleton('adminhtml/session');
128
  if ($res)
129
  {
130
  $operator = Mage::getModel('livechat/operator');
@@ -154,7 +154,7 @@ class Beck_LiveChat_Session_LiveController extends Mage_Adminhtml_Controller_Act
154
  public function logoutAction()
155
  {
156
  $post = $this->getRequest()->getPost();
157
- $session = Mage::getSingleton('adminhtml/session');
158
  $operatorName = $session->getData('OperatorName');
159
  $operator = Mage::getModel('livechat/operator');
160
  $session->setData('OperatorName', null);
6
  {
7
  $this->loadLayout();
8
 
9
+ $session = Mage::getSingleton('livechat/adminSession');
10
  $operatorName = $session->getData('OperatorName');
11
  $operator = Mage::getModel('livechat/operator');
12
 
124
  if (isset($post['Login']) && isset($post['Key']))
125
  {
126
  $res = $this->checkUserPermission($post['Login'], $post['Key']);
127
+ $session = Mage::getSingleton('livechat/adminSession');
128
  if ($res)
129
  {
130
  $operator = Mage::getModel('livechat/operator');
154
  public function logoutAction()
155
  {
156
  $post = $this->getRequest()->getPost();
157
+ $session = Mage::getSingleton('livechat/adminSession');
158
  $operatorName = $session->getData('OperatorName');
159
  $operator = Mage::getModel('livechat/operator');
160
  $session->setData('OperatorName', null);
app/code/community/Beck/LiveChat/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Beck_LiveChat>
5
- <version>1.4.1</version>
6
  </Beck_LiveChat>
7
  </modules>
8
  <admin>
2
  <config>
3
  <modules>
4
  <Beck_LiveChat>
5
+ <version>1.4.2</version>
6
  </Beck_LiveChat>
7
  </modules>
8
  <admin>
app/design/adminhtml/default/default/layout/livechat.xml CHANGED
@@ -1,5 +1,13 @@
1
  <?xml version="1.0" encoding="utf-8" ?>
2
  <layout>
 
 
 
 
 
 
 
 
3
  <livechat_session_list_index>
4
  <reference name="head">
5
  <action method="addCss"><name>livechat/livechat.css</name></action>
1
  <?xml version="1.0" encoding="utf-8" ?>
2
  <layout>
3
+ <default>
4
+ <reference name="head">
5
+ <action method="addCss"><name>livechat/livechat.css</name></action>
6
+ </reference>
7
+ <reference name="content">
8
+ <block type="livechat/notification_toolbar" after="notification_toolbar" name="livechat_toolbar" as="livechat_toolbar" template="livechat/notification/toolbar.phtml" />
9
+ </reference>
10
+ </default>
11
  <livechat_session_list_index>
12
  <reference name="head">
13
  <action method="addCss"><name>livechat/livechat.css</name></action>
app/design/adminhtml/default/default/template/livechat/notification/toolbar.phtml ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $session = Mage::getSingleton('livechat/adminSession');
3
+ if ($this->isShow()): ?>
4
+ <div class="notification-livechat">
5
+
6
+ <?php if ($session->getData('OperatorName') != null): ?>
7
+ <span class="label clickable"><a href="<?php echo $this->getUrl('livechat/session_live/logout'); ?>" onClick="return confirm('<?php echo Mage::helper('livechat')->__('Are you sure ?'); ?>');" title="<?php echo $this->__('Disconnect'); ?>"><?php echo $session->getData('OperatorName'); ?></a></span>
8
+ <span>
9
+ <?php
10
+ $sessions = Mage::getModel('livechat/operator')->loadByName($session->getData('OperatorName'))->getSessionsAvailable();
11
+ if (count($sessions) > 0)
12
+ {
13
+ echo count($sessions) . ' chat sessions : ';
14
+ }
15
+ else
16
+ {
17
+ echo 'no chat session';
18
+ }
19
+ foreach ($sessions as $chat)
20
+ {
21
+ echo '#'.$chat->getId() . ' ';
22
+ }
23
+ ?>
24
+ </span>
25
+ <?php else: ?>
26
+ <form name="livechatloginloginform" id="livechatloginloginform" method="post" action="<?php echo $this->getUrl('livechat/session_live/login'); ?>">
27
+ <input type="hidden" name="form_key" value="<?php echo $this->getFormKey(); ?>">
28
+ <?php echo $this->__('Operator name'); ?> <input type="text" name="Login">
29
+ <?php echo $this->__('Operator key'); ?> <input type="password" name="Key">
30
+ <button class="form-button-alt save" onclick="javascript: livechatloginform.submit(); return false;"><span><?php echo $this->__('Log in'); ?></span></button>
31
+ </form>
32
+ <script type="text/javascript">
33
+ var livechatloginform = new varienForm('livechatloginloginform');
34
+ </script>
35
+ <?php endif; ?>
36
+ </div>
37
+ <?php endif; ?>
app/design/adminhtml/default/default/template/livechat/widget/sessionslive.phtml CHANGED
@@ -4,13 +4,9 @@
4
  <td style="width:50%;"><h3 class="icon-head head-livechat">Sessions Live</h3></td>
5
  <td class="a-right">
6
  <?php
7
- $session = Mage::getSingleton('adminhtml/session');
8
  if ($session->getData('OperatorName') != null):
9
  $refreshrate = (int)Mage::getStoreConfig('livechatconfiguration/general/adminrefreshrate', 0);
10
- if ($refreshrate < 120)
11
- {
12
- $refreshrate = 120;
13
- }
14
  ?>
15
 
16
  <script language="javascript">
@@ -18,10 +14,6 @@ if ($refreshrate < 120)
18
  var urlUpdater = '<?php echo $this->urlUpdater; ?>';
19
  var urlOperatorCloseSession = '<?php echo $this->urlOperatorCloseSession; ?>';
20
  </script>
21
- <form name="livechatloginloginform" id="livechatloginloginform" method="post" action="<?php echo $this->getUrl('*/*/logout'); ?>">
22
- <input type="hidden" name="form_key" value="<?php echo $this->getFormKey(); ?>">
23
- <button class="scalable delete" onclick="javascript: livechatloginform.submit(); return false;"><span><?php echo $this->__('Log out'); ?></span></button>
24
- </form>
25
  <script type="text/javascript">
26
 
27
  function refresh (){window.location.replace('<?php echo $this->getUrl('*/*/index'); ?>');}
4
  <td style="width:50%;"><h3 class="icon-head head-livechat">Sessions Live</h3></td>
5
  <td class="a-right">
6
  <?php
7
+ $session = Mage::getSingleton('livechat/adminSession');
8
  if ($session->getData('OperatorName') != null):
9
  $refreshrate = (int)Mage::getStoreConfig('livechatconfiguration/general/adminrefreshrate', 0);
 
 
 
 
10
  ?>
11
 
12
  <script language="javascript">
14
  var urlUpdater = '<?php echo $this->urlUpdater; ?>';
15
  var urlOperatorCloseSession = '<?php echo $this->urlOperatorCloseSession; ?>';
16
  </script>
 
 
 
 
17
  <script type="text/javascript">
18
 
19
  function refresh (){window.location.replace('<?php echo $this->getUrl('*/*/index'); ?>');}
app/etc/modules/ZBeck_LiveChat.xml CHANGED
@@ -5,7 +5,7 @@
5
  <active>true</active>
6
  <codePool>community</codePool>
7
  <depends />
8
- <version>1.4.1</version>
9
  </Beck_LiveChat>
10
  </modules>
11
  </config>
5
  <active>true</active>
6
  <codePool>community</codePool>
7
  <depends />
8
+ <version>1.4.2</version>
9
  </Beck_LiveChat>
10
  </modules>
11
  </config>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Beck_LiveChat</name>
4
- <version>1.4.0</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>
@@ -13,9 +13,9 @@ Operator can use the windows software LiveChatOperator wich can stay in tray ico
13
  All is free.</description>
14
  <notes>none</notes>
15
  <authors><author><name>Fabrice Beck</name><user>auto-converted</user><email>fabrice.beck@fia-net.com</email></author></authors>
16
- <date>2009-02-19</date>
17
- <time>17:10:26</time>
18
- <contents><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="livechat"><file name="base_mini_actions_bg.gif" hash="da2970eac0a22c850b19ee3680475d51"/><file name="base_mini_head_bg.gif" hash="f8c1f130ad69464fe7aff2f589b2ec75"/><file name="chat.png" hash="0b6147abc4b325b6adc53101020214fd"/><file name="close.png" hash="453440e151c84241d7e96fbef87e3ce4"/><file name="close_hover.png" hash="504658759baedc0fae5461fc25d1258d"/></dir></dir><dir name="livechat"><file name="livechat.css" hash="f6446a97f9055a395492c3549ff33bac"/></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><dir name="livechat"><file name="livechat.css" hash="23f6b4208a1828c95d53ca1424e69c1b"/></dir></dir><dir name="images"><dir name="livechat"><file name="ajax-loader.gif" hash="622c5fd994ddbd1dd7295e975a855394"/><file name="chat.png" hash="0b6147abc4b325b6adc53101020214fd"/><file name="livechat_icon_1_offline.gif" hash="6f29645dd823de420f87406adeefbd74"/><file name="livechat_icon_1_online.gif" hash="0fb04fadb0291cae8fb18f077e5cb287"/><file name="livechat_icon_2_offline.gif" hash="ccac8aead3064b6b573b36790c259a4f"/><file name="livechat_icon_2_online.gif" hash="ccffb2ccd56232a48a2886b987095398"/><file name="livechat_icon_3_offline.gif" hash="fee4fd690feaad68955e4d3f17ea61ba"/><file name="livechat_icon_3_online.gif" hash="7218d4f034d4eb13e3d5b0c309687c61"/><file name="livechat_icon_4_offline.gif" hash="17bc9d490e7c66482aaa813c4c542e93"/><file name="livechat_icon_4_online.gif" hash="dd529dbdf1ffc62c593fd6c4548dfd52"/><file name="Thumbs.db" hash="b862ff0fb7c32dacd5e0489f271d43ac"/></dir></dir></dir><dir name="modern"><dir name="css"><dir name="livechat"><file name="livechat.css" hash="016c7ca657a01972c199cad16ca823e4"/></dir></dir><dir name="images"><dir name="livechat"><file name="ajax-loader.gif" hash="622c5fd994ddbd1dd7295e975a855394"/><file name="chat.png" hash="0b6147abc4b325b6adc53101020214fd"/><file name="livechat_icon_1_offline.gif" hash="6f29645dd823de420f87406adeefbd74"/><file name="livechat_icon_1_online.gif" hash="0fb04fadb0291cae8fb18f077e5cb287"/><file name="livechat_icon_2_offline.gif" hash="ccac8aead3064b6b573b36790c259a4f"/><file name="livechat_icon_2_online.gif" hash="ccffb2ccd56232a48a2886b987095398"/><file name="livechat_icon_3_offline.gif" hash="fee4fd690feaad68955e4d3f17ea61ba"/><file name="livechat_icon_3_online.gif" hash="7218d4f034d4eb13e3d5b0c309687c61"/><file name="livechat_icon_4_offline.gif" hash="17bc9d490e7c66482aaa813c4c542e93"/><file name="livechat_icon_4_online.gif" hash="dd529dbdf1ffc62c593fd6c4548dfd52"/><file name="Thumbs.db" hash="5d6de5587cb6edace482aa9ceb9d5363"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="livechat.xml" hash="a81edf1f74c9b7f96494ea96a33f9bdc"/></dir><dir name="template"><dir name="livechat"><file name="operator.phtml" hash="7013c5fe4dbd2cba0fe06336dba4c7a7"/><file name="session.phtml" hash="bed057fb47975a3a7a09187b82c76483"/><dir name="session"><file name="detail.phtml" hash="278dbb25de95e687d02b291a67261518"/></dir><dir name="widget"><file name="chatlive.phtml" hash="479a2c65d745884146b3dc60c9ddbafe"/><file name="sessionslive.phtml" hash="491f0101312196553ed2d98d32a85c60"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="livechat.xml" hash="7a80c2f0893481af99d2acabf14de075"/></dir><dir name="template"><dir name="livechat"><file name="chat.phtml" hash="9b1d6d6bfdee8d10093efa73143ba096"/></dir></dir></dir><dir name="modern"><dir name="layout"><file name="livechat.xml" hash="37e80dc38dd51095f830c1ca6349cbe5"/></dir><dir name="template"><dir name="livechat"><file name="chat.phtml" hash="9b1d6d6bfdee8d10093efa73143ba096"/></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Beck"><dir name="LiveChat"><dir name="Block"><file name="Operator.php" hash="359b81c070d1e6599fec6186adbb76cb"/><file name="Session.php" hash="4ef2dd4fbfc349b31acc707882860d9c"/><file name="Template.php" hash="8ded3b9b3fc81528e00ac031ba0abb68"/><dir name="Operator"><file name="Edit.php" hash="540a5246fcff5b1a8e821445e07ebd12"/><file name="List.php" hash="e4f392b7522aa002744abcb33fa5ce70"/><dir name="Edit"><file name="Form.php" hash="e97d951a63ed996560cb1526e23cb358"/></dir></dir><dir name="Session"><file name="Detail.php" hash="821d5c92c500cafa72ed50ba29eab352"/><file name="Grid.php" hash="b2116c31cbd297ed046296083bbf2fcf"/><dir name="Detail"><file name="Grid.php" hash="15786bd48ac663b9e9292d0d27fe8a30"/></dir></dir><dir name="Widget"><file name="Chat.php" hash="926f6fc13b7490d2f97035f1276078e7"/><file name="Sessions.php" hash="11a90eea0577b5f5481e29f5c2aad013"/><dir name="Grid"><dir name="Column"><dir name="Filter"><file name="Dispatched.php" hash="9052fa22cd9e07375d0de4f312c8bcf3"/><file name="Online.php" hash="1810c742fe22fd536798f2f76a11479c"/><file name="State.php" hash="c4367ea40d730b6b42e887fb0f57f758"/></dir><dir name="Renderer"><file name="Dispatched.php" hash="21e79c6d3662fd71737f1f6021509883"/><file name="Online.php" hash="e16ef426e2d329986774670c75188901"/><file name="State.php" hash="4efb918376b7b23ec182ad7d1c981ec9"/></dir></dir></dir></dir></dir><dir name="controllers"><file name="ChatController.php" hash="6d1a7f3ad7807c0a6ef9057bf5aa13e9"/><file name="OperatorController.php" hash="68e72482a399d247bd8972032c0ea797"/><file name="TestController.php" hash="74a83761b01601c438554d3e5634451e"/><dir name="Operator"><file name="ListController.php" hash="6e82400d65838594f0f139d3884fd75f"/></dir><dir name="Session"><file name="ListController.php" hash="9b2d030b3b3979ca10d8fb1e72f8bfad"/><file name="LiveController.php" hash="b1d1fb3f1ff67076ef5a6ca0c8d9f65c"/></dir></dir><dir name="etc"><file name="api.xml" hash="557b013a006d6cb0700b9bd80be41ace"/><file name="config.xml" hash="8ae52bea92681101f244b5f1574b0696"/><file name="system.xml" hash="8366a42b94c616800d7d670a20cf3cac"/></dir><dir name="Helper"><file name="Data.php" hash="9b8122364bcd6d142aaf2221229fb79e"/></dir><dir name="Model"><file name="Api.php" hash="935bd12147c5b9cb57c65ef1bb32eab1"/><file name="Event.php" hash="1f9664d6b3455d4bf7e34aa2500163d1"/><file name="Message.php" hash="14b9b7ffef2638e2178ed449945f2189"/><file name="Operator.php" hash="0a79de761f0f1b8b2cfb5318529c6c16"/><file name="Session.php" hash="38e464f28d70d3993d6797cd2a4ed77f"/><dir name="Archives"><file name="Message.php" hash="77405730511ada4e8f973189cc04a70a"/><file name="Session.php" hash="e7e342df2a427a31c6d0392ae230f084"/></dir><dir name="Mysql4"><file name="Message.php" hash="15f54ff4ac2e42d499a465ba02f54545"/><file name="Operator.php" hash="183d4556a4adb362080db8b29b3d363b"/><file name="Session.php" hash="23470233413431cb15fd64d6f6a9e57a"/><dir name="Archives"><file name="Message.php" hash="08a24b0294485713fa948a6bdc321d95"/><file name="Session.php" hash="1e9179810d16098a15e318aec9fecb7d"/><dir name="Message"><file name="Collection.php" hash="40081589afffca0b6045508b3d41dbc1"/></dir><dir name="Session"><file name="Collection.php" hash="2f25d488fde87349bfa0e39faa7b6a11"/></dir></dir><dir name="Message"><file name="Collection.php" hash="bb9831d35976036acecaf600ba077aed"/></dir><dir name="Operator"><file name="Collection.php" hash="1f85ba68d6c707589b7650fc3fbf1929"/></dir><dir name="Session"><file name="Collection.php" hash="4409f4ba36832a8c0ff8e186b4945de8"/></dir></dir><dir name="Session"><file name="List.php" hash="c97c0507a2ead10e3df948a985f94aae"/></dir><dir name="Source"><file name="Images.php" hash="a78214110d992b5f1267360fac8ffb10"/><file name="Online.php" hash="16a3933b4c4801ce20c714635ea52a47"/><file name="SessionCreation.php" hash="bf20fc0949be23a892b5744e9a68ed4b"/></dir></dir><dir name="sql"><dir name="livechat_setup"><file name="mysql4-install-1.0.0.php" hash="5a967b18d8bc56b345cd3870d1c9ebb7"/><file name="mysql4-upgrade-1.0.0-1.2.4.php" hash="852891c2299a597fe671ca3e06101f82"/><file name="mysql4-upgrade-1.2.4-1.2.9.php" hash="573b71d02e8690e8c4903cf0447a928e"/><file name="mysql4-upgrade-1.2.9-1.3.0.php" hash="d487ca45bb75f68b8f813d4bd3c04ca7"/><file name="mysql4-upgrade-1.3.0-1.3.5.php" hash="aeacf36dc4f8c9df0dcae5dc2c1620ab"/><file name="mysql4-upgrade-1.3.1-1.3.5.php" hash="aeacf36dc4f8c9df0dcae5dc2c1620ab"/><file name="mysql4-upgrade-1.3.2-1.3.5.php" hash="aeacf36dc4f8c9df0dcae5dc2c1620ab"/><file name="mysql4-upgrade-1.3.3-1.3.5.php" hash="aeacf36dc4f8c9df0dcae5dc2c1620ab"/><file name="mysql4-upgrade-1.3.4-1.3.5.php" hash="aeacf36dc4f8c9df0dcae5dc2c1620ab"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="fr_FR"><file name="Beck_LiveChat.csv" hash="401cc41673b4f4986dc0c6d9bebc6437"/></dir><dir name="nl_NL"><file name="Beck_LiveChat.csv" hash="8e7fdb53f6bd85f5a5b5a3a2bb0920e7"/></dir></target><target name="mage"><dir name="js"><dir name="livechat"><file name="js.js" hash="e2e673b8f54faa02279c669e5db595fa"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="ZBeck_LiveChat.xml" hash="52a0687153e07e3f28d9b5a8d5c2b267"/></dir></target></contents>
19
  <compatible/>
20
  <dependencies/>
21
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Beck_LiveChat</name>
4
+ <version>1.4.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>
13
  All is free.</description>
14
  <notes>none</notes>
15
  <authors><author><name>Fabrice Beck</name><user>auto-converted</user><email>fabrice.beck@fia-net.com</email></author></authors>
16
+ <date>2009-02-27</date>
17
+ <time>16:11:19</time>
18
+ <contents><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="livechat"><file name="base_mini_actions_bg.gif" hash="da2970eac0a22c850b19ee3680475d51"/><file name="base_mini_head_bg.gif" hash="f8c1f130ad69464fe7aff2f589b2ec75"/><file name="chat.png" hash="0b6147abc4b325b6adc53101020214fd"/><file name="close.png" hash="453440e151c84241d7e96fbef87e3ce4"/><file name="close_hover.png" hash="504658759baedc0fae5461fc25d1258d"/></dir></dir><dir name="livechat"><file name="livechat.css" hash="dc9579be4ca477338f78cb63d63dc5f4"/></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><dir name="livechat"><file name="livechat.css" hash="b4e4554301897980dfb271a5f33549b4"/></dir></dir><dir name="images"><dir name="livechat"><file name="ajax-loader.gif" hash="622c5fd994ddbd1dd7295e975a855394"/><file name="chat.png" hash="0b6147abc4b325b6adc53101020214fd"/><file name="livechat_icon_1_offline.gif" hash="6f29645dd823de420f87406adeefbd74"/><file name="livechat_icon_1_online.gif" hash="0fb04fadb0291cae8fb18f077e5cb287"/><file name="livechat_icon_2_offline.gif" hash="ccac8aead3064b6b573b36790c259a4f"/><file name="livechat_icon_2_online.gif" hash="ccffb2ccd56232a48a2886b987095398"/><file name="livechat_icon_3_offline.gif" hash="fee4fd690feaad68955e4d3f17ea61ba"/><file name="livechat_icon_3_online.gif" hash="7218d4f034d4eb13e3d5b0c309687c61"/><file name="livechat_icon_4_offline.gif" hash="17bc9d490e7c66482aaa813c4c542e93"/><file name="livechat_icon_4_online.gif" hash="dd529dbdf1ffc62c593fd6c4548dfd52"/><file name="Thumbs.db" hash="b862ff0fb7c32dacd5e0489f271d43ac"/></dir></dir></dir><dir name="modern"><dir name="css"><dir name="livechat"><file name="livechat.css" hash="f0595e7964bdae458d1c7fb4a0e71060"/></dir></dir><dir name="images"><dir name="livechat"><file name="ajax-loader.gif" hash="622c5fd994ddbd1dd7295e975a855394"/><file name="chat.png" hash="0b6147abc4b325b6adc53101020214fd"/><file name="livechat_icon_1_offline.gif" hash="6f29645dd823de420f87406adeefbd74"/><file name="livechat_icon_1_online.gif" hash="0fb04fadb0291cae8fb18f077e5cb287"/><file name="livechat_icon_2_offline.gif" hash="ccac8aead3064b6b573b36790c259a4f"/><file name="livechat_icon_2_online.gif" hash="ccffb2ccd56232a48a2886b987095398"/><file name="livechat_icon_3_offline.gif" hash="fee4fd690feaad68955e4d3f17ea61ba"/><file name="livechat_icon_3_online.gif" hash="7218d4f034d4eb13e3d5b0c309687c61"/><file name="livechat_icon_4_offline.gif" hash="17bc9d490e7c66482aaa813c4c542e93"/><file name="livechat_icon_4_online.gif" hash="dd529dbdf1ffc62c593fd6c4548dfd52"/><file name="Thumbs.db" hash="5d6de5587cb6edace482aa9ceb9d5363"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="livechat.xml" hash="4cbf4e1c4552722bbec1828ed58dec76"/></dir><dir name="template"><dir name="livechat"><file name="operator.phtml" hash="7013c5fe4dbd2cba0fe06336dba4c7a7"/><file name="session.phtml" hash="bed057fb47975a3a7a09187b82c76483"/><dir name="notification"><file name="toolbar.phtml" hash="17cf821d5949f14a61fcd5e8b36e5038"/></dir><dir name="session"><file name="detail.phtml" hash="278dbb25de95e687d02b291a67261518"/></dir><dir name="widget"><file name="chatlive.phtml" hash="479a2c65d745884146b3dc60c9ddbafe"/><file name="sessionslive.phtml" hash="f7f7fc200cb5f68cb8bbfe074a5a0934"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="livechat.xml" hash="7a80c2f0893481af99d2acabf14de075"/></dir><dir name="template"><dir name="livechat"><file name="chat.phtml" hash="9b1d6d6bfdee8d10093efa73143ba096"/></dir></dir></dir><dir name="modern"><dir name="layout"><file name="livechat.xml" hash="37e80dc38dd51095f830c1ca6349cbe5"/></dir><dir name="template"><dir name="livechat"><file name="chat.phtml" hash="9b1d6d6bfdee8d10093efa73143ba096"/></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Beck"><dir name="LiveChat"><dir name="Block"><file name="Operator.php" hash="359b81c070d1e6599fec6186adbb76cb"/><file name="Session.php" hash="4ef2dd4fbfc349b31acc707882860d9c"/><file name="Template.php" hash="5725063612000003e2eb4bad59668f30"/><dir name="Notification"><file name="Toolbar.php" hash="cf23737586bdb644a8f49cd1806759bc"/></dir><dir name="Operator"><file name="Edit.php" hash="540a5246fcff5b1a8e821445e07ebd12"/><file name="List.php" hash="e4f392b7522aa002744abcb33fa5ce70"/><dir name="Edit"><file name="Form.php" hash="e97d951a63ed996560cb1526e23cb358"/></dir></dir><dir name="Session"><file name="Detail.php" hash="821d5c92c500cafa72ed50ba29eab352"/><file name="Grid.php" hash="b2116c31cbd297ed046296083bbf2fcf"/><dir name="Detail"><file name="Grid.php" hash="15786bd48ac663b9e9292d0d27fe8a30"/></dir></dir><dir name="Widget"><file name="Chat.php" hash="926f6fc13b7490d2f97035f1276078e7"/><file name="Sessions.php" hash="11a90eea0577b5f5481e29f5c2aad013"/><dir name="Grid"><dir name="Column"><dir name="Filter"><file name="Dispatched.php" hash="9052fa22cd9e07375d0de4f312c8bcf3"/><file name="Online.php" hash="1810c742fe22fd536798f2f76a11479c"/><file name="State.php" hash="c4367ea40d730b6b42e887fb0f57f758"/></dir><dir name="Renderer"><file name="Dispatched.php" hash="21e79c6d3662fd71737f1f6021509883"/><file name="Online.php" hash="e16ef426e2d329986774670c75188901"/><file name="State.php" hash="4efb918376b7b23ec182ad7d1c981ec9"/></dir></dir></dir></dir></dir><dir name="controllers"><file name="ChatController.php" hash="6d1a7f3ad7807c0a6ef9057bf5aa13e9"/><file name="OperatorController.php" hash="68e72482a399d247bd8972032c0ea797"/><file name="TestController.php" hash="74a83761b01601c438554d3e5634451e"/><dir name="Operator"><file name="ListController.php" hash="6e82400d65838594f0f139d3884fd75f"/></dir><dir name="Session"><file name="ListController.php" hash="9b2d030b3b3979ca10d8fb1e72f8bfad"/><file name="LiveController.php" hash="3d98c3d90cb66f6d57b7f9b443e1d2f2"/></dir></dir><dir name="etc"><file name="api.xml" hash="557b013a006d6cb0700b9bd80be41ace"/><file name="config.xml" hash="c1cb8ae08c113e614b21b479335f11e6"/><file name="system.xml" hash="8366a42b94c616800d7d670a20cf3cac"/></dir><dir name="Helper"><file name="Data.php" hash="9b8122364bcd6d142aaf2221229fb79e"/></dir><dir name="Model"><file name="AdminSession.php" hash="c6edda40339ae92777ff627d56fd69f7"/><file name="Api.php" hash="34cc994d4c754ea1139dcfcc48450caa"/><file name="Event.php" hash="1f9664d6b3455d4bf7e34aa2500163d1"/><file name="Message.php" hash="14b9b7ffef2638e2178ed449945f2189"/><file name="Operator.php" hash="0a79de761f0f1b8b2cfb5318529c6c16"/><file name="Session.php" hash="38e464f28d70d3993d6797cd2a4ed77f"/><dir name="Archives"><file name="Message.php" hash="77405730511ada4e8f973189cc04a70a"/><file name="Session.php" hash="e7e342df2a427a31c6d0392ae230f084"/></dir><dir name="Mysql4"><file name="Message.php" hash="15f54ff4ac2e42d499a465ba02f54545"/><file name="Operator.php" hash="183d4556a4adb362080db8b29b3d363b"/><file name="Session.php" hash="23470233413431cb15fd64d6f6a9e57a"/><dir name="Archives"><file name="Message.php" hash="08a24b0294485713fa948a6bdc321d95"/><file name="Session.php" hash="1e9179810d16098a15e318aec9fecb7d"/><dir name="Message"><file name="Collection.php" hash="40081589afffca0b6045508b3d41dbc1"/></dir><dir name="Session"><file name="Collection.php" hash="2f25d488fde87349bfa0e39faa7b6a11"/></dir></dir><dir name="Message"><file name="Collection.php" hash="bb9831d35976036acecaf600ba077aed"/></dir><dir name="Operator"><file name="Collection.php" hash="1f85ba68d6c707589b7650fc3fbf1929"/></dir><dir name="Session"><file name="Collection.php" hash="4409f4ba36832a8c0ff8e186b4945de8"/></dir></dir><dir name="Session"><file name="List.php" hash="c97c0507a2ead10e3df948a985f94aae"/></dir><dir name="Source"><file name="Images.php" hash="a78214110d992b5f1267360fac8ffb10"/><file name="Online.php" hash="16a3933b4c4801ce20c714635ea52a47"/><file name="SessionCreation.php" hash="bf20fc0949be23a892b5744e9a68ed4b"/></dir></dir><dir name="sql"><dir name="livechat_setup"><file name="mysql4-install-1.0.0.php" hash="5a967b18d8bc56b345cd3870d1c9ebb7"/><file name="mysql4-upgrade-1.0.0-1.2.4.php" hash="852891c2299a597fe671ca3e06101f82"/><file name="mysql4-upgrade-1.2.4-1.2.9.php" hash="573b71d02e8690e8c4903cf0447a928e"/><file name="mysql4-upgrade-1.2.9-1.3.0.php" hash="d487ca45bb75f68b8f813d4bd3c04ca7"/><file name="mysql4-upgrade-1.3.0-1.3.5.php" hash="aeacf36dc4f8c9df0dcae5dc2c1620ab"/><file name="mysql4-upgrade-1.3.1-1.3.5.php" hash="aeacf36dc4f8c9df0dcae5dc2c1620ab"/><file name="mysql4-upgrade-1.3.2-1.3.5.php" hash="aeacf36dc4f8c9df0dcae5dc2c1620ab"/><file name="mysql4-upgrade-1.3.3-1.3.5.php" hash="aeacf36dc4f8c9df0dcae5dc2c1620ab"/><file name="mysql4-upgrade-1.3.4-1.3.5.php" hash="aeacf36dc4f8c9df0dcae5dc2c1620ab"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="fr_FR"><file name="Beck_LiveChat.csv" hash="401cc41673b4f4986dc0c6d9bebc6437"/></dir><dir name="nl_NL"><file name="Beck_LiveChat.csv" hash="8e7fdb53f6bd85f5a5b5a3a2bb0920e7"/></dir></target><target name="mage"><dir name="js"><dir name="livechat"><file name="js.js" hash="e2e673b8f54faa02279c669e5db595fa"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="ZBeck_LiveChat.xml" hash="c480e71cc71a88ff586c3ca525f5d0b6"/></dir></target></contents>
19
  <compatible/>
20
  <dependencies/>
21
  </package>
skin/adminhtml/default/default/livechat/livechat.css CHANGED
@@ -1,3 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  .head-livechat { background-image:url(../images/livechat/chat.png); }
2
 
3
  .livechat-box
1
+ .notification-livechat
2
+ {
3
+ padding:5px 27px 5px 47px;
4
+ background:#CCCCFF url(../images/livechat/chat.png) 27px 5px no-repeat;
5
+ border:1px solid #9999FF;
6
+ border-top:2px solid #9999FF;
7
+ font-size:11px;
8
+ line-height:16px;
9
+ color:#444;
10
+ position:relative;
11
+ }
12
+ .notification-livechat .label { color:#eb5e00; }
13
+ .notification-livechat .clickable { cursor:pointer; }
14
+ .notification-livechat span.critical { color:#d20000; }
15
+ .notification-livechat a:hover { text-decoration:none; }
16
+
17
+
18
  .head-livechat { background-image:url(../images/livechat/chat.png); }
19
 
20
  .livechat-box