regenerate javascript, adjust version

git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@415 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
Evgeny Gryaznov 2009-03-16 22:25:12 +00:00
parent 6b272b0c1f
commit 59fd9f1fa8
11 changed files with 19 additions and 18 deletions

View File

@ -1,4 +1,5 @@
#!/bin/sh #!/bin/sh
cd js/ cd webim/js/source
~/distrib/apache-ant-1.7.0/bin/ant ~/distrib/apache-ant-1.7.0/bin/ant
rm -rf bin

View File

@ -1 +1 @@
var myAgent="";var ik=0;var myRealAgent="";function jk(){var kk=["opera","m\u0073i\145","\u0073af\141\162\u0069","\146ire\u0066\u006f\170","ne\164s\143\141pe","mo\172il\154a"];var ej=navigator.userAgent.toLowerCase();for(var i=0;i<kk.length;i++){var lk=kk[i];if(ej.indexOf(lk)!=-1){myAgent=lk;if(!window.RegExp)break;var ok=new RegExp(lk+"[\040\/\u005d\u003f(\u005b0\u002d\u0039\135\053(\.\u005b0-9]+\051\u003f\u0029");if(ok.exec(ej)!=null){ik=parseFloat(RegExp.$1);} break;} } myRealAgent=myAgent;if(navigator.product=="\107ec\u006bo")myAgent="\u006d\u006f\172";} jk();function getEl(name){return document.getElementById(name);} var myAgent="";var ik=0;var myRealAgent="";function jk(){var kk=["opera","msie","safari","firefox","netscape","mozilla"];var ej=navigator.userAgent.toLowerCase();for(var i=0;i<kk.length;i++){var lk=kk[i];if(ej.indexOf(lk)!=-1){myAgent=lk;if(!window.RegExp)break;var ok=new RegExp(lk+"[ \/]?([0-9]+(\.[0-9]+)?)");if(ok.exec(ej)!=null){ik=parseFloat(RegExp.$1);} break;} } myRealAgent=myAgent;if(navigator.product=="Gecko")myAgent="moz";} jk();function getEl(name){return document.getElementById(name);}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -3,7 +3,7 @@
<project basedir="." default="update" name="Obfuscator"> <project basedir="." default="update" name="Obfuscator">
<property name="obfuscator.location" value="." /> <property name="obfuscator.location" value="." />
<property name="webim.location" value="../webim" /> <property name="webim.location" value="../" />
<target name="update" depends="build"> <target name="update" depends="build">
<java classname="JSO" fork="true" error="${obfuscator.location}/bin/obfuscation.log"> <java classname="JSO" fork="true" error="${obfuscator.location}/bin/obfuscation.log">
@ -11,10 +11,10 @@
<arg value="${obfuscator.location}/chat.js" /> <arg value="${obfuscator.location}/chat.js" />
<arg value="${obfuscator.location}/users.js" /> <arg value="${obfuscator.location}/users.js" />
<arg value="${obfuscator.location}/brws.js" /> <arg value="${obfuscator.location}/brws.js" />
<arg value="d=${webim.location}/js/" /> <arg value="d=${webim.location}" />
<!-- <arg value="debug"/> --> <!-- <arg value="debug"/> -->
<!-- <arg value="debugnames"/> --> <!-- <arg value="debugnames"/> -->
<!-- <arg value="o=0,0"/> --> <arg value="o=0,0"/>
<classpath> <classpath>
<pathelement location="${obfuscator.location}/bin/" /> <pathelement location="${obfuscator.location}/bin/" />
</classpath> </classpath>

File diff suppressed because one or more lines are too long

View File

@ -5,12 +5,12 @@
<link rel="shortcut icon" href="${webimroot}/images/favicon.ico" type="image/x-icon"/> <link rel="shortcut icon" href="${webimroot}/images/favicon.ico" type="image/x-icon"/>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1251"> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1251">
<link rel="stylesheet" type="text/css" href="${webimroot}/chat.css" /> <link rel="stylesheet" type="text/css" href="${webimroot}/chat.css" />
<script type="text/javascript" language="javascript" src="${webimroot}/js/common.js?v=152"></script> <script type="text/javascript" language="javascript" src="${webimroot}/js/common.js?v=160a1"></script>
<script type="text/javascript" language="javascript" src="${webimroot}/js/brws.js?v=152"></script> <script type="text/javascript" language="javascript" src="${webimroot}/js/brws.js?v=160a1"></script>
<script language="javascript"><!-- <script language="javascript"><!--
var threadParams = { servl:"${webimroot}/thread.php",wroot:"${webimroot}",frequency:2,${if:user}user:"true",${endif:user}threadid:${page:ct.chatThreadId},token:${page:ct.token} }; var threadParams = { servl:"${webimroot}/thread.php",wroot:"${webimroot}",frequency:2,${if:user}user:"true",${endif:user}threadid:${page:ct.chatThreadId},token:${page:ct.token} };
//--></script> //--></script>
<script type="text/javascript" language="javascript" src="${webimroot}/js/chat.js?v=152"></script> <script type="text/javascript" language="javascript" src="${webimroot}/js/chat.js?v=160a1"></script>
</head> </head>
<style> <style>

View File

@ -5,7 +5,7 @@
<link rel="shortcut icon" href="${webimroot}/images/favicon.ico" type="image/x-icon"/> <link rel="shortcut icon" href="${webimroot}/images/favicon.ico" type="image/x-icon"/>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1251"> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1251">
<link rel="stylesheet" type="text/css" href="${webimroot}/chat.css" /> <link rel="stylesheet" type="text/css" href="${webimroot}/chat.css" />
<script type="text/javascript" language="javascript" src="${webimroot}/js/brws.js?v=152"></script> <script type="text/javascript" language="javascript" src="${webimroot}/js/brws.js?v=160a1"></script>
</head> </head>
<body bgcolor="#FFFFFF" text="#000000" link="#C28400" vlink="#C28400" alink="#C28400" marginwidth="0" marginheight="0" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0"> <body bgcolor="#FFFFFF" text="#000000" link="#C28400" vlink="#C28400" alink="#C28400" marginwidth="0" marginheight="0" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0">

View File

@ -5,12 +5,12 @@
<link rel="shortcut icon" href="${webimroot}/images/favicon.ico" type="image/x-icon"/> <link rel="shortcut icon" href="${webimroot}/images/favicon.ico" type="image/x-icon"/>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1251"> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1251">
<link rel="stylesheet" type="text/css" href="${webimroot}/chat.css" /> <link rel="stylesheet" type="text/css" href="${webimroot}/chat.css" />
<script type="text/javascript" language="javascript" src="${webimroot}/js/common.js?v=152"></script> <script type="text/javascript" language="javascript" src="${webimroot}/js/common.js?v=160a1"></script>
<script type="text/javascript" language="javascript" src="${webimroot}/js/brws.js?v=152"></script> <script type="text/javascript" language="javascript" src="${webimroot}/js/brws.js?v=160a1"></script>
<script language="javascript"><!-- <script language="javascript"><!--
var threadParams = { servl:"${webimroot}/thread.php",wroot:"${webimroot}",frequency:2,${if:user}user:"true",${endif:user}threadid:${page:ct.chatThreadId},token:${page:ct.token} }; var threadParams = { servl:"${webimroot}/thread.php",wroot:"${webimroot}",frequency:2,${if:user}user:"true",${endif:user}threadid:${page:ct.chatThreadId},token:${page:ct.token} };
//--></script> //--></script>
<script type="text/javascript" language="javascript" src="${webimroot}/js/chat.js?v=152"></script> <script type="text/javascript" language="javascript" src="${webimroot}/js/chat.js?v=160a1"></script>
</head> </head>
<style> <style>
.tplimage { .tplimage {

View File

@ -5,7 +5,7 @@
<link rel="shortcut icon" href="${webimroot}/images/favicon.ico" type="image/x-icon"/> <link rel="shortcut icon" href="${webimroot}/images/favicon.ico" type="image/x-icon"/>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1251"> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1251">
<link rel="stylesheet" type="text/css" href="${webimroot}/chat.css" /> <link rel="stylesheet" type="text/css" href="${webimroot}/chat.css" />
<script type="text/javascript" language="javascript" src="${webimroot}/js/brws.js?v=152"></script> <script type="text/javascript" language="javascript" src="${webimroot}/js/brws.js?v=160a1"></script>
</head> </head>
<body bgcolor="#FFFFFF" background="${tplroot}/images/bg.gif" text="#000000" link="#C28400" vlink="#C28400" alink="#C28400" marginwidth="0" marginheight="0" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0"> <body bgcolor="#FFFFFF" background="${tplroot}/images/bg.gif" text="#000000" link="#C28400" vlink="#C28400" alink="#C28400" marginwidth="0" marginheight="0" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0">

View File

@ -19,7 +19,7 @@ $page['menuid'] = "users";
function tpl_header() { global $page, $webimroot; function tpl_header() { global $page, $webimroot;
?> ?>
<script type="text/javascript" language="javascript" src="<?php echo $webimroot ?>/js/common.js?v=152"></script> <script type="text/javascript" language="javascript" src="<?php echo $webimroot ?>/js/common.js?v=160a1"></script>
<script type="text/javascript" language="javascript"><!-- <script type="text/javascript" language="javascript"><!--
var localized = new Array( var localized = new Array(
"<?php echo getlocal("pending.table.speak") ?>", "<?php echo getlocal("pending.table.speak") ?>",
@ -33,7 +33,7 @@ var updaterOptions = {
agentservl:"<?php echo $webimroot ?>/operator/agent.php", agentservl:"<?php echo $webimroot ?>/operator/agent.php",
noclients:"<?php echo getlocal("clients.no_clients") ?>" }; noclients:"<?php echo getlocal("clients.no_clients") ?>" };
//--></script> //--></script>
<script type="text/javascript" language="javascript" src="<?php echo $webimroot ?>/js/users.js?v=152"></script> <script type="text/javascript" language="javascript" src="<?php echo $webimroot ?>/js/users.js?v=160a1"></script>
<?php <?php
} }