328. File Comparison Report

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

328.1 Files compared

# Location File Last Modified
1 Dolphin-v.6.0.5\orca\layout\uni\xsl forum_posts.xsl Thu Mar 6 04:49:36 2008 UTC
2 Dolphin-v.6.1.0\orca\layout\uni\xsl forum_posts.xsl Wed Apr 9 17:44:52 2008 UTC

328.2 Comparison summary

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

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

328.4 Active regular expressions

No regular expressions were active.

328.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">   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     2  
3   <xsl:inclu de   href=" d e
f a u lt _ acce s
s _denied .xsl"   />
  3        <xsl:inclu de   href=" ../../bas e /xsl/ f or u m _ po s t s
.xsl"   />
4   <xsl:inclu de href="b readcrumbs .xsl" />    
5      
6   <xsl:templ ate match= "urls" />    
7   <xsl:templ ate match= "forum" />    
8   <xsl:templ ate match= "topic" />    
9   <xsl:templ ate match= "logininfo " />    
10      
11   <xsl:templ ate match= "posts">    
12      
13       <xsl:c all-templa te name="b readcrumbs ">    
14           <x sl:with-pa ram name=" link1">    
15                <a href= "?action=g oto&amp;ca t_id={cat/ id}" oncli ck="return  f.selectF orumIndex( {cat/id})" ><xsl:valu e-of selec t="cat/tit le" disabl e-output-e scaping="y es" /></a>    
16           </ xsl:with-p aram>    
17           <x sl:with-pa ram name=" link2">    
18                <a href= "?action=g oto&amp;fo rum_id={fo rum/id}&am p;start=0"  onclick=" return f.s electForum ({forum/id }, 0);"><x sl:value-o f select=" forum/titl e" disable -output-es caping="ye s" /></a>    
19           </ xsl:with-p aram>             
20       </xsl: call-templ ate>    
21      
22      
23       <div i d="f_heade r">    
24           <h 2 id="foru m_title">< xsl:value- of select= "topic/tit le" disabl e-output-e scaping="y es" /></h2    
25       </div>    
26      
27       <div i d="f_desc_ no">&#160; </div>    
28               
29           <d iv class=" f_buttons" >    
30                    
31                <xsl:cho ose>    
32                <xsl:whe n test="fo rum/id !=  0 and topi c/id != 0" >    
33      
34                    <xsl :variable  name="oncl ick" selec t="concat( 'return f. newTopic(' , forum/id , ');')" / >    
35                    <div  title="Ne w Topic" c lass="btn"  onmouseov er="this.s tyle.backg roundPosit ion='0 25p x'" onmous eout="this .style.bac kgroundPos ition='0 0 '">    
36                         <a href="j avascript: void(0);"  onclick="{ $onclick}" ><img src= "{/root/ur ls/img}but ton_l.gif"  /></a>    
37                         <img src=" {/root/url s/img}btn_ icon_new_t opic.gif"  />    
38                         <b>New Top ic</b>    
39                    </di v>    
40      
41                    <xsl :if test=" 0 = topic/ locked">    
42                    <xsl :variable  name="oncl ick2" sele ct="concat ('return f .postReply (', forum/ id, ',', t opic/id, ' );')" />    
43                    <div  title="Po st Reply"  class="btn " onmouseo ver="this. style.back groundPosi tion='0 25 px'" onmou seout="thi s.style.ba ckgroundPo sition='0  0'">                   
44                         <a href="j avascript: void(0);"  onclick="{ $onclick2} "><img src ="{/root/u rls/img}bu tton_l.gif " /></a>    
45                         <img src=" {/root/url s/img}btn_ icon_reply .gif" />    
46                         <b>Post Re ply</b>    
47                    </di v>    
48                    </xs l:if>    
49      
50                    <div  title="Fl ag/Unflag  Topic" cla ss="btn" o nmouseover ="this.sty le.backgro undPositio n='0 25px' " onmouseo ut="this.s tyle.backg roundPosit ion='0 0'"  >    
51                         <a href="j avascript: void(0);"  onclick="r eturn f.fl ag({topic/ id});"><im g src="{/r oot/urls/i mg}button_ l.gif" />< /a>    
52                         <img src=" {/root/url s/img}btn_ icon_flag. gif" />    
53                         <b>Flag/Un flag</b>    
54                    </di v>    
55      
56                    <xsl :if test=" 1 = /root/ logininfo/ admin">    
57                         <div title ="Lock/Unl ock Topic"  class="bt n" onmouse over="this .style.bac kgroundPos ition='0 2 5px'" onmo useout="th is.style.b ackgroundP osition='0  0'" >    
58                         <a href="j avascript: void(0);"  onclick="r eturn orca _admin.loc k('{topic/ id}', '{to pic/locked }');"><img  src="{/ro ot/urls/im g}button_l .gif" /></ a>    
59                         <xsl:if te st="0 = to pic/locked ">    
60                             <img i d="btn_loc k_topic" s rc="{/root /urls/img} btn_icon_u nlocked.gi f" />    
61                         </xsl:if>    
62                         <xsl:if te st="1 = to pic/locked ">    
63                             <img i d="btn_loc k_topic" s rc="{/root /urls/img} btn_icon_l ocked.gif"  />    
64                         </xsl:if>                          
65                             <b>&#1 60;Lock/Un lock</b>    
66                    </di v>    
67                    </xs l:if>    
68      
69                    <div  class="f_ buttons_ic n">    
70      
71                         <div title ="permalin k" class=" icn" onmou seover="th is.style.b ackgroundP osition='0  24px'" on mouseout=" this.style .backgroun dPosition= '0 0'" >    
72                             <a hre f="index.p hp?action= goto&amp;t opic_id={t opic/id}"  target="_b lank"><img  src="{/ro ot/urls/im g}button_l .gif" /></ a>    
73                             <img s rc="{/root /urls/img} btn_icon_p link.gif"  />    
74                         </div>    
75      
76                    </di v>    
77      
78                </xsl:wh en>    
79                <xsl:oth erwise>    
80                    &#16 0;    
81                </xsl:ot herwise>    
82                </xsl:ch oose>    
83           </ div>    
84      
85      
86      
87       <div i d="reply_c ontainer"> &#160;</di v>    
88      
89       <div i d="f_tbl"  style="bac kground-co lor:#fffff f;">    
90           <u l class="t bl_hh">    
91                <li clas s="tbl_hp_ author">Au thor</li>    
92                <li clas s="tbl_hp_ msg">Messa ge</li>    
93           </ ul>    
94           <d iv style=" height:1px ; overflow :hidden;"> &#160;</di v>    
95           <x sl:apply-t emplates s elect="pos t" />    
96       </div>    
97       <ifram e name="po st_actions " width="1 " height=" 1" framebo rder="1" s tyle="bord er:none;"> &#160;</if rame>    
98      
99      
100   </xsl:temp late>    
101      
102   <xsl:templ ate match= "force_sho w_post">    
103      
104       <xsl:c all-templa te name="p ost_row_bo x" />    
105      
106   </xsl:temp late>    
107      
108   <xsl:templ ate match= "post">    
109      
110       <div i d="post_ro w_{@id}">    
111           <x sl:call-te mplate nam e="post_ro w_box" />    
112       </div>    
113      
114   </xsl:temp late>    
115      
116   <xsl:templ ate name=" post_row_b ox">    
117       <xsl:e lement nam e="div">    
118               
119           <x sl:attribu te name="c lass">tbl_ p_msg</xsl :attribute >    
120           <x sl:attribu te name="s tyle">    
121                backgrou nd-color:t ransparent ;    
122                <xsl:if  test="((po ints &lt;  min_point)  or (vote_ user_point  = -1)) an d (0 = @fo rce_show)" >height:20 px; paddin g:0; overf low:hidden ; width:10 0%;</xsl:i f>    
123           </ xsl:attrib ute>    
124      
125                <xsl:cal l-template  name="pos t_row_cont ent" />    
126      
127       </xsl: element>    
128   </xsl:temp late>    
129      
130   <xsl:templ ate name=" post_row_c ontent">    
131       <xsl:c hoose>    
132           <x sl:when te st="((poin ts &lt; mi n_point) o r (vote_us er_point =  -1)) and  (0 = @forc e_show)">    
133                <div cla ss="tbl_p_ author" st yle="heigh t:18px; pa dding-left :8px; padd ing-top:2p x;">    
134                    <img  src="{/ro ot/urls/im g}stranger .gif" />    
135                    <spa n style="p osition:re lative; to p:-4px; le ft:3px;">< b><xsl:val ue-of sele ct="user/@ name" /></ b></span>    
136                </div>    
137      
138                <xsl:cal l-template  name="pos t_row_acti ons" />    
139           </ xsl:when>                   
140           <x sl:otherwi se>    
141                <div cla ss="tbl_p_ author">    
142   <!--             ###  PERMALINK    <xsl:ele ment name= "img">    
143                         <xsl:attri bute name= "name"><xs l:value-of  select="c oncat('pos t', @id)"/ ></xsl:att ribute>    
144                    </xs l:element>  -->    
145                    <xsl :if test=" string-len gth(user/a vatar) &gt ; 0 and st ring-lengt h(user/@na me) &gt; 0 ">     
146                         <div class ="avatar">    
147                             <xsl:e lement nam e="img">    
148                                 <x sl:attribu te name="o nload">doc ument.f.al ignPost(th is, <xsl:v alue-of se lect="poin ts" />)</x sl:attribu te>    
149                                 <x sl:attribu te name="s rc"><xsl:v alue-of se lect="user /avatar" / ></xsl:att ribute>    
150                             </xsl: element>    
151                         </div>    
152                    </xs l:if>     
153                    <xsl :choose>    
154                         <xsl:when  test="stri ng-length( user/url)  &gt; 0 and  string-le ngth(user/ @name) &gt ; 0">    
155                             <b><a  target="_b lank" href ="{user/ur l}" onclic k="{user/o nclick}">< xsl:value- of select= "user/@nam e" /></a>< /b>    
156                         </xsl:when >    
157                         <xsl:other wise>    
158                             <b><xs l:if test= "'' = user /@name">an onymous</x sl:if><xsl :if test=" '' != user /@name"><x sl:value-o f select=" user/@name " /></xsl: if></b>    
159                         </xsl:othe rwise>                          
160                    </xs l:choose>    
161                    <br  />    
162                    post s: <xsl:va lue-of sel ect="user/ @posts" />  <br />    
163                </div>    
164               
165                <xsl:cal l-template  name="pos t_row_acti ons" />    
166                                 
167                <div id= "{@id}" cl ass="post_ text">    
168                    <xsl :choose>    
169                         <xsl:when  test="/roo t/urls/xsl _mode = 's erver'">    
170                             <xsl:v alue-of se lect="text " disable- output-esc aping="yes " />    
171                         </xsl:when >    
172                         <xsl:other wise>    
173                             <xsl:c hoose>    
174                                 <x sl:when te st="system -property( 'xsl:vendo r')='Trans formiix'">    
175                                      <div id= "{@id}_foo " style="d isplay:non e;"><xsl:v alue-of se lect="text " /></div>    
176                                      <script  type="text /javascrip t">    
177                                          var  id = '<xsl :value-of  select="@i d" />';    
178                                          <![C DATA[    
179                                          var  s = docume nt.getElem entById(id  + '_foo') .innerHTML ;    
180                                          s =  s.replace( /&#160;/gm , ' ');    
181                                          s =  s.replace( /\x26gt;/g m, '\x3e') ;    
182                                          s =  s.replace( /\x26lt;/g m, '\x3c') ;    
183                                          docu ment.getEl ementById( id).innerH TML = s;    
184                                          ]]>    
185                                      </script >    
186                                 </ xsl:when>    
187                                 <x sl:when te st="system -property( 'xsl:vendo r')='Micro soft'">    
188                                      <xsl:val ue-of sele ct="text"  disable-ou tput-escap ing="yes"  />    
189                                 </ xsl:when>    
190                                 <x sl:otherwi se>    
191                                      <xsl:val ue-of sele ct="text"  disable-ou tput-escap ing="yes"  />    
192                                 </ xsl:otherw ise>    
193                             </xsl: choose>    
194                         </xsl:othe rwise>    
195                    </xs l:choose>    
196                </div>    
197      
198           </ xsl:otherw ise>    
199       </xsl: choose>    
200      
201   </xsl:temp late>    
202      
203   <xsl:templ ate name=" post_row_a ctions">    
204      
205      
206           <d iv class=" actions">    
207      
208                <span id ="report_{ @id}" clas s="report" >    
209                         <xsl:choos e>    
210                         <xsl:when  test="'' =  vote_user _point">    
211                             <a tit le="report  this post " href="ja vascript:v oid(0);" o nclick="f. report({@i d}); retur n f.voteBa d({@id});"  style="ma rgin-right :3px;"><im g style="b order:none ;" src="{/ root/urls/ img}report .gif" /></ a>     
212                         </xsl:when >    
213                         <xsl:other wise>    
214                             <a tit le="report  this post " href="ja vascript:v oid(0);" s tyle="marg in-right:3 px;"><img  style="bor der:none;"  src="{/ro ot/urls/im g}report_g ray.gif" / ></a>     
215                         </xsl:othe rwise>                          
216                         </xsl:choo se>    
217                    </sp an>    
218      
219                    <spa n class="p osted">    
220                         <xsl:value -of select ="when" />    
221                    </sp an>    
222      
223                    <xsl :if test=" (allow_del  + allow_e dit) = 0">    
224                         <span styl e="color:w hite;">&#1 60;</span>    
225                    </xs l:if>    
226                        
227                    <xsl :if test=" allow_del  = 1">    
228                         <xsl:eleme nt name="a ">    
229                             <xsl:a ttribute n ame="style ">margin-r ight:5px;< /xsl:attri bute>    
230                             <xsl:a ttribute n ame="href" >javascrip t:void(0); </xsl:attr ibute>    
231                             <xsl:a ttribute n ame="oncli ck">f.dele tePost(<xs l:value-of  select="@ id" />, <x sl:value-o f select=" ../forum/i d" />, <xs l:value-of  select=". ./topic/id " />, true );</xsl:at tribute>De lete</xsl: element>    
232                    </xs l:if>    
233      
234                    <xsl :if test=" allow_edit  = 1">    
235                         <xsl:eleme nt name="a ">    
236                             <xsl:a ttribute n ame="oncli ck">f.edit Post(<xsl: value-of s elect="@id " />);</xs l:attribut e>    
237                             <xsl:a ttribute n ame="href" >javascrip t:void(0); </xsl:attr ibute>Edit </xsl:elem ent>    
238                    </xs l:if>    
239      
240      
241                    <xsl :if test=" (not((poin ts &lt; mi n_point) o r (vote_us er_point =  -1))) and  0 = ../to pic/locked ">                 
242                         &#160;    
243                         <xsl:eleme nt name="a ">    
244                             <xsl:a ttribute n ame="oncli ck">return  f.postRep lyWithQuot e(<xsl:val ue-of sele ct="../for um/id" />,  <xsl:valu e-of selec t="../topi c/id" />,  <xsl:value -of select ="@id" />) ;</xsl:att ribute>    
245                             <xsl:a ttribute n ame="href" >javascrip t:void(0); </xsl:attr ibute>Quot e</xsl:ele ment>                    
246                    </xs l:if>    
247      
248      
249                    <div  class="ra te" id="ra te_{@id}">    
250                         <span clas s="rate_te xt">    
251      
252                             <xsl:i f test="(( points &lt ; min_poin t) or (vot e_user_poi nt = -1))" >             
253                                 Th is post is  hidden (    
254                                      <xsl:cho ose>    
255                                          <xsl :when test ="1 = @for ce_show">    
256                                               <a href="j avascript: void(0);"  onclick="f .hideHidde nPost({@id })">hide p ost</a>    
257                                          </xs l:when>          
258                                          <xsl :otherwise >                               
259                                               <a href="j avascript: void(0);"  onclick="f .showHidde nPost({@id })">show p ost</a>    
260                                          </xs l:otherwis e>                                                                          
261                                      </xsl:ch oose>    
262                                      )    
263                             </xsl: if>    
264      
265                             Points    
266                             <span  id="points _{@id}"><x sl:value-o f select=" points" /> </span>    
267                             &#160;    
268                             Vote    
269                         </span>    
270                         <xsl:choos e>    
271                             <xsl:w hen test=" '' = vote_ user_point ">    
272                                 <a  href="jav ascript:vo id(0);" on click="ret urn f.vote Good({@id} );" style= "margin-ri ght:3px;"> <img class ="vote_goo d" src="{/ root/urls/ img}vote_g ood.gif" / ></a>    
273                                 <a  href="jav ascript:vo id(0);" on click="ret urn f.vote Bad({@id}) ;"><img cl ass="vote_ bad" src=" {/root/url s/img}vote _bad.gif"  /></a>    
274                             </xsl: when>    
275                             <xsl:o therwise>                       
276                                 <a  href="jav ascript:vo id(0);" st yle="margi n-right:3p x;"><img c lass="vote _good" src ="{/root/u rls/img}vo te_good_gr ay.gif" /> </a>    
277                                 <a  href="jav ascript:vo id(0);"><i mg class=" vote_bad"  src="{/roo t/urls/img }vote_bad_ gray.gif"  /></a>    
278                             </xsl: otherwise>    
279                         </xsl:choo se>                         
280                    </di v>      
281      
282                </div>    
283      
284   </xsl:temp late>    
285     4  
286   </xsl:styl esheet>   5   </xsl:styl esheet>
287      
288