635. File Comparison Report

Produced on Mon May 12 13:06:30 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.

635.1 Files compared

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

635.2 Comparison summary

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

635.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

635.4 Active regular expressions

No regular expressions were active.

635.5 Comparison detail

1   var url =  tinyMCE.ge tParam("ex ternal_lin k_list_url ");    
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('h refbrowser container' ).innerHTM L = getBro wserHTML(' hrefbrowse r','href', 'file','th eme_advanc ed_link');    
14      
15       // Han dle file b rowser    
16       if (is Visible('h refbrowser '))    
17           do cument.get ElementByI d('href'). style.widt h = '180px ';    
18      
19       var fo rmObj = do cument.for ms[0];    
20      
21       for (v ar i=0; i< document.f orms[0].ta rget.optio ns.length;  i++) {    
22           va r option =  document. forms[0].t arget.opti ons[i];    
23      
24           if  (option.v alue == ti nyMCE.getW indowArg(' target'))    
25                option.s elected =  true;    
26       }    
27      
28       docume nt.forms[0 ].href.val ue = tinyM CE.getWind owArg('hre f');    
29       docume nt.forms[0 ].linktitl e.value =  tinyMCE.ge tWindowArg ('title');    
30       docume nt.forms[0 ].insert.v alue = tin yMCE.getLa ng('lang_'  + tinyMCE .getWindow Arg('actio n'), 'Inse rt', true)    
31      
32       addCla ssesToList ('styleSel ect', 'the me_advance d_link_sty les');    
33       select ByValue(fo rmObj, 'st yleSelect' , tinyMCE. getWindowA rg('classN ame'), tru e);    
34      
35       // Hid e css sele ct row if  no CSS cla sses    
36       if (fo rmObj.styl eSelect &&  formObj.s tyleSelect .options.l ength <= 1 ) {    
37           va r sr = doc ument.getE lementById ('styleSel ectRow');    
38           sr .style.dis play = 'no ne';    
39           sr .parentNod e.removeCh ild(sr);    
40       }    
41      
42       // Aut o select l ink in lis t    
43       if (ty peof(tinyM CELinkList ) != "unde fined" &&  tinyMCELin kList.leng th > 0) {    
44           va r formObj  = document .forms[0];    
45      
46           fo r (var i=0 ; i<formOb j.link_lis t.length;  i++) {    
47                if (form Obj.link_l ist.option s[i].value  == tinyMC E.getWindo wArg('href '))    
48                    form Obj.link_l ist.option s[i].selec ted = true ;    
49           }    
50       }    
51   }    
52      
53   function c heckPrefix (n) {    
54       if (Va lidator.is Email(n) & & !/^\s*ma ilto:/i.te st(n.value ) && confi rm(tinyMCE .getLang(' lang_is_em ail')))    
55           n. value = 'm ailto:' +  n.value;    
56      
57       if (/^ \s*www./i. test(n.val ue) && con firm(tinyM CE.getLang ('lang_is_ external') ))    
58           n. value = 'h ttp://' +  n.value;    
59   }    
60      
61   function i nsertLink( ) {    
62       var hr ef = docum ent.forms[ 0].href.va lue;    
63       var ta rget = doc ument.form s[0].targe t.options[ document.f orms[0].ta rget.selec tedIndex]. value;    
64       var ti tle = docu ment.forms [0].linkti tle.value;    
65       var st yle_class  = document .forms[0]. styleSelec t ? docume nt.forms[0 ].styleSel ect.value  : "";    
66       var du mmy;    
67      
68       if (ta rget == '_ self')    
69           ta rget = '';    
70      
71       tinyMC EPopup.res toreSelect ion();    
72       tinyMC E.themes[' advanced'] ._insertLi nk(href, t arget, tit le, dummy,  style_cla ss);    
73       tinyMC EPopup.clo se();    
74   }