mirror of
https://github.com/Mibew/design.git
synced 2025-01-22 18:10:33 +03:00
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:
parent
bbf03169ee
commit
b249edd0e1
@ -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)) {
|
||||
|
@ -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
|
||||
-----
|
||||
|
@ -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:
|
||||
|
@ -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=Ïðîèçîøëà îøèáêà:
|
||||
|
Loading…
Reference in New Issue
Block a user