From edef53970740d6333a31cf21612229e9f6d2fcdd Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Thu, 24 Jan 2013 12:40:25 +0000 Subject: [PATCH] Remove unnecessary element from $page array in set_chatview_* functions --- src/messenger/webim/libs/chat.php | 2 -- src/messenger/webim/styles/dialogs/silver/templates/chat.tpl | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/messenger/webim/libs/chat.php b/src/messenger/webim/libs/chat.php index 66f16768..685b18ef 100644 --- a/src/messenger/webim/libs/chat.php +++ b/src/messenger/webim/libs/chat.php @@ -245,7 +245,6 @@ function setup_chatview_for_user($thread, $level) $page['ct.user.name'] = htmlspecialchars(topage($thread->userName)); $page['canChangeName'] = Settings::get('usercanchangename') == "1"; $page['chat.title'] = topage(empty($group['vcchattitle'])?Settings::get('chattitle'):$group['vcchattitle']); - $page['chat.close.confirmation'] = getlocal('chat.close.confirmation'); setup_logo($group); if (Settings::get('sendmessagekey') == 'enter') { @@ -295,7 +294,6 @@ function setup_chatview_for_operator($thread, $operator) $page['ct.token'] = $thread->lastToken; $page['ct.user.name'] = htmlspecialchars(topage(get_user_name($thread->userName, $thread->remote, $thread->userId))); $page['chat.title'] = topage(empty($group['vcchattitle'])?Settings::get('chattitle'):$group['vcchattitle']); - $page['chat.close.confirmation'] = getlocal('chat.close.confirmation'); setup_logo($group); if (Settings::get('sendmessagekey') == 'enter') { diff --git a/src/messenger/webim/styles/dialogs/silver/templates/chat.tpl b/src/messenger/webim/styles/dialogs/silver/templates/chat.tpl index 5e28eacf..a26d2a98 100644 --- a/src/messenger/webim/styles/dialogs/silver/templates/chat.tpl +++ b/src/messenger/webim/styles/dialogs/silver/templates/chat.tpl @@ -32,7 +32,7 @@ ${page:additional_js}