diff --git a/src/messenger/webim/js/brws.js b/src/messenger/webim/js/162/brws.js similarity index 100% rename from src/messenger/webim/js/brws.js rename to src/messenger/webim/js/162/brws.js diff --git a/src/messenger/webim/js/chat.js b/src/messenger/webim/js/162/chat.js similarity index 100% rename from src/messenger/webim/js/chat.js rename to src/messenger/webim/js/162/chat.js diff --git a/src/messenger/webim/js/common.js b/src/messenger/webim/js/162/common.js similarity index 100% rename from src/messenger/webim/js/common.js rename to src/messenger/webim/js/162/common.js diff --git a/src/messenger/webim/js/ie.js b/src/messenger/webim/js/162/ie.js similarity index 75% rename from src/messenger/webim/js/ie.js rename to src/messenger/webim/js/162/ie.js index d4f45cca..a31b8457 100644 --- a/src/messenger/webim/js/ie.js +++ b/src/messenger/webim/js/162/ie.js @@ -3,9 +3,9 @@ window.attachEvent('onresize', mkwidth); function mkwidth(){ if(document.getElementById("wrap700")) { - document.getElementById("wrap700").style.width = document.documentElement.clientWidth < 700 ? "700px" : "100%"; + document.getElementById("wrap700").style.width = document.documentElement.clientWidth < 700 ? "750px" : "100%"; } if(document.getElementById("wrap400")) { - document.getElementById("wrap400").style.width = document.documentElement.clientWidth < 400 ? "400px" : "100%"; + document.getElementById("wrap400").style.width = document.documentElement.clientWidth < 400 ? "450px" : "100%"; } }; \ No newline at end of file diff --git a/src/messenger/webim/js/locale.js b/src/messenger/webim/js/162/locale.js similarity index 100% rename from src/messenger/webim/js/locale.js rename to src/messenger/webim/js/162/locale.js diff --git a/src/messenger/webim/js/update.js b/src/messenger/webim/js/162/update.js similarity index 100% rename from src/messenger/webim/js/update.js rename to src/messenger/webim/js/162/update.js diff --git a/src/messenger/webim/js/users.js b/src/messenger/webim/js/162/users.js similarity index 100% rename from src/messenger/webim/js/users.js rename to src/messenger/webim/js/162/users.js diff --git a/src/messenger/webim/js/source/.htaccess b/src/messenger/webim/js/source/.htaccess new file mode 100644 index 00000000..14249c50 --- /dev/null +++ b/src/messenger/webim/js/source/.htaccess @@ -0,0 +1 @@ +Deny from all \ No newline at end of file diff --git a/src/messenger/webim/js/source/build.xml b/src/messenger/webim/js/source/build.xml index 4c8af991..5a63e010 100644 --- a/src/messenger/webim/js/source/build.xml +++ b/src/messenger/webim/js/source/build.xml @@ -3,7 +3,7 @@ - + diff --git a/src/messenger/webim/libs/common.php b/src/messenger/webim/libs/common.php index db17f492..18690fe2 100644 --- a/src/messenger/webim/libs/common.php +++ b/src/messenger/webim/libs/common.php @@ -25,6 +25,7 @@ require_once(dirname(__FILE__).'/converter.php'); require_once(dirname(__FILE__).'/config.php'); $version = '1.6.2'; +$jsver = "162"; function myiconv($in_enc, $out_enc, $string) { global $_utf8win1251, $_win1251utf8; @@ -620,4 +621,9 @@ function getchatstyle() { return $settings['chatstyle']; } +function jspath() { + global $jsver; + return "js/$jsver"; +} + ?> \ No newline at end of file diff --git a/src/messenger/webim/styles/default/templates/chat.tpl b/src/messenger/webim/styles/default/templates/chat.tpl index 58441dc3..39126ab1 100644 --- a/src/messenger/webim/styles/default/templates/chat.tpl +++ b/src/messenger/webim/styles/default/templates/chat.tpl @@ -4,13 +4,13 @@ ${msg:chat.window.title.agent} - - + + - +