Beck_LiveChat - Version 1.3.2

Version Notes

none

Download this release

Release Info

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


Code changes from version 1.3.1 to 1.3.2

app/code/community/Beck/LiveChat/Block/Session/List.php CHANGED
@@ -87,7 +87,11 @@ class Beck_LiveChat_Block_Session_List extends Mage_Adminhtml_Block_Widget_Grid
87
  {
88
  $this->setMassactionIdField('id');
89
  $this->getMassactionBlock()->setFormFieldName('session');
90
-
 
 
 
 
91
  $this->getMassactionBlock()->addItem('close', array(
92
  'label'=> Mage::helper('livechat')->__('Close'),
93
  'url' => $this->getUrl('*/*/massClose'),
87
  {
88
  $this->setMassactionIdField('id');
89
  $this->getMassactionBlock()->setFormFieldName('session');
90
+ $this->getMassactionBlock()->addItem('open', array(
91
+ 'label'=> Mage::helper('livechat')->__('Open'),
92
+ 'url' => $this->getUrl('*/*/massOpen'),
93
+ 'confirm' => Mage::helper('livechat')->__('Are you sure ?')
94
+ ));
95
  $this->getMassactionBlock()->addItem('close', array(
96
  'label'=> Mage::helper('livechat')->__('Close'),
97
  'url' => $this->getUrl('*/*/massClose'),
app/code/community/Beck/LiveChat/Block/Widget/Sessions.php CHANGED
@@ -4,6 +4,7 @@ class Beck_LiveChat_Block_Widget_Sessions extends Mage_Adminhtml_Block_Widget
4
  {
5
  protected $urlUpdater = '';
6
  protected $urlSendMessage = '';
 
7
 
8
  public function __construct()
9
  {
@@ -11,6 +12,7 @@ class Beck_LiveChat_Block_Widget_Sessions extends Mage_Adminhtml_Block_Widget
11
  $this->setTemplate('livechat'.DS.'widget'.DS.'sessionslive.phtml');
12
  $this->urlUpdater = $this->getUrl('*/*/updater');
13
  $this->urlSendMessage = $this->getUrl('*/*/sendMessage');
 
14
  }
15
 
16
  protected function _toHtml()
4
  {
5
  protected $urlUpdater = '';
6
  protected $urlSendMessage = '';
7
+ protected $urlOperatorCloseSession = '';
8
 
9
  public function __construct()
10
  {
12
  $this->setTemplate('livechat'.DS.'widget'.DS.'sessionslive.phtml');
13
  $this->urlUpdater = $this->getUrl('*/*/updater');
14
  $this->urlSendMessage = $this->getUrl('*/*/sendMessage');
15
+ $this->urlOperatorCloseSession = $this->getUrl('*/*/closeSession');
16
  }
17
 
18
  protected function _toHtml()
app/code/community/Beck/LiveChat/Model/Operator.php CHANGED
@@ -83,7 +83,10 @@ class Beck_LiveChat_Model_Operator extends Mage_Core_Model_Abstract
83
  $sessions = $this->getDispatchedSessions();
84
  foreach ($sessions as $session)
85
  {
86
- $session->setDispatched(0)->save();
 
 
 
87
  }
88
  }
89
  return $this;
83
  $sessions = $this->getDispatchedSessions();
84
  foreach ($sessions as $session)
85
  {
86
+ if ($session->getClose() == '0')
87
+ {
88
+ $session->setDispatched(0)->save();
89
+ }
90
  }
91
  }
92
  return $this;
app/code/community/Beck/LiveChat/Model/Session.php CHANGED
@@ -152,6 +152,14 @@ class Beck_LiveChat_Model_Session extends Mage_Core_Model_Abstract
152
  if ($this->getId() > 0)
153
  {
154
  $this->setClose('0')->save();
 
 
 
 
 
 
 
 
155
  }
156
  return ($this);
157
  }
152
  if ($this->getId() > 0)
153
  {
154
  $this->setClose('0')->save();
155
+ if ($this->getDispatched() > 0)
156
+ {
157
+ $operator = Mage::getModel('livechat/operator')->load($this->getDispatched());
158
+ if ($operator->getIs_online() == '0')
159
+ {
160
+ $this->setDispatched(0)->save();
161
+ }
162
+ }
163
  }
164
  return ($this);
165
  }
app/code/community/Beck/LiveChat/controllers/Session/ListController.php CHANGED
@@ -84,6 +84,33 @@ class Beck_LiveChat_Session_ListController extends Mage_Adminhtml_Controller_Act
84
  $this->_redirect('*/*');
85
  }
86
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  public function massMessageDeleteAction()
88
  {
89
  $messageIds = $this->getRequest()->getParam('message');
84
  $this->_redirect('*/*');
85
  }
86
 
87
+ public function massOpenAction()
88
+ {
89
+ $sessionIds = $this->getRequest()->getParam('session');
90
+ if (!is_array($sessionIds))
91
+ {
92
+ $this->_getSession()->addError($this->__('Please select chat(s)'));
93
+ }
94
+ else
95
+ {
96
+ try
97
+ {
98
+ foreach ($sessionIds as $sessionId)
99
+ {
100
+ $session = Mage::getSingleton('livechat/session')->load($sessionId);
101
+ Mage::dispatchEvent('livechat_controller_session_open', array('session' => $session));
102
+ $session->Open();
103
+ }
104
+ $this->_getSession()->addSuccess($this->__('Total of %d record(s) were successfully opened', count($sessionIds)));
105
+ }
106
+ catch (Exception $e)
107
+ {
108
+ $this->_getSession()->addError($e->getMessage());
109
+ }
110
+ }
111
+ $this->_redirect('*/*');
112
+ }
113
+
114
  public function massMessageDeleteAction()
115
  {
116
  $messageIds = $this->getRequest()->getParam('message');
app/code/community/Beck/LiveChat/controllers/Session/LiveController.php CHANGED
@@ -70,7 +70,7 @@ class Beck_LiveChat_Session_LiveController extends Mage_Adminhtml_Controller_Act
70
  if ($session->getClose() == '1')
71
  {
72
  echo "<br />".$this->__('This session is closed, you cannot send message.');
73
- echo "<br /><button class=\"form-button-alt delete\" onclick=\"javascript:Close_".$post['sessionId']."();\">";
74
  echo "<span>".$this->__('Close')."</span></button>";
75
  }
76
  }
@@ -178,4 +178,13 @@ class Beck_LiveChat_Session_LiveController extends Mage_Adminhtml_Controller_Act
178
  $this->getLayout()->getBlock('livechat.sessions.live')->AddChatSession($session);
179
  }
180
 
 
 
 
 
 
 
 
 
 
181
  }
70
  if ($session->getClose() == '1')
71
  {
72
  echo "<br />".$this->__('This session is closed, you cannot send message.');
73
+ echo "<br /><button class=\"form-button-alt delete\" onclick=\"javascript:CloseChatBox_".$post['sessionId']."();\">";
74
  echo "<span>".$this->__('Close')."</span></button>";
75
  }
76
  }
178
  $this->getLayout()->getBlock('livechat.sessions.live')->AddChatSession($session);
179
  }
180
 
181
+ public function closeSessionAction()
182
+ {
183
+ $post = $this->getRequest()->getPost();
184
+ if (isset($post['sessionId']))
185
+ {
186
+ $session = Mage::getModel('livechat/session')->load($post['sessionId']);
187
+ $session->Close();
188
+ }
189
+ }
190
  }
app/code/community/Beck/LiveChat/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Beck_LiveChat>
5
- <version>1.3.1</version>
6
  </Beck_LiveChat>
7
  </modules>
8
 
@@ -90,6 +90,15 @@
90
  </layout>
91
  </adminhtml>
92
  <frontend>
 
 
 
 
 
 
 
 
 
93
  <translate>
94
  <modules>
95
  <Beck_LiveChat>
2
  <config>
3
  <modules>
4
  <Beck_LiveChat>
5
+ <version>1.3.2</version>
6
  </Beck_LiveChat>
7
  </modules>
8
 
90
  </layout>
91
  </adminhtml>
92
  <frontend>
93
+ <routers>
94
+ <livechat>
95
+ <use>standard</use>
96
+ <args>
97
+ <module>Beck_LiveChat</module>
98
+ <frontName>flivechat</frontName>
99
+ </args>
100
+ </livechat>
101
+ </routers>
102
  <translate>
103
  <modules>
104
  <Beck_LiveChat>
app/design/adminhtml/default/default/template/livechat/widget/chatlive.phtml CHANGED
@@ -1,6 +1,6 @@
1
  <?php if ($this->_session->getId() > 0): ?>
2
  <div class="base-livechat livechat-box mini-livechat left" id="chat_<?php echo $this->_session->getId(); ?>" style="display: block;">
3
- <div class="head"><h4>Session #<?php echo $this->_session->getId(); ?></h4></div>
4
  <div class="content">
5
  <p id="livechat_messages_<?php echo $this->_session->getId(); ?>"></p>
6
  </div>
@@ -67,7 +67,7 @@ function LiveChatKeyPress_<?php echo $this->_session->getId(); ?>(e) {
67
  }
68
  }
69
 
70
- function Close_<?php echo $this->_session->getId() ?>()
71
  {
72
  chatupdater<?php echo $this->_session->getId(); ?>.stop();
73
  var chat = document.getElementById('chat_<?php echo $this->_session->getId(); ?>');
@@ -76,4 +76,19 @@ function Close_<?php echo $this->_session->getId() ?>()
76
  chat.style.display = 'none';
77
  }
78
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
  </script>
1
  <?php if ($this->_session->getId() > 0): ?>
2
  <div class="base-livechat livechat-box mini-livechat left" id="chat_<?php echo $this->_session->getId(); ?>" style="display: block;">
3
+ <span style="float: right" class="close" onclick="javascript:OperatorCloseSession_<?php echo $this->_session->getId(); ?>();"></span><div class="head"><h4>Session #<?php echo $this->_session->getId(); ?></h4></div>
4
  <div class="content">
5
  <p id="livechat_messages_<?php echo $this->_session->getId(); ?>"></p>
6
  </div>
67
  }
68
  }
69
 
70
+ function CloseChatBox_<?php echo $this->_session->getId() ?>()
71
  {
72
  chatupdater<?php echo $this->_session->getId(); ?>.stop();
73
  var chat = document.getElementById('chat_<?php echo $this->_session->getId(); ?>');
76
  chat.style.display = 'none';
77
  }
78
  }
79
+
80
+ function OperatorCloseSession_<?php echo $this->_session->getId() ?>()
81
+ {
82
+ if (confirm('<?php echo $this->__('Are you sure ?'); ?>'))
83
+ {
84
+ new Ajax.Request(
85
+ urlOperatorCloseSession,
86
+ {
87
+ method: 'post',
88
+ parameters: {sessionId: <?php echo $this->_session->getId() ?>},
89
+ onSuccess: function() { CloseChatBox_<?php echo $this->_session->getId() ?>(); }
90
+ }
91
+ );
92
+ }
93
+ }
94
  </script>
app/design/adminhtml/default/default/template/livechat/widget/sessionslive.phtml CHANGED
@@ -13,6 +13,7 @@ if ($refreshrate < 120)
13
  <script language="javascript">
14
  var urlSendMessage = '<?php echo $this->urlSendMessage; ?>';
15
  var urlUpdater = '<?php echo $this->urlUpdater; ?>';
 
16
  </script>
17
  <form name="livechatloginloginform" id="livechatloginloginform" method="post" action="<?php echo $this->getUrl('*/*/logout'); ?>">
18
  <input type="hidden" name="form_key" value="<?php echo $this->getFormKey(); ?>">
13
  <script language="javascript">
14
  var urlSendMessage = '<?php echo $this->urlSendMessage; ?>';
15
  var urlUpdater = '<?php echo $this->urlUpdater; ?>';
16
+ var urlOperatorCloseSession = '<?php echo $this->urlOperatorCloseSession; ?>';
17
  </script>
18
  <form name="livechatloginloginform" id="livechatloginloginform" method="post" action="<?php echo $this->getUrl('*/*/logout'); ?>">
19
  <input type="hidden" name="form_key" value="<?php echo $this->getFormKey(); ?>">
app/design/frontend/default/default/template/livechat/chat.phtml CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  if ($this->isActive):
3
- $urlUpdater = $this->getUrl('livechat/chat/getMessageSession', array('store_id'=>Mage::app()->getStore(true)->getId()));
4
- $urlSendMessage = $this->getUrl('livechat/chat/sendmessage', array('store_id'=>Mage::app()->getStore(true)->getId()));
5
 
6
  echo '<script language="javascript">';
7
  echo "\nvar urlSendMessage = '$urlSendMessage';\n";
1
  <?php
2
  if ($this->isActive):
3
+ $urlUpdater = $this->getUrl('flivechat/chat/getMessageSession', array('store_id'=>Mage::app()->getStore(true)->getId()));
4
+ $urlSendMessage = $this->getUrl('flivechat/chat/sendmessage', array('store_id'=>Mage::app()->getStore(true)->getId()));
5
 
6
  echo '<script language="javascript">';
7
  echo "\nvar urlSendMessage = '$urlSendMessage';\n";
app/design/frontend/default/modern/template/livechat/chat.phtml CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  if ($this->isActive):
3
- $urlUpdater = $this->getUrl('livechat/chat/getMessageSession', array('store_id'=>Mage::app()->getStore(true)->getId()));
4
- $urlSendMessage = $this->getUrl('livechat/chat/sendmessage', array('store_id'=>Mage::app()->getStore(true)->getId()));
5
 
6
  echo '<script language="javascript">';
7
  echo "\nvar urlSendMessage = '$urlSendMessage';\n";
1
  <?php
2
  if ($this->isActive):
3
+ $urlUpdater = $this->getUrl('flivechat/chat/getMessageSession', array('store_id'=>Mage::app()->getStore(true)->getId()));
4
+ $urlSendMessage = $this->getUrl('flivechat/chat/sendmessage', array('store_id'=>Mage::app()->getStore(true)->getId()));
5
 
6
  echo '<script language="javascript">';
7
  echo "\nvar urlSendMessage = '$urlSendMessage';\n";
app/etc/modules/ZBeck_LiveChat.xml CHANGED
@@ -5,7 +5,7 @@
5
  <active>true</active>
6
  <codePool>community</codePool>
7
  <depends />
8
- <version>1.3.1</version>
9
  </Beck_LiveChat>
10
  </modules>
11
  </config>
5
  <active>true</active>
6
  <codePool>community</codePool>
7
  <depends />
8
+ <version>1.3.2</version>
9
  </Beck_LiveChat>
10
  </modules>
11
  </config>
app/locale/fr_FR/Beck_LiveChat.csv CHANGED
@@ -83,4 +83,5 @@
83
  "When customer send his first message","Quand le client envoi son premier message"
84
  "Automatically create a new chatsession for everyone","Cr&eacute;er automatiquement une nouvelle session de t'chat pour tout le monde"
85
  "Automatically create a new chat session for every customer logged in","Cr&eacute;er automatiquement une nouvelle session de t'chat pour tous les clients connect&eacute;"
86
- "Customer url","Url du client"
 
83
  "When customer send his first message","Quand le client envoi son premier message"
84
  "Automatically create a new chatsession for everyone","Cr&eacute;er automatiquement une nouvelle session de t'chat pour tout le monde"
85
  "Automatically create a new chat session for every customer logged in","Cr&eacute;er automatiquement une nouvelle session de t'chat pour tous les clients connect&eacute;"
86
+ "Customer url","Url du client"
87
+ "Total of %d record(s) were successfully opened","Un total de %d enregistrement(s) ont &eacute;t&eacute; ouvert(s) avec succ&egrave;s"
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Beck_LiveChat</name>
4
- <version>1.3.1</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-08</date>
17
- <time>17:10:13</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"/></dir></dir><dir name="livechat"><file name="livechat.css" hash="1fb108db21697d43e0da2e0ffd4b3949"/></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="5d6de5587cb6edace482aa9ceb9d5363"/></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="8c78b52c69c13a38dd4e33a0d321a691"/></dir><dir name="template"><dir name="livechat"><file name="operator.phtml" hash="72c552ad88fc9c5711bc96115a203069"/><dir name="widget"><file name="chatlive.phtml" hash="e94eb4ebdc56da58ad64edc5abfa9ba9"/><file name="sessionslive.phtml" hash="bca0f87668cf96270c63686dea05908d"/></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="407798a335d4e3a2c0d9e06d5364c2c2"/></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="407798a335d4e3a2c0d9e06d5364c2c2"/></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="Template.php" hash="a1ff5f6b84b77e051e11c9c9d127a042"/><dir name="Operator"><file name="Edit.php" hash="540a5246fcff5b1a8e821445e07ebd12"/><file name="List.php" hash="5b371abebd9beb9344831be3d27769f4"/><dir name="Edit"><file name="Form.php" hash="e97d951a63ed996560cb1526e23cb358"/></dir></dir><dir name="Session"><file name="Detail.php" hash="871022cf6b6636142eecbe9307ad79a9"/><file name="List.php" hash="badad9037a65be192abcd9a0cb790e9a"/></dir><dir name="Widget"><file name="Chat.php" hash="926f6fc13b7490d2f97035f1276078e7"/><file name="Sessions.php" hash="878d841a4e7f4a8a1617b40d2520684d"/><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="9fefcc96895ee514708701cd5e61fcd4"/></dir></dir></dir></dir></dir><dir name="controllers"><file name="ChatController.php" hash="72fd486ae8c4a0ed093e484c42813168"/><file name="OperatorController.php" hash="68e72482a399d247bd8972032c0ea797"/><dir name="Operator"><file name="ListController.php" hash="f46f5c06cf8d91abd14a423d443d9ce9"/></dir><dir name="Session"><file name="ListController.php" hash="ba445256d3ad06115eb0490d9ce6ed6c"/><file name="LiveController.php" hash="b510a233abde4130d1159c29867534e1"/></dir></dir><dir name="etc"><file name="api.xml" hash="70f764b56f32f3aa5018a446979b8e7b"/><file name="config.xml" hash="b7786412045909c3aaae62b1e6ec89b4"/><file name="system.xml" hash="95baf09a113610779673f3792800b919"/></dir><dir name="Helper"><file name="Data.php" hash="495778f70b7e52f13e15786660f990b6"/></dir><dir name="Model"><file name="Api.php" hash="47dd09f6195da8bc4a857057ea8e4a29"/><file name="Event.php" hash="0635e910e3ff53117c7c71ab80cea826"/><file name="Message.php" hash="14b9b7ffef2638e2178ed449945f2189"/><file name="Operator.php" hash="e141c5ba9c98e47d42b0fc2f4738ccc9"/><file name="Session.php" hash="0c04adc3f7637b261369096b35d407ec"/><dir name="Mysql4"><file name="Message.php" hash="15f54ff4ac2e42d499a465ba02f54545"/><file name="Operator.php" hash="183d4556a4adb362080db8b29b3d363b"/><file name="Session.php" hash="23470233413431cb15fd64d6f6a9e57a"/><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"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="fr_FR"><file name="Beck_LiveChat.csv" hash="74b96aa8f3cf54de91f63f293d3d452f"/></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="e3a0f05e82a24794fd23f360cb287835"/></dir></target></contents>
19
  <compatible/>
20
  <dependencies/>
21
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Beck_LiveChat</name>
4
+ <version>1.3.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-09</date>
17
+ <time>20:03:16</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="00d36335918842c7f2280969e72268c6"/></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="5d6de5587cb6edace482aa9ceb9d5363"/></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="8c78b52c69c13a38dd4e33a0d321a691"/></dir><dir name="template"><dir name="livechat"><file name="operator.phtml" hash="72c552ad88fc9c5711bc96115a203069"/><dir name="widget"><file name="chatlive.phtml" hash="479a2c65d745884146b3dc60c9ddbafe"/><file name="sessionslive.phtml" hash="772a73a3abf39c30b5f1fe4dc7311c89"/></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="Template.php" hash="a1ff5f6b84b77e051e11c9c9d127a042"/><dir name="Operator"><file name="Edit.php" hash="540a5246fcff5b1a8e821445e07ebd12"/><file name="List.php" hash="5b371abebd9beb9344831be3d27769f4"/><dir name="Edit"><file name="Form.php" hash="e97d951a63ed996560cb1526e23cb358"/></dir></dir><dir name="Session"><file name="Detail.php" hash="871022cf6b6636142eecbe9307ad79a9"/><file name="List.php" hash="c2d7dd1db3d55024ef13cd2a66b059ce"/></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="9fefcc96895ee514708701cd5e61fcd4"/></dir></dir></dir></dir></dir><dir name="controllers"><file name="ChatController.php" hash="72fd486ae8c4a0ed093e484c42813168"/><file name="OperatorController.php" hash="68e72482a399d247bd8972032c0ea797"/><dir name="Operator"><file name="ListController.php" hash="f46f5c06cf8d91abd14a423d443d9ce9"/></dir><dir name="Session"><file name="ListController.php" hash="33e24a6b0d834b890a814a266c22427a"/><file name="LiveController.php" hash="031ca1a74c667efbeb7f5ea5c3f7f567"/></dir></dir><dir name="etc"><file name="api.xml" hash="70f764b56f32f3aa5018a446979b8e7b"/><file name="config.xml" hash="dbedd9e81b5708be7828fa8e6e46c5a8"/><file name="system.xml" hash="95baf09a113610779673f3792800b919"/></dir><dir name="Helper"><file name="Data.php" hash="495778f70b7e52f13e15786660f990b6"/></dir><dir name="Model"><file name="Api.php" hash="47dd09f6195da8bc4a857057ea8e4a29"/><file name="Event.php" hash="0635e910e3ff53117c7c71ab80cea826"/><file name="Message.php" hash="14b9b7ffef2638e2178ed449945f2189"/><file name="Operator.php" hash="0a79de761f0f1b8b2cfb5318529c6c16"/><file name="Session.php" hash="63feea51e53327a0ada5a50e62c1c3f9"/><dir name="Mysql4"><file name="Message.php" hash="15f54ff4ac2e42d499a465ba02f54545"/><file name="Operator.php" hash="183d4556a4adb362080db8b29b3d363b"/><file name="Session.php" hash="23470233413431cb15fd64d6f6a9e57a"/><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"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="fr_FR"><file name="Beck_LiveChat.csv" hash="e2028d095e8008f421116b48158de0c3"/></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="35c4b06753dcb314f1520052b6330ba3"/></dir></target></contents>
19
  <compatible/>
20
  <dependencies/>
21
  </package>
skin/adminhtml/default/default/images/livechat/close.png ADDED
Binary file
skin/adminhtml/default/default/images/livechat/close_hover.png ADDED
Binary file
skin/adminhtml/default/default/livechat/livechat.css CHANGED
@@ -8,7 +8,7 @@
8
  .base-livechat
9
  {
10
  border:1px solid #c4c1bc;
11
- background:#fff;
12
  font-size:.95em;
13
  }
14
 
@@ -57,4 +57,16 @@
57
  padding-right: 6px;
58
  padding-bottom: 6px;
59
  padding-left: 6px;
60
- }
 
 
 
 
 
 
 
 
 
 
 
 
8
  .base-livechat
9
  {
10
  border:1px solid #c4c1bc;
11
+ background:#f8f7f5;
12
  font-size:.95em;
13
  }
14
 
57
  padding-right: 6px;
58
  padding-bottom: 6px;
59
  padding-left: 6px;
60
+ }
61
+
62
+ .close
63
+ {
64
+ width: 16px;
65
+ height: 16px;
66
+ background: transparent url(../images/livechat/close.png) no-repeat;
67
+ }
68
+
69
+ .close:hover
70
+ {
71
+ background: transparent url(../images/livechat/close_hover.png) no-repeat;
72
+ }