mirror of
https://github.com/Mibew/i18n.git
synced 2024-11-15 08:34:12 +03:00
1.0.7 RC3 (fix company name & logo in user window)
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@20 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
parent
054af3ca4c
commit
73666cc4fc
3
src/pack.bat
Normal file
3
src/pack.bat
Normal file
@ -0,0 +1,3 @@
|
||||
rmdir /q/s deploy
|
||||
mkdir deploy
|
||||
xcopy webim deploy\ /s/q
|
@ -157,7 +157,7 @@ function get_user_name($name, $id="") {
|
||||
}
|
||||
|
||||
function setup_chatview_for_user($thread,$level) {
|
||||
global $page, $webimroot, $user_can_change_name;
|
||||
global $page, $webimroot, $user_can_change_name, $company_logo_link, $company_name;
|
||||
$page = array();
|
||||
$page['agent'] = false;
|
||||
$page['user'] = true;
|
||||
@ -171,8 +171,8 @@ function setup_chatview_for_user($thread,$level) {
|
||||
$page['ct.user.name'] = $thread['userName'];
|
||||
$page['canChangeName'] = $user_can_change_name;
|
||||
|
||||
$page['ct.company.name'] = "Test company"; // TODO
|
||||
$page['ct.company.chatLogoURL'] = ""; // TODO
|
||||
$page['ct.company.name'] = $company_name;
|
||||
$page['ct.company.chatLogoURL'] = $company_logo_link;
|
||||
|
||||
$params = "thread=".$thread['threadid']."&token=".$thread['ltoken'];
|
||||
$page['selfLink'] = "$webimroot/client.php?".$params."&level=".$level;
|
||||
|
Loading…
Reference in New Issue
Block a user