From 970038e8370a7b2e79a8bc932e47431056b04513 Mon Sep 17 00:00:00 2001 From: Evgeny Gryaznov Date: Mon, 29 Sep 2008 16:14:35 +0000 Subject: [PATCH] clean old git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@107 c66351dc-e62f-0410-b875-e3a5c0b9693f --- src/messenger/webim/.project | 22 ------------------- .../org.eclipse.core.resources.prefs | 4 ---- .../org.eclipse.php.core.projectOptions.prefs | 5 ----- src/messenger/webim/js/brws.js | 1 - src/messenger/webim/js/common.js | 1 - src/messenger/webim/js/page_chat2.js | 1 - .../webim/js/page_pendingclients2.js | 1 - 7 files changed, 35 deletions(-) delete mode 100644 src/messenger/webim/.project delete mode 100644 src/messenger/webim/.settings/org.eclipse.core.resources.prefs delete mode 100644 src/messenger/webim/.settings/org.eclipse.php.core.projectOptions.prefs delete mode 100644 src/messenger/webim/js/brws.js delete mode 100644 src/messenger/webim/js/common.js delete mode 100644 src/messenger/webim/js/page_chat2.js delete mode 100644 src/messenger/webim/js/page_pendingclients2.js diff --git a/src/messenger/webim/.project b/src/messenger/webim/.project deleted file mode 100644 index f9dce8ae..00000000 --- a/src/messenger/webim/.project +++ /dev/null @@ -1,22 +0,0 @@ - - - litemessenger - - - - - - org.eclipse.php.core.PhpIncrementalProjectBuilder - - - - - org.eclipse.wst.validation.validationbuilder - - - - - - org.eclipse.php.core.PHPNature - - diff --git a/src/messenger/webim/.settings/org.eclipse.core.resources.prefs b/src/messenger/webim/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index f07c7fc4..00000000 --- a/src/messenger/webim/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,4 +0,0 @@ -#Tue May 06 09:44:51 CEST 2008 -eclipse.preferences.version=1 -encoding//locales/ru/properties=cp1251 -encoding/INSTALL_RUS.txt=cp1251 diff --git a/src/messenger/webim/.settings/org.eclipse.php.core.projectOptions.prefs b/src/messenger/webim/.settings/org.eclipse.php.core.projectOptions.prefs deleted file mode 100644 index 686586eb..00000000 --- a/src/messenger/webim/.settings/org.eclipse.php.core.projectOptions.prefs +++ /dev/null @@ -1,5 +0,0 @@ -#Thu Dec 13 00:56:02 MSK 2007 -eclipse.preferences.version=1 -org.eclipse.php.core.contextRoot= -org.eclipse.php.core.defaultEncoding= -org.eclipse.php.core.includePath=\n\n\n diff --git a/src/messenger/webim/js/brws.js b/src/messenger/webim/js/brws.js deleted file mode 100644 index 349f9333..00000000 --- a/src/messenger/webim/js/brws.js +++ /dev/null @@ -1 +0,0 @@ -var myAgent="";var cj=0;var myRealAgent="";function vj(){var wj=["o\u0070e\u0072\141","\155s\151\145","\u0073afa\162i","firefox","\156e\164\u0073cape","moz\u0069ll\141"];var _i=navigator.userAgent.toLowerCase();for(var i=0;i=0310&&iq.status<(227+73)){var jq=iq.responseXML;if(jq&&jq.documentElement)return jq.documentElement;} return null;} ,kq:function(iq){return iq.statusText||"\143\u006fn\156e\u0063ti\u006f\u006e\u0020\145\162\u0072\u006f\162 \116"+iq.status;} ,lq:function(){} } ;tq.oq=function(){} ;tq.oq.prototype={pq:function(dq){this.dq={eq:'po\163\u0074',fq:true,gq:''} .hn(dq||{} );} ,aq:function(){return this.bq.status==undefined ||this.bq.status==0 ||(this.bq.status>=0310&&this.bq.status<0454);} ,cq:function(){return!this.aq();} } ;tq.vq=mn.nn();tq.vq.wq=['\u0055\156\151\156it\151alized','\u004c\u006fad\u0069\156\147','\u004c\u006f\u0061\144ed','\u0049\156te\u0072\u0061\143\u0074i\166\145','\u0043o\u006d\160\154\u0065\164\u0065'];mn.sn(tq.vq,tq.oq,{qn:function(url,dq){this.bq=tq.uq();this.pq(dq);this.xq(url);} ,xq:function(url){var gq=this.dq.gq||'';if(gq.length>0)gq+='\046_\075';try{if(this.dq.eq=='\147\u0065\164'&&gq.length>0)url+='?'+gq;this.bq.open(this.dq.eq,url,this.dq.fq);if(this.dq.fq){this.bq.onreadystatechange=this.yq.pn(this);setTimeout((function(){this.zq(1)} ).pn(this),(6+4));} this.$q();var _q=this.dq.mr?this.dq.mr:gq;this.bq.send(this.dq.eq=='\u0070o\u0073\164'?_q:null);} catch(e){this.nr(e);} } ,$q:function(){var qr=['X\055\u0052\145\161u\u0065\u0073\u0074\145\u0064\u002d\u0057i\164h','\130M\u004c\u0048\164\u0074\u0070Req\165es\u0074'];if(this.dq.eq=='p\u006f\163\164'){qr._n('\u0043\157\156\164ent-t\u0079\u0070\145','\u0061\u0070pl\u0069c\u0061\u0074\u0069o\u006e/x\055\u0077\167\u0077\u002d\146\u006frm\u002d\u0075\u0072len\u0063oded');if(this.bq.overrideMimeType)qr._n('\u0043\u006f\156n\u0065\143\u0074\151o\156','c\154os\145');} if(this.dq.qr)qr._n.rn(qr,this.dq.qr);for(var i=0;i-1){var wr=token.split('#');var xr=wr[0];var id=wr[1];var element=document.getElementById(id);if(element==null||xr&&element.nodeName.toLowerCase()!=xr){return new Array();} vr=new Array(element);continue;} if(token.indexOf('\056')>-1){var wr=token.split('\u002e');var xr=wr[0];var yr=wr[1];if(!xr){xr='*';} var zr=new Array;var $r=0;for(var h=0;h");zs.write("\074\164a\u0062le\040\u0077\u0069\144\u0074h\u003d'\0610\060\u0025'\u0020cel\u006c\u0073p\141c\151\u006e\147='\u0030'\u0020\u0063\u0065l\u006c\160\u0061\u0064\144\151\156\147\075'0' \u0062\u006fr\144\145r='\060'\u003e\u003ctr\076<\164\u0064\040\u0076a\u006ci\u0067\156='to\u0070'\u0020\u0063\u006c\141\163\163='\155e\163\163a\u0067\u0065' \151\u0064='\143o\156\u0074\145n\u0074'>\074\u002f\164d\076<\057\164\162>\u003c\057\164\141\142\u006c\u0065\076<\u0061\040i\144\075'\u0062\u006ft\u0074\157\u006d'/\u003e");zs.write("<\057\u0062od\171><\u002fhtml\u003e");zs.close();xs.onload=function(){if(xs.mt){vs.ws(xs).getElementById('cont\145\u006et').innerHTML+=xs.mt;vs.nt(xs);} } ;} ,qt:function(xs,rt){var st=this.ws(xs).getElementById('c\157n\u0074\u0065\u006e\164');if(st==null){if(!xs.mt)xs.mt="";xs.mt+=rt;} else{st.innerHTML+=rt;} } ,nt:function(xs){var tt=this.ws(xs).getElementById('bot\u0074\u006f\u006d');if(myAgent=='o\u0070\145r\141'){xs.contentWindow.scrollTo(0,this.ws(xs).getElementById('\143\157\u006e\u0074\u0065\u006e\164').clientHeight);} else if(tt)tt.scrollIntoView(false);} } ;tq.ut=mn.nn();mn.sn(tq.ut,tq.oq,{qn:function(dq){this.pq(dq);this.dq.onComplete=this.ht.pn(this);this.dq.hr=this.it.pn(this);this.jt={} ;this.frequency=(this.dq.frequency||2);this.kt=true;vs.ys(this.dq.lt);if(this.dq.ot){this.dq.ot.onkeydown=this.pt.pn(this);this.dq.ot.onfocus=(function(){this.dt=true;} ).pn(this);this.dq.ot.onblur=(function(){this.dt=false;} ).pn(this)} this.et();} ,it:function(ft,gt){this.at(gt.name+" \157c\143\u0075red:\040"+gt.ot);this.bt();this.ct=setTimeout(this.et.pn(this),this.frequency*01750);} ,vt:function(wt){this.dq.gq='\141\143\164='+wt+'&\164h\162ead\u003d'+(this.dq.threadid||-1)+'&t\157\u006b\145n\u003d'+(this.dq.token||0)+'&la\u0073\164\u0069\144='+(this.dq.xt||0);if(this.dq.user)this.dq.gq+="&u\163\145\u0072=t\162\165\145";if(wt=='\162\u0065\146\u0072\145\u0073\150'&&this.dq.ot&&this.dq.ot.value!='')this.dq.gq+="\u0026\164\171\u0070\u0065d=1";} ,yt:function(zt){if(this.dq.ot)this.dq.ot.disabled=!zt;} ,bt:function(){this.yt(true);if(this.jt.dq)this.jt.dq.onComplete=undefined;clearTimeout(this.ct);} ,et:function(){this.vt("\u0072e\146resh");this.jt=new tq.vq(this.dq.servl,this.dq);} ,ht:function(iq){this.yt(true);this.kt=true;var $t=tq.hq(iq);if($t&&$t.tagName=='t\u0068\u0072e\u0061\u0064'){this._t($t);} else{this.mu(iq,$t,'\162\145fr\145\u0073\150\040\155\145ssa\u0067\145s\040\146a\151\154\145d');} this.ct=setTimeout(this.et.pn(this),this.frequency*01750);} ,nu:function(qu){if(qu==""||!this.kt){return;} this.kt=false;this.bt();this.vt("\u0070o\163\u0074");var ru={} .hn(this.dq);ru.gq+="\u0026\u006d\u0065\u0073\163\u0061g\145\075"+encodeURIComponent(qu);ru.onComplete=(function(su){this.ht(su);if(this.dq.ot){this.dq.ot.value='';this.dq.ot.focus();} } ).pn(this);if(myRealAgent!='op\u0065\162\141')this.yt(false);this.jt=new tq.vq(this.dq.servl,ru);} ,tu:function(uu){new tq.vq(this.dq.servl,{gq:'\u0061\u0063\u0074\075\u0072\u0065\156a\155\u0065&\u0074h\u0072\145a\u0064\075'+(this.dq.threadid||-1)+'&toke\156\u003d'+(this.dq.token||0)+'&na\u006de='+encodeURIComponent(uu)} );} ,hu:function(iq){var $t=tq.hq(iq);if($t&&$t.tagName=='\143\u006co\u0073e\144'){setTimeout('w\151n\u0064ow\u002e\u0063lo\u0073e(\051',(1287+713));} else{this.mu(iq,$t,'can\u006eo\164\040cl\157se');} } ,iu:function(){var ju='\u0061\143\u0074\075cl\u006fse&\164\150\u0072e\141d='+(this.dq.threadid||-1)+'&\164\157ke\156='+(this.dq.token||0);if(this.dq.user)ju+="&u\163\u0065\u0072=\u0074\162\u0075e";new tq.vq(this.dq.servl,{gq:ju,onComplete:this.hu.pn(this)} );} ,ku:function(lu,ot){var ou=ms.ss(ot);vs.qt(lu,ou);} ,pu:function(du){if($("\u0074yp\u0069ngdi\166")){$("\u0074\171\u0070\u0069\156\147\u0064i\u0076").style.display=du?'i\u006e\154\u0069\u006e\145':'\u006e\157\u006ee';} } ,eu:function(fu){var gu=ms.ss(fu);if(this.dq.fu&&this.dq.user){this.dq.fu.innerHTML=gu!=""?"<\151m\147\040\163r\u0063=\""+$s._s+"/\151\155\141\u0067es\u002f\u0066\u0072\u0065e\u002e\147\151\u0066\"\040w\151\144\u0074h=\"7\"\u0020h\145ight\u003d\"\u0031\" b\157\162de\u0072\075\"\u0030\"\u0020\u0061l\u0074\u003d\"\"\u0020\u002f>\074im\u0067\u0020s\162c\075\""+gu+"\" \u0062\157rd\145\u0072\u003d\"0\" a\154t=\"\"/\076":"";} } ,_t:function($t){var au=false;var bu=this.dq.lt;var cu=ms.is($t,"la\163\u0074\151\u0064");if(cu){this.dq.xt=cu;} var vu=ms.is($t,"\164\171p\151n\147");if(vu){this.pu(vu=='\u0031');} for(var i=0;i<$t.childNodes.length;i++){var wu=$t.childNodes[i];if(wu.tagName=='m\145s\163a\u0067e'){au=true;this.ku(bu,wu);} else if(wu.tagName=='a\u0076\141\u0074\141r'){this.eu(wu);} } if(au){vs.nt(this.dq.lt);if(!this.dt)window.focus();} } ,pt:function(k){if(k){xu=k.ctrlKey;k=k.which;} else{k=event.keyCode;xu=event.ctrlKey;} if(this.dq.ot&&((k==015&&(xu||myRealAgent=='\u006fpe\u0072a'))||(k==012))){var yu=this.dq.ot.value;if(myRealAgent=='ope\162\u0061'){yu=yu.replace(/[\r\n]+$/,'');} this.nu(yu);return false;} return true;} ,mu:function(iq,$t,zu){if($t&&$t.tagName=='\145r\u0072or'){this.at(ms.ns($t,"d\u0065\163\143r"));} else{this.at(zu+'\u002c\u0020'+tq.kq(iq));} } ,at:function(k){if(this.$u)clearTimeout(this.$u);window.status=k;this.$u=setTimeout(this._u.pn(this),0xfa0);} ,_u:function(){window.status="";} } );mh=mn.nn();mh.prototype={qn:function(dq){this.dq=dq;this.nh=0;if(this.dq.qh&&this.dq.rh&&this.dq.sh){this.dq.sh.onmousedown=this.th.pn(this);this.dq.sh.onmouseup=this.uh.pn(this);this.dq.sh.onmousemove=this.hh.pn(this);} } ,th:function(e){var kr=e||event;if(this.dq.sh.setCapture)this.dq.sh.setCapture();this.ih=this.dq.qh.style.pixelHeight||this.dq.qh.clientHeight;this.jh=kr.screenY;this.dq.kh=this.dq.qh.style.pixelHeight+this.dq.rh.clientHeight-this.dq.lh;this.nh=1;} ,uh:function(){if(this.nh){if(this.dq.sh.releaseCapture)this.dq.sh.releaseCapture();this.nh=0;} } ,hh:function(e){var kr=e||event;if(this.nh){var oh=this.ih-(kr.screenY-this.jh);if(oh>this.dq.kh)oh=this.dq.kh;else if(oh';} ,xh:function(os,yh){os.deleteRow(yh+2);os.deleteRow(yh+1);os.deleteRow(yh);} ,zh:function(os,yh){var $h=os.insertRow(yh);var cs=$h.insertCell(-1);cs.colSpan=(8+5);cs.height=2;$h=os.insertRow(yh);cs=$h.insertCell(-1);cs.colSpan=015;cs.style.backgroundColor='\u0023\105\u0031\1051\u0045\u0031';cs.innerHTML='\074\151\u006d\147 \163\u0072c="'+_s+'\057\u0069\155\u0061\147\145s/\u0066r\u0065\145\056gi\u0066"\u0020\167idt\u0068="\u0031"\u0020h\145\151\147\u0068t\u003d"1" bo\162\144\145\162\075"\060"\040a\154t=""\u003e';$h=os.insertRow(yh);cs=$h.insertCell(-1);cs.colSpan=(12+1);cs.height=2;} ,_h:function(link,title,mi,ni,width,height){return'\u003c\141\u0020h\162\145f\u003d"'+link+'" t\u0061r\u0067e\u0074="\137\142lan\153"\040ti\u0074\154\u0065\u003d"'+title+'"\040o\156c\u006c\151ck="\u0074\150\u0069\u0073.\156ew\u0057i\u006e\u0064o\u0077\u0020\075\040w\u0069n\u0064o\u0077\056\u006f\160e\156\u0028\''+link+'\'\054\u0020\''+mi+'\'\054 \'t\157\157\154b\141\162\u003d\u0030\u002c\163\u0063ro\u006clb\141rs\u003d\060\u002c\154o\u0063a\u0074i\157\156=0,\u0073t\u0061\u0074u\163\u003d\u0031,\u006d\145nu\142ar=\060,\u0077\151\144t\u0068\075'+width+',h\145i\u0067\u0068\164='+height+',\u0072es\151\u007a\141b\u006c\u0065\0751\'\u0029;t\u0068i\163\u002en\u0065\u0077\u0057i\156\144\u006f\167\u002ef\157\u0063u\163\u0028)\073t\u0068\u0069\163\056\156ew\u0057\u0069\u006e\u0064ow\056ope\156\145r=\167ind\u006fw;r\u0065\164\165\162n\040\146al\u0073\u0065;"\076'+ni+'\u003c/\141\u003e';} ,qi:function(content){return'<\164abl\u0065 w\u0069\144\u0074h\075"\u003100\045" \u0063\u0065l\154\163\u0070\141\u0063\151n\147\075"0" \143\145\u006cl\160\141\u0064\144i\156\147\u003d"0"\u0020bo\162d\145r\075"0">\u003c\164\u0072\u003e'+content+'\u003c\057\164\u0072>\u003c\057\u0074a\142l\u0065>';} ,ri:function(si,ti,id,ui,hi,ii,ot){var ji=2;var link=ti+"\077\164\u0068\u0072e\u0061\144="+id;var ki=(ii=="\146u\154l")?"<\151\040st\u0079le='co\154\157\u0072:#aaa\141\141\u0061\u003b'\076"+si+"\u003c/\u0069>":((ii=="o\164\u0068\u0065\162")?"<\u0069>"+si+"\074/i>":si);var li='\074\u0069\u006d\u0067 s\162\143\075"'+_s+'/\151\155\u0061\u0067\145s\u002ff\u0072ee.\u0067if" w\u0069d\164h="5"\040\u0068ei\147ht\075"\061" b\157\u0072\u0064\145r="\u0030" a\154t\075"">\u003c\057\164\u0064\u003e';if(hi){li+='';li+=vh._h(link,localized[0],"\u0049\155\u0043e\156te\u0072"+id,'<\151mg src\075"'+_s+'\057im\u0061\147\145\163/\u0074\u0062\154\u0069\143\u006c\163\160ea\u006b.gi\146"\040\u0077idt\150\075"\0615" \u0068e\u0069\u0067\u0068\164\075"15" \142\157r\u0064e\u0072\075"\060" alt\075"'+localized[0]+'">',01130,0644);li+='\074/\u0074\u0064\076';ji++;} return vh.qi(li);} } ;tq.oi=mn.nn();mn.sn(tq.oi,tq.oq,{qn:function(dq){this.pq(dq);this.dq.ch=this.ch.pn(this);this.dq.mu=this.mu.pn(this);this.dq._t=this._t.pn(this);this.dq.pi=0;this.di=new Object();this.ei=0;this.t=this.dq.fi;this.gi=new tq.bh(this.dq);} ,ch:function(){return"\143ompa\156y\075"+this.dq.company+"\046\163i\u006ec\u0065="+this.dq.pi;} ,at:function(qu){this.dq.status.innerHTML=qu;} ,mu:function(s){this.at(s);} ,ai:function(wu){var id,bi,ci,ui=false,hi=false,ii=null;for(var i=0;i=rj.rowIndex)){vh.xh(this.t,$h.rowIndex+1);this.t.deleteRow($h.rowIndex);this.di[id]=null;$h=null;} if($h==null){$h=this.t.insertRow(qj.rowIndex+1);vh.zh(this.t,qj.rowIndex+2);$h.id="\164\150\162"+id;this.di[id]=new Array($i,mj,bi);js.insertCell($h,"n\u0061\155\145","\u0074ab\154\145",null,(19+11),vh.ri(yi,this.dq.agentservl,id,ui,hi,ii,ot));vh.wh($h);js.insertCell($h,"\u0063on\164\u0069d","\164\u0061\u0062\154e","c\u0065\u006eter",null,zi);vh.wh($h);js.insertCell($h,"\163\u0074a\u0074\u0065","ta\u0062\u006c\u0065","ce\156\u0074\145\162",null,ci);vh.wh($h);js.insertCell($h,"\157\u0070","t\u0061b\u006ce","ce\156te\u0072",null,_i);vh.wh($h);js.insertCell($h,"\164\u0069me","\u0074\u0061b\154e","\u0063e\156\u0074e\162",null,this.sj($i));vh.wh($h);js.insertCell($h,"wa\u0069\u0074","\u0074\u0061\142le","cen\164e\162",null,(bi!='\u0063\u0068a\u0074'?this.sj(mj):'\055'));vh.wh($h);js.insertCell($h,"\145t\u0063","table","ce\u006ete\162",null,nj);if(bi=='\167\141it'||bi=='\u0070r\151o')return true;} else{this.di[id]=new Array($i,mj,bi);wi(this.t,$h,"nam\145",vh.ri(yi,this.dq.agentservl,id,ui,hi,ii,ot));wi(this.t,$h,"c\157n\164\151d",zi);wi(this.t,$h,"s\164a\164\145",ci);wi(this.t,$h,"o\u0070",_i);wi(this.t,$h,"\164\151m\145",this.sj($i));wi(this.t,$h,"wa\151\u0074",(bi!='c\u0068\141\164'?this.sj(mj):'-'));wi(this.t,$h,"\u0065\u0074\u0063",nj);} return false;} ,tj:function(){function uj(t,id,hj){var qj=t.rows[id];var rj=t.rows[id+"e\156\u0064"];if(qj==null||rj==null)return;var ij=rj.cells["stat\165s"];if(ij==null)return;ij.innerHTML=(qj.rowIndex+1==rj.rowIndex)?hj:"";ij.height=(qj.rowIndex+1==rj.rowIndex)?(22+8):(9+1);} uj(this.t,"w\u0061\u0069\164",this.dq.noclients);uj(this.t,"\u0070ri\u006f",this.dq.noclients);uj(this.t,"ch\141\164",this.dq.noclients);} ,sj:function(jj){var kj=Math.floor(((new Date()).getTime()-jj-this.ei)/01750);var lj=Math.floor(kj/(45+15));var oj="";kj=kj%(53+7);if(kj<(7+3))kj="0"+kj;if(lj>=074){var pj=Math.floor(lj/(48+12));lj=lj%(53+7);if(lj<012)lj="0"+lj;oj=pj+"\u003a";} return oj+lj+"\072"+kj;} ,dj:function(){for(var i in this.di){if(this.di[i]!=null){var value=this.di[i];var $h=js.ks("\164h\u0072"+i,this.t);if($h!=null){function wi(os,$h,id,xi){var cs=js.ds(id,$h,os);if(cs)cs.innerHTML=xi;} wi(this.t,$h,"\u0074i\u006d\u0065",this.sj(value[0]));wi(this.t,$h,"\u0077a\u0069\164",(value[2]!='c\150\u0061t'?this.sj(value[1]):'\u002d'));} } } } ,_t:function(ej){var fj=ej.documentElement;var gj=false;if(fj.tagName=='t\u0068\u0072\u0065a\144s'){var aj=ms.is(fj,"\u0074i\u006d\145");var bj=ms.is(fj,"re\u0076i\u0073io\156");if(aj)this.ei=(new Date()).getTime()-aj;if(bj)this.dq.pi=bj;for(var i=0;i