Remove unnecessary element from $page array in set_chatview_* functions

This commit is contained in:
Dmitriy Simushev 2013-01-24 12:40:25 +00:00
parent ad4f4e8d8e
commit edef539707
2 changed files with 1 additions and 3 deletions

View File

@ -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') {

View File

@ -32,7 +32,7 @@
${page:additional_js}
<script type="text/javascript"><!--
Mibew.Localization.set({
'chat.close.confirmation': "${page:chat.close.confirmation}",
'chat.close.confirmation': "${msg:chat.close.confirmation}",
'typing.remote': "${msg:typing.remote}",
'chat.window.predefined.select_answer': "${msg:chat.window.predefined.select_answer}",
'chat.window.send_message': "${msg:chat.window.send_message}",