669. File Comparison Report

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

669.1 Files compared

# Location File Last Modified
1 Dolphin-v.6.0.5\plugins\tiny_mce\utils mctabs.js Thu Sep 20 08:58:52 2007 UTC
2 Dolphin-v.6.1.0\plugins\tiny_mce\utils mctabs.js Thu Mar 27 13:53:24 2008 UTC

669.2 Comparison summary

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

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

669.4 Active regular expressions

No regular expressions were active.

669.5 Comparison detail

1   /**   1   /**
2     *   $Id:   mctabs.js   16 2  
200 7 -01-0 3   16: 16 : 5 2Z   spocke   $
  2     *   $Id:   mctabs.js   5 2 0   200 8 -01-0 7   16: 30 : 3 2Z   spocke   $
3    *   3    *
4    * Moxieco de DHTML T abs script .   4    * Moxieco de DHTML T abs script .
5    *   5    *
6    * @author  Moxiecode   6    * @author  Moxiecode
7     *   @copyright   Copyright   ©   2004-200 7 ,   Moxiecode   Systems   AB,   All   rights   reserved.   7     *   @copyright   Copyright   ©   2004-200 8 ,   Moxiecode   Systems   AB,   All   rights   reserved.
8    */   8    */
9     9  
10   function M CTabs() {   10   function M CTabs() {
11       this.s ettings =  new Array( );   11       this.s ettings =  new Array( );
12   };   12   };
13     13  
14   MCTabs.pro totype.ini t = functi on(setting s) {   14   MCTabs.pro totype.ini t = functi on(setting s) {
15       this.s ettings =  settings;   15       this.s ettings =  settings;
16   };   16   };
17     17  
18   MCTabs.pro totype.get Param = fu nction(nam e, default _value) {   18   MCTabs.pro totype.get Param = fu nction(nam e, default _value) {
19       var va lue = null ;   19       var va lue = null ;
20     20  
21       value  = (typeof( this.setti ngs[name])  == "undef ined") ? d efault_val ue : this. settings[n ame];   21       value  = (typeof( this.setti ngs[name])  == "undef ined") ? d efault_val ue : this. settings[n ame];
22     22  
23       // Fix  bool valu es   23       // Fix  bool valu es
24       if (va lue == "tr ue" || val ue == "fal se")   24       if (va lue == "tr ue" || val ue == "fal se")
25           re turn (valu e == "true ");   25           re turn (valu e == "true ");
26     26  
27       return  value;   27       return  value;
28   };   28   };
29     29  
30   MCTabs.pro totype.dis playTab =  function(t ab_id, pan el_id) {   30   MCTabs.pro totype.dis playTab =  function(t ab_id, pan el_id) {
31       var pa nelElm = d ocument.ge tElementBy Id(panel_i d);   31       var pa nelElm = d ocument.ge tElementBy Id(panel_i d);
32       var pa nelContain erElm = pa nelElm ? p anelElm.pa rentNode :  null;   32       var pa nelContain erElm = pa nelElm ? p anelElm.pa rentNode :  null;
33       var ta bElm = doc ument.getE lementById (tab_id);   33       var ta bElm = doc ument.getE lementById (tab_id);
34       var ta bContainer Elm = tabE lm ? tabEl m.parentNo de : null;   34       var ta bContainer Elm = tabE lm ? tabEl m.parentNo de : null;
35       var se lectionCla ss = this. getParam(' selection_ class', 'c urrent');   35       var se lectionCla ss = this. getParam(' selection_ class', 'c urrent');
36     36  
37       if (ta bElm && ta bContainer Elm) {   37       if (ta bElm && ta bContainer Elm) {
38           va r nodes =  tabContain erElm.chil dNodes;   38           va r nodes =  tabContain erElm.chil dNodes;
39     39  
40           //  Hide all  other tabs   40           //  Hide all  other tabs
41           fo r (var i=0 ; i<nodes. length; i+ +) {   41           fo r (var i=0 ; i<nodes. length; i+ +) {
42                if (node s[i].nodeN ame == "LI ")   42                if (node s[i].nodeN ame == "LI ")
43                    node s[i].class Name = '';   43                    node s[i].class Name = '';
44           }   44           }
45     45  
46           //  Show sele cted tab   46           //  Show sele cted tab
47           ta bElm.class Name = 'cu rrent';   47           ta bElm.class Name = 'cu rrent';
48       }   48       }
49     49  
50       if (pa nelElm &&  panelConta inerElm) {   50       if (pa nelElm &&  panelConta inerElm) {
51           va r nodes =  panelConta inerElm.ch ildNodes;   51           va r nodes =  panelConta inerElm.ch ildNodes;
52     52  
53           //  Hide all  other pane ls   53           //  Hide all  other pane ls
54           fo r (var i=0 ; i<nodes. length; i+ +) {   54           fo r (var i=0 ; i<nodes. length; i+ +) {
55                if (node s[i].nodeN ame == "DI V")   55                if (node s[i].nodeN ame == "DI V")
56                    node s[i].class Name = 'pa nel';   56                    node s[i].class Name = 'pa nel';
57           }   57           }
58     58  
59           //  Show sele cted panel   59           //  Show sele cted panel
60           pa nelElm.cla ssName = ' current';   60           pa nelElm.cla ssName = ' current';
61       }   61       }
62   };   62   };
63     63  
64   MCTabs.pro totype.get Anchor = f unction()  {   64   MCTabs.pro totype.get Anchor = f unction()  {
65       var po s, url = d ocument.lo cation.hre f;   65       var po s, url = d ocument.lo cation.hre f;
66     66  
67       if ((p os = url.l astIndexOf ('#')) !=  -1)   67       if ((p os = url.l astIndexOf ('#')) !=  -1)
68           re turn url.s ubstring(p os + 1);   68           re turn url.s ubstring(p os + 1);
69     69  
70       return  "";   70       return  "";
71   };   71   };
72     72  
73   // Global  instance   73   // Global  instance
74   var mcTabs  = new MCT abs();   74   var mcTabs  = new MCT abs();