303. File Comparison Report

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

303.1 Files compared

# Location File Last Modified
1 Mon May 12 13:05:46 2008 UTC
2 Dolphin-v.6.1.0\orca\layout\base\xsl login_form.xsl Wed Apr 9 17:44:50 2008 UTC

303.2 Comparison summary

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

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

303.4 Active regular expressions

No regular expressions were active.

303.5 Comparison detail

    1   <xsl:style sheet vers ion="1.0"  xmlns:xsl= "http://ww w.w3.org/1 999/XSL/Tr ansform" x mlns="http ://www.w3. org/1999/x html">
    2  
    3   <xsl:inclu de href="f orm_inputs .xsl" />
    4  
    5   <xsl:templ ate match= "urls" /> 
    6  
    7   <xsl:templ ate match= "login">
    8  
    9       <div c lass="wnd_ box">
    10  
    11                <div cla ss="wnd_ti tle">
    12                    <h2> [L[Login]] </h2>
    13                </div>
    14  
    15                <div cla ss="wnd_co ntent">
    16  
    17                <br />
    18  
    19                <form na me="orca_l ogin_form"  onsubmit= "var s=doc ument.getE lementById ('js_code' ).innerHTM L; eval(s) ; return d ocument.re t;">
    20  
    21                    <div >
    22                         <xsl:apply -templates  select="l ogin_form"  />
    23                    </di v>
    24  
    25                    <div  style="di splay:none ;" id="js_ code">
    26  
    27                         var f = do cument.for ms['orca_l ogin_form' ];
    28                         document.r et = true;
    29  
    30                         <xsl:for-e ach select ="login_fo rm/*">                                   
    31                             var va l<xsl:valu e-of selec t="name()"  /> = f.el ements['<x sl:value-o f select=" name()" /> '].value;
    32                             if (!v al<xsl:val ue-of sele ct="name() " />.match (<xsl:valu e-of selec t="regexp"  />))
    33                             {
    34                                 va r e = docu ment.getEl ementById( 'f_err_<xs l:value-of  select="n ame()" />' );
    35                                 e. innerHTML  = '<xsl:va lue-of sel ect="err"  />';
    36                                 e. style.disp lay = 'inl ine';
    37                                 do cument.ret  = false;
    38                             }
    39                             else
    40                             {
    41                                 va r e = docu ment.getEl ementById( 'f_err_<xs l:value-of  select="n ame()" />' );
    42                                 e. style.disp lay = 'non e';
    43                             }
    44                         </xsl:for- each>
    45                        
    46                         if (docume nt.ret)
    47                         {
    48                             orca_l ogin.login FormSubmit  (
    49                             <xsl:f or-each se lect="logi n_form/*">                           
    50                                 f. elements[' <xsl:value -of select ="name()"  />'].value <xsl:if te st="positi on() != la st()">,</x sl:if>
    51                             </xsl: for-each>) ;
    52                         }
    53  
    54                         document.r et = false ;
    55  
    56                    </di v>
    57  
    58                    <inp ut type="h idden" nam e="action"  value="lo gin_form_s ubmit" />
    59  
    60                    <inp ut type="s ubmit" nam e="sbmt" v alue="sbmt "  style=" position:r elative; l eft:-999px ;"/>
    61  
    62                    <div  style="ma rgin:30px;  margin-ri ght:100px;  margin-to p:0px;">                
    63  
    64                             <div c lass="btn"  onmouseov er="this.s tyle.backg roundPosit ion='0 25p x'" onmous eout="this .style.bac kgroundPos ition='0 0 '">              
    65                                 <a  href="jav ascript:vo id(0);" on click="f.h ideHTML();  return fa lse;"><img  src="{/ro ot/urls/im g}button_l .gif" /></ a>
    66                                 <i mg src="{/ root/urls/ img}btn_ic on_cancel. gif" />
    67                                 <b >[L[Cancel ]]</b>
    68                             </div>
    69  
    70                             <div c lass="btn"  onmouseov er="this.s tyle.backg roundPosit ion='0 25p x'" onmous eout="this .style.bac kgroundPos ition='0 0 '" >
    71                                 <a  href="jav ascript:vo id(0);" on click="var  s=documen t.getEleme ntById('js _code').in nerHTML; e val(s); re turn docum ent.ret;"> <img src=" {/root/url s/img}butt on_l.gif"  /></a>
    72                                 <i mg src="{/ root/urls/ img}btn_ic on_submit. gif" />
    73                                 <b >[L[Submit ]]</b>
    74                             </div>
    75  
    76                    </di v>               
    77  
    78                </form>
    79  
    80                <br />
    81  
    82           </ div>
    83  
    84           </ div>
    85  
    86   </xsl:temp late>
    87  
    88   <xsl:templ ate match= "login_for m">
    89       <xsl:f or-each se lect="*">    
    90           <x sl:choose>
    91  
    92                <xsl:whe n test="ty pe = 'text '">
    93                    <xsl :call-temp late name= "text" />
    94                </xsl:wh en>
    95  
    96                <xsl:whe n test="ty pe = 'pass word'">
    97                    <xsl :call-temp late name= "password"  />
    98                </xsl:wh en>
    99  
    100           </ xsl:choose >
    101       </xsl: for-each>
    102  
    103   </xsl:temp late>
    104  
    105   </xsl:styl esheet>