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:
Evgeny Gryaznov 2007-08-22 20:32:23 +00:00
parent 054af3ca4c
commit 73666cc4fc
2 changed files with 6 additions and 3 deletions

3
src/pack.bat Normal file
View File

@ -0,0 +1,3 @@
rmdir /q/s deploy
mkdir deploy
xcopy webim deploy\ /s/q

View File

@ -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;