diff --git a/src/messenger/webim/libs/chat.php b/src/messenger/webim/libs/chat.php index 36aaa232..0f586e0e 100644 --- a/src/messenger/webim/libs/chat.php +++ b/src/messenger/webim/libs/chat.php @@ -139,13 +139,15 @@ function setup_logo($group = NULL) { $toplevelgroup = (!$group)?array():get_top_level_group($group); - $data['ct.company.name'] = topage(empty($toplevelgroup['vctitle']) - ? Settings::get('title') - : $toplevelgroup['vctitle']); + $data['company'] = array( + 'name' => topage(empty($toplevelgroup['vctitle']) + ? Settings::get('title') + : $toplevelgroup['vctitle']), - $data['ct.company.chatLogoURL'] = topage(empty($toplevelgroup['vclogo']) - ? Settings::get('logo') - : $toplevelgroup['vclogo']); + 'chatLogoURL' => topage(empty($toplevelgroup['vclogo']) + ? Settings::get('logo') + : $toplevelgroup['vclogo']) + ); $data['webimHost'] = topage(empty($toplevelgroup['vchosturl']) ? Settings::get('hosturl') diff --git a/src/messenger/webim/styles/dialogs/default/templates/chat.tpl b/src/messenger/webim/styles/dialogs/default/templates/chat.tpl index eb323056..913f8313 100644 --- a/src/messenger/webim/styles/dialogs/default/templates/chat.tpl +++ b/src/messenger/webim/styles/dialogs/default/templates/chat.tpl @@ -108,15 +108,15 @@