394. File Comparison Report

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

394.1 Files compared

# Location File Last Modified
1 Dolphin-v.6.0.5\plugins\tiny_mce\plugins\advlink editor_plugin.js Thu Sep 20 08:59:06 2007 UTC
2 Dolphin-v.6.1.0\plugins\tiny_mce\plugins\advlink editor_plugin.js Thu Mar 27 13:53:26 2008 UTC

394.2 Comparison summary

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

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

394.4 Active regular expressions

No regular expressions were active.

394.5 Comparison detail

1   tinyMCE.im portPlugin LanguagePa ck('advlin k');var Ti nyMCE_Adva ncedLinkPl ugin={getI nfo:functi on(){retur n{longname :'Advanced  link',aut hor:'Moxie code Syste ms AB',aut horurl:'ht tp://tinym ce.moxieco de.com',in fourl:'htt p://wiki.m oxiecode.c om/index.p hp/TinyMCE :Plugins/a dvlink',ve rsion:tiny MCE.majorV ersion+"." +tinyMCE.m inorVersio n}},initIn stance:fun ction(inst ){inst.add Shortcut(' ctrl','k', 'lang_advl ink_desc', 'mceAdvLin k')},getCo ntrolHTML: function(c n){switch( cn){case"l ink":retur n tinyMCE. getButtonH TML(cn,'la ng_link_de sc','{$the meurl}/ima ges/link.g if','mceAd vLink')}re turn""},ex ecCommand: function(e ditor_id,e lement,com mand,user_ interface, value){swi tch(comman d){case"mc eAdvLink": var inst=t inyMCE.get InstanceBy Id(editor_ id),anySel ection=fal se;var foc usElm=inst .getFocusE lement(),s electedTex t=inst.sel ection.get SelectedTe xt();if(ti nyMCE.sele ctedElemen t)anySelec tion=(tiny MCE.select edElement. nodeName.t oLowerCase ()=="img") ||(selecte dText&&sel ectedText. length>0); if(anySele ction||(fo cusElm!=nu ll&&focusE lm.nodeNam e=="A")){t inyMCE.ope nWindow({f ile:'../.. /plugins/a dvlink/lin k.htm',wid th:480+tin yMCE.getLa ng('lang_a dvlink_del ta_width', 0),height: 400+tinyMC E.getLang( 'lang_advl ink_delta_ height',0) },{editor_ id:editor_ id,inline: "yes"})}re turn true} return fal se},handle NodeChange :function( editor_id, node,undo_ index,undo _levels,vi sual_aid,a ny_selecti on){if(nod e==null)re turn;do{if (node.node Name=="A"& &tinyMCE.g etAttrib(n ode,'href' )!=""){tin yMCE.switc hClass(edi tor_id+'_a dvlink','m ceButtonSe lected');r eturn true }}while((n ode=node.p arentNode) );if(any_s election){ tinyMCE.sw itchClass( editor_id+ '_advlink' ,'mceButto nNormal'); return tru e}tinyMCE. switchClas s(editor_i d+'_advlin k','mceBut tonDisable d');return  true}};ti nyMCE.addP lugin("adv link",Tiny MCE_Advanc edLinkPlug in);   1   (function( ){tinymce. create('ti nymce.plug ins.Advanc edLinkPlug in',{init: function(e d,url){thi s.editor=e d;ed.addCo mmand('mce AdvLink',f unction(){ var se=ed. selection; if(se.isCo llapsed()& &!ed.dom.g etParent(s e.getNode( ),'A'))ret urn;ed.win dowManager .open({fil e:url+'/li nk.htm',wi dth:480+pa rseInt(ed. getLang('a dvlink.del ta_width', 0)),height :400+parse Int(ed.get Lang('advl ink.delta_ height',0) ),inline:1 },{plugin_ url:url}); });ed.addB utton('lin k',{title: 'advlink.l ink_desc', cmd:'mceAd vLink'});e d.addShort cut('ctrl+ k','advlin k.advlink_ desc','mce AdvLink'); ed.onNodeC hange.add( function(e d,cm,n,co) {cm.setDis abled('lin k',co&&n.n odeName!=' A');cm.set Active('li nk',n.node Name=='A'& &!n.name); });},getIn fo:functio n(){return {longname: 'Advanced  link',auth or:'Moxiec ode System s AB',auth orurl:'htt p://tinymc e.moxiecod e.com',inf ourl:'http ://wiki.mo xiecode.co m/index.ph p/TinyMCE: Plugins/ad vlink',ver sion:tinym ce.majorVe rsion+"."+ tinymce.mi norVersion };}});tiny mce.Plugin Manager.ad d('advlink ',tinymce. plugins.Ad vancedLink Plugin);}) ();