lite co-browsing

git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@613 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
Evgeny Gryaznov 2009-08-10 12:47:14 +00:00
parent bbf03169ee
commit b249edd0e1
4 changed files with 15 additions and 0 deletions

View File

@ -20,9 +20,21 @@
*/
require_once('libs/common.php');
require_once('libs/chat.php');
require_once('libs/operator.php');
require_once('libs/groups.php');
$referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : "";
if($referer && isset($_SESSION['threadid'])) {
$link = connect();
$thread = thread_by_id_($_SESSION['threadid'], $link);
if ($thread && $thread['istate'] != $state_closed) {
$msg = getstring2_("chat.client.visited.page", array($referer), $thread['locale']);
post_message_($thread['threadid'], $kind_for_agent,$msg,$link);
}
mysql_close($link);
}
$image = verifyparam("image","/^\w+$/", "webim");
$lang = verifyparam(isset($_GET['language']) ? "language" : "lang", "/^[\w-]{2,5}$/", "");
if(!$lang || !locale_exists($lang)) {

View File

@ -8,6 +8,7 @@
[!] do not show empty groups in redirect/survey
[!] compatibility with the latest mod_security rules
[+] performance options in settings: update intervals, operator online time threshold
[+] information messages: visitor navigated to ...
1.6.1
-----

View File

@ -34,6 +34,7 @@ chat.came.from=Vistor came from page {0}
chat.client.changename=Change name
chat.client.name=You are
chat.client.spam.prefix=[spam] 
chat.client.visited.page=Visitor navigated to {0}.
chat.default.username=Visitor
chat.error_page.close=Close...
chat.error_page.head=Error occurred:

View File

@ -34,6 +34,7 @@ chat.came.from=
chat.client.changename=Èçìåíèòü èìÿ
chat.client.name=Âû
chat.client.spam.prefix=[ñïàì] 
chat.client.visited.page=Ïîñåòèòåëü ïåðåøåë íà {0}.
chat.default.username=Ïîñåòèòåëü
chat.error_page.close=Çàêðûòü...
chat.error_page.head=Ïðîèçîøëà îøèáêà: