442. File Comparison Report

Produced on Mon May 12 13:06:04 2008 UTC. This report uses XHTML and CSS2, and is best viewed with a reasonably standards compliant browser such as the latest version of Firefox or Internet Explorer. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

442.1 Files compared

# Location File Last Modified
1 Dolphin-v.6.0.5\plugins\tiny_mce\plugins\flash\jscripts flash.js Thu Sep 20 08:59:08 2007 UTC
2 Mon May 12 13:06:04 2008 UTC

442.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 0 0
Changed 0 0
Inserted 0 0
Removed 1 107

442.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

442.4 Active regular expressions

No regular expressions were active.

442.5 Comparison detail

1   var url =  tinyMCE.ge tParam("fl ash_extern al_list_ur l");    
2   if (url !=  null) {    
3       // Fix  relative    
4       if (ur l.charAt(0 ) != '/' & & url.inde xOf('://')  == -1)    
5           ur l = tinyMC E.document BasePath +  "/" + url ;    
6      
7       docume nt.write(' <sc'+'ript  language= "javascrip t" type="t ext/javasc ript" src= "' + url +  '"></sc'+ 'ript>');    
8   }    
9      
10   function i nit() {    
11       tinyMC EPopup.res izeToInner Size();    
12      
13       docume nt.getElem entById("f ilebrowser container" ).innerHTM L = getBro wserHTML(' filebrowse r','file', 'flash','f lash');    
14      
15       // Ima ge list ou tsrc    
16       var ht ml = getFl ashListHTM L('filebro wser','fil e','flash' ,'flash');    
17       if (ht ml == "")    
18           do cument.get ElementByI d("linklis trow").sty le.display  = 'none';    
19       else    
20           do cument.get ElementByI d("linklis tcontainer ").innerHT ML = html;    
21      
22       var fo rmObj = do cument.for ms[0];    
23       var sw ffile   =  tinyMCE.ge tWindowArg ('swffile' );    
24       var sw fwidth  =  '' + tinyM CE.getWind owArg('swf width');    
25       var sw fheight =  '' + tinyM CE.getWind owArg('swf height');    
26      
27       if (sw fwidth.ind exOf('%')! =-1) {    
28           fo rmObj.widt h2.value =  "%";    
29           fo rmObj.widt h.value  =  swfwidth. substring( 0,swfwidth .length-1) ;    
30       } else  {    
31           fo rmObj.widt h2.value =  "px";    
32           fo rmObj.widt h.value  =  swfwidth;    
33       }    
34      
35       if (sw fheight.in dexOf('%') !=-1) {    
36           fo rmObj.heig ht2.value  = "%";    
37           fo rmObj.heig ht.value   = swfheigh t.substrin g(0,swfhei ght.length -1);    
38       } else  {    
39           fo rmObj.heig ht2.value  = "px";    
40           fo rmObj.heig ht.value   = swfheigh t;    
41       }    
42      
43       formOb j.file.val ue = swffi le;    
44       formOb j.insert.v alue = tin yMCE.getLa ng('lang_'  + tinyMCE .getWindow Arg('actio n'), 'Inse rt', true) ;    
45      
46       select ByValue(fo rmObj, 'li nklist', s wffile);    
47      
48       // Han dle file b rowser    
49       if (is Visible('f ilebrowser '))    
50           do cument.get ElementByI d('file'). style.widt h = '230px ';    
51      
52       // Aut o select f lash in li st    
53       if (ty peof(tinyM CEFlashLis t) != "und efined" &&  tinyMCEFl ashList.le ngth > 0)  {    
54           fo r (var i=0 ; i<formOb j.linklist .length; i ++) {    
55                if (form Obj.linkli st.options [i].value  == tinyMCE .getWindow Arg('swffi le'))    
56                    form Obj.linkli st.options [i].select ed = true;    
57           }    
58       }    
59   }    
60      
61   function g etFlashLis tHTML() {    
62       if (ty peof(tinyM CEFlashLis t) != "und efined" &&  tinyMCEFl ashList.le ngth > 0)  {    
63           va r html = " ";    
64      
65           ht ml += '<se lect id="l inklist" n ame="linkl ist" style ="width: 2 50px" onfo cus="tinyM CE.addSele ctAccessib ility(even t, this, w indow);" o nchange="t his.form.f ile.value= this.optio ns[this.se lectedInde x].value;" >';    
66           ht ml += '<op tion value ="">---</o ption>';    
67      
68           fo r (var i=0 ; i<tinyMC EFlashList .length; i ++)    
69                html +=  '<option v alue="' +  tinyMCEFla shList[i][ 1] + '">'  + tinyMCEF lashList[i ][0] + '</ option>';    
70      
71           ht ml += '</s elect>';    
72      
73           re turn html;    
74       }    
75      
76       return  "";    
77   }    
78      
79   function i nsertFlash () {    
80       var fo rmObj = do cument.for ms[0];    
81       var ht ml      =  '';    
82       var fi le      =  formObj.fi le.value;    
83       var wi dth     =  formObj.wi dth.value;    
84       var he ight    =  formObj.he ight.value ;    
85       if (fo rmObj.widt h2.value== '%') {    
86           wi dth = widt h + '%';    
87       }    
88       if (fo rmObj.heig ht2.value= ='%') {    
89           he ight = hei ght + '%';    
90       }    
91      
92       if (wi dth == "")    
93           wi dth = 100;    
94      
95       if (he ight == "" )    
96           he ight = 100 ;    
97      
98       html + = ''    
99           +  '<img src= "' + (tiny MCE.getPar am("theme_ href") + " /images/sp acer.gif")  + '" mce_ src="' + ( tinyMCE.ge tParam("th eme_href")  + "/image s/spacer.g if") + '"  '    
100           +  'width="'  + width +  '" height= "' + heigh t + '" '    
101           +  'border="0 " alt="' +  file + '"  title="'  + file + ' " class="m ceItemFlas h" />';    
102      
103       tinyMC EPopup.exe cCommand(" mceInsertC ontent", t rue, html) ;    
104       tinyMC E.selected Instance.r epaint();    
105      
106       tinyMC EPopup.clo se();    
107   }