No regular expressions were active.
|
|
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="r
ewrite.xsl
" />
|
|
|
4 |
|
<xsl:inclu
de href="d
efault_acc
ess_denied
.xsl" />
|
|
|
5 |
|
<xsl:inclu
de href="b
readcrumbs
.xsl" />
|
|
|
6 |
|
|
|
|
7 |
|
<xsl:templ
ate match=
"urls" />
|
|
|
8 |
|
<xsl:templ
ate match=
"forum" />
|
|
|
9 |
|
<xsl:templ
ate match=
"topic" />
|
|
|
10 |
|
<xsl:templ
ate match=
"logininfo
" />
|
|
|
11 |
|
|
|
|
12 |
|
<xsl:templ
ate match=
"posts">
|
|
|
13 |
|
|
|
|
14 |
|
<xsl:c
all-templa
te name="b
readcrumbs
">
|
|
|
15 |
|
<x
sl:with-pa
ram name="
link1">
|
|
|
16 |
|
<a href=
"{$rw_cat}
{cat/uri}{
$rw_cat_ex
t}" onclic
k="return
f.selectFo
rumIndex('
{cat/uri}'
)"><xsl:va
lue-of sel
ect="cat/t
itle" disa
ble-output
-escaping=
"yes" /></
a>
|
|
|
17 |
|
</
xsl:with-p
aram>
|
|
|
18 |
|
<x
sl:with-pa
ram name="
link2">
|
|
|
19 |
|
<a href=
"{$rw_foru
m}{forum/u
ri}{$rw_fo
rum_page}0
{$rw_forum
_ext}" onc
lick="retu
rn f.selec
tForum('{f
orum/uri}'
, 0);"><xs
l:value-of
select="f
orum/title
" disable-
output-esc
aping="yes
" /></a>
|
|
|
20 |
|
</
xsl:with-p
aram>
|
|
|
21 |
|
</xsl:
call-templ
ate>
|
|
|
22 |
|
|
|
|
23 |
|
|
|
|
24 |
|
<div i
d="f_heade
r">
|
|
|
25 |
|
<h
2 id="foru
m_title"><
xsl:value-
of select=
"topic/tit
le" disabl
e-output-e
scaping="y
es" /></h2
>
|
|
|
26 |
|
</div>
|
|
|
27 |
|
|
|
|
28 |
|
<div i
d="f_desc_
no"> 
</div>
|
|
|
29 |
|
|
|
|
30 |
|
<d
iv class="
f_buttons"
>
|
|
|
31 |
|
|
|
|
32 |
|
<xsl:cho
ose>
|
|
|
33 |
|
<xsl:whe
n test="fo
rum/id !=
0 and topi
c/id != 0"
>
|
|
|
34 |
|
|
|
|
35 |
|
<xsl
:variable
name="oncl
ick" selec
t="concat(
'return f.
newTopic(&
#34;', for
um/uri, '&
#34;);')"
/>
|
|
|
36 |
|
<div
title="[L
[New Topic
]]" class=
"btn" onmo
useover="t
his.style.
background
Position='
0 25px'" o
nmouseout=
"this.styl
e.backgrou
ndPosition
='0 0'">
|
|
|
37 |
|
<a href="j
avascript:
void(0);"
onclick="{
$onclick}"
><img src=
"{/root/ur
ls/img}but
ton_l.gif"
/></a>
|
|
|
38 |
|
<img src="
{/root/url
s/img}btn_
icon_new_t
opic.gif"
/>
|
|
|
39 |
|
<b>[L[New
Topic]]</b
>
|
|
|
40 |
|
</di
v>
|
|
|
41 |
|
|
|
|
42 |
|
<xsl
:if test="
0 = topic/
locked">
|
|
|
43 |
|
<xsl
:variable
name="oncl
ick2" sele
ct="concat
('return f
.postReply
(', forum/
id, ',', t
opic/id, '
);')" />
|
|
|
44 |
|
<div
title="[L
[Post Repl
y]]" class
="btn" onm
ouseover="
this.style
.backgroun
dPosition=
'0 25px'"
onmouseout
="this.sty
le.backgro
undPositio
n='0 0'">
|
|
|
45 |
|
<a href="j
avascript:
void(0);"
onclick="{
$onclick2}
"><img src
="{/root/u
rls/img}bu
tton_l.gif
" /></a>
|
|
|
46 |
|
<img src="
{/root/url
s/img}btn_
icon_reply
.gif" />
|
|
|
47 |
|
<b>[L[Post
Reply]]</
b>
|
|
|
48 |
|
</di
v>
|
|
|
49 |
|
</xs
l:if>
|
|
|
50 |
|
|
|
|
51 |
|
<div
title="[L
[Flag/Unfl
ag]]" clas
s="btn" on
mouseover=
"this.styl
e.backgrou
ndPosition
='0 25px'"
onmouseou
t="this.st
yle.backgr
oundPositi
on='0 0'"
>
|
|
|
52 |
|
<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>
|
|
|
53 |
|
<img src="
{/root/url
s/img}btn_
icon_flag.
gif" />
|
|
|
54 |
|
<b>[L[Flag
/Unflag]]<
/b>
|
|
|
55 |
|
</di
v>
|
|
|
56 |
|
|
|
|
57 |
|
<xsl
:if test="
1 = /root/
logininfo/
admin">
|
|
|
58 |
|
<div title
="[L[Lock/
Unlock]]"
class="btn
" onmouseo
ver="this.
style.back
groundPosi
tion='0 25
px'" onmou
seout="thi
s.style.ba
ckgroundPo
sition='0
0'" >
|
|
|
59 |
|
<a hre
f="javascr
ipt:void(0
);" onclic
k="return
orca_admin
.lock('{to
pic/id}',
'{topic/lo
cked}');">
<img src="
{/root/url
s/img}butt
on_l.gif"
/></a>
|
|
|
60 |
|
<xsl:i
f test="0
= topic/lo
cked">
|
|
|
61 |
|
<i
mg id="btn
_lock_topi
c" src="{/
root/urls/
img}btn_ic
on_unlocke
d.gif" />
|
|
|
62 |
|
</xsl:
if>
|
|
|
63 |
|
<xsl:i
f test="1
= topic/lo
cked">
|
|
|
64 |
|
<i
mg id="btn
_lock_topi
c" src="{/
root/urls/
img}btn_ic
on_locked.
gif" />
|
|
|
65 |
|
</xsl:
if>
|
|
|
66 |
|
<b>
60;[L[Lock
/Unlock]]<
/b>
|
|
|
67 |
|
</div>
|
|
|
68 |
|
</xs
l:if>
|
|
|
69 |
|
|
|
|
70 |
|
<div
class="f_
buttons_ic
n">
|
|
|
71 |
|
|
|
|
72 |
|
<div title
="[L[perma
link]]" cl
ass="icn"
onmouseove
r="this.st
yle.backgr
oundPositi
on='0 24px
'" onmouse
out="this.
style.back
groundPosi
tion='0 0'
" >
|
|
|
73 |
|
<a hre
f="{/root/
base}{$rw_
topic}{top
ic/uri}{$r
w_topic_ex
t}" target
="_blank">
<img src="
{/root/url
s/img}butt
on_l.gif"
/></a>
|
|
|
74 |
|
<img s
rc="{/root
/urls/img}
btn_icon_p
link.gif"
/>
|
|
|
75 |
|
</div>
|
|
|
76 |
|
|
|
|
77 |
|
<div title
="rss feed
" class="i
cn" onmous
eover="thi
s.style.ba
ckgroundPo
sition='0
24px'" onm
ouseout="t
his.style.
background
Position='
0 0'" >
|
|
|
78 |
|
<a hre
f="{/root/
base}{$rw_
rss_topic}
{topic/uri
}{$rw_rss_
topic_ext}
" target="
_blank"><i
mg src="{/
root/urls/
img}button
_l.gif" />
</a>
|
|
|
79 |
|
<img s
rc="{/root
/urls/img}
btn_icon_r
ss.gif" />
|
|
|
80 |
|
</div>
|
|
|
81 |
|
|
|
|
82 |
|
</di
v>
|
|
|
83 |
|
|
|
|
84 |
|
</xsl:wh
en>
|
|
|
85 |
|
<xsl:oth
erwise>
|
|
|
86 |
|

0;
|
|
|
87 |
|
</xsl:ot
herwise>
|
|
|
88 |
|
</xsl:ch
oose>
|
|
|
89 |
|
</
div>
|
|
|
90 |
|
|
|
|
91 |
|
|
|
|
92 |
|
|
|
|
93 |
|
<div i
d="reply_c
ontainer">
 </di
v>
|
|
|
94 |
|
|
|
|
95 |
|
<div i
d="f_tbl"
style="bac
kground-co
lor:#fffff
f;">
|
|
|
96 |
|
<u
l class="t
bl_hh">
|
|
|
97 |
|
<li clas
s="tbl_hp_
author">[L
[Author]]<
/li>
|
|
|
98 |
|
<li clas
s="tbl_hp_
msg">[L[Me
ssage]]</l
i>
|
|
|
99 |
|
</
ul>
|
|
|
100 |
|
<d
iv style="
height:1px
; overflow
:hidden;">
 </di
v>
|
|
|
101 |
|
<x
sl:apply-t
emplates s
elect="pos
t" />
|
|
|
102 |
|
</div>
|
|
|
103 |
|
<ifram
e name="po
st_actions
" width="1
" height="
1" framebo
rder="1" s
tyle="bord
er:none;">
 </if
rame>
|
|
|
104 |
|
|
|
|
105 |
|
|
|
|
106 |
|
</xsl:temp
late>
|
|
|
107 |
|
|
|
|
108 |
|
<xsl:templ
ate match=
"force_sho
w_post">
|
|
|
109 |
|
|
|
|
110 |
|
<xsl:c
all-templa
te name="p
ost_row_bo
x" />
|
|
|
111 |
|
|
|
|
112 |
|
</xsl:temp
late>
|
|
|
113 |
|
|
|
|
114 |
|
<xsl:templ
ate match=
"post">
|
|
|
115 |
|
|
|
|
116 |
|
<div i
d="post_ro
w_{@id}">
|
|
|
117 |
|
<x
sl:call-te
mplate nam
e="post_ro
w_box" />
|
|
|
118 |
|
</div>
|
|
|
119 |
|
|
|
|
120 |
|
</xsl:temp
late>
|
|
|
121 |
|
|
|
|
122 |
|
<xsl:templ
ate name="
post_row_b
ox">
|
|
|
123 |
|
<xsl:e
lement nam
e="div">
|
|
|
124 |
|
|
|
|
125 |
|
<x
sl:attribu
te name="c
lass">tbl_
p_msg</xsl
:attribute
>
|
|
|
126 |
|
<x
sl:attribu
te name="s
tyle">
|
|
|
127 |
|
backgrou
nd-color:t
ransparent
;
|
|
|
128 |
|
<xsl:if
test="((po
ints <
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>
|
|
|
129 |
|
</
xsl:attrib
ute>
|
|
|
130 |
|
|
|
|
131 |
|
<xsl:cal
l-template
name="pos
t_row_cont
ent" />
|
|
|
132 |
|
|
|
|
133 |
|
</xsl:
element>
|
|
|
134 |
|
</xsl:temp
late>
|
|
|
135 |
|
|
|
|
136 |
|
<xsl:templ
ate name="
post_row_c
ontent">
|
|
|
137 |
|
<xsl:c
hoose>
|
|
|
138 |
|
<x
sl:when te
st="((poin
ts < mi
n_point) o
r (vote_us
er_point =
-1)) and
(0 = @forc
e_show)">
|
|
|
139 |
|
<div cla
ss="tbl_p_
author" st
yle="heigh
t:18px; pa
dding-left
:8px; padd
ing-top:2p
x;">
|
|
|
140 |
|
<img
src="{/ro
ot/urls/im
g}stranger
.gif" />
|
|
|
141 |
|
<spa
n style="p
osition:re
lative; to
p:-4px; le
ft:3px;"><
b><xsl:val
ue-of sele
ct="user/@
name" /></
b></span>
|
|
|
142 |
|
</div>
|
|
|
143 |
|
|
|
|
144 |
|
<xsl:cal
l-template
name="pos
t_row_acti
ons" />
|
|
|
145 |
|
</
xsl:when>
|
|
|
146 |
|
<x
sl:otherwi
se>
|
|
|
147 |
|
<div cla
ss="tbl_p_
author">
|
|
|
148 |
|
<!--
###
PERMALINK
<xsl:ele
ment name=
"img">
|
|
|
149 |
|
<xsl:attri
bute name=
"name"><xs
l:value-of
select="c
oncat('pos
t', @id)"/
></xsl:att
ribute>
|
|
|
150 |
|
</xs
l:element>
-->
|
|
|
151 |
|
<xsl
:if test="
string-len
gth(user/a
vatar) >
; 0">
|
|
|
152 |
|
<div class
="avatar">
|
|
|
153 |
|
<xsl:e
lement nam
e="img">
|
|
|
154 |
|
<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>
|
|
|
155 |
|
<x
sl:attribu
te name="s
rc"><xsl:v
alue-of se
lect="user
/avatar" /
></xsl:att
ribute>
|
|
|
156 |
|
</xsl:
element>
|
|
|
157 |
|
</div>
|
|
|
158 |
|
</xs
l:if>
|
|
|
159 |
|
<xsl
:choose>
|
|
|
160 |
|
<xsl:when
test="stri
ng-length(
user/url)
> 0">
|
|
|
161 |
|
<b><a
target="_b
lank" href
="{user/ur
l}" onclic
k="{user/o
nclick}"><
xsl:value-
of select=
"user/@nam
e" /></a><
/b>
|
|
|
162 |
|
</xsl:when
>
|
|
|
163 |
|
<xsl:other
wise>
|
|
|
164 |
|
<b><xs
l:value-of
select="u
ser/@name"
/></b>
|
|
|
165 |
|
</xsl:othe
rwise>
|
|
|
166 |
|
</xs
l:choose>
|
|
|
167 |
|
<br
/>
|
|
|
168 |
|
[L[p
osts:]] <x
sl:value-o
f select="
user/@post
s" /> <br
/>
|
|
|
169 |
|
</div>
|
|
|
170 |
|
|
|
|
171 |
|
<xsl:cal
l-template
name="pos
t_row_acti
ons" />
|
|
|
172 |
|
|
|
|
173 |
|
<div id=
"{@id}" cl
ass="post_
text">
|
|
|
174 |
|
<xsl
:choose>
|
|
|
175 |
|
<xsl:when
test="/roo
t/urls/xsl
_mode = 's
erver'">
|
|
|
176 |
|
<xsl:v
alue-of se
lect="text
" disable-
output-esc
aping="yes
" />
|
|
|
177 |
|
</xsl:when
>
|
|
|
178 |
|
<xsl:other
wise>
|
|
|
179 |
|
<xsl:c
hoose>
|
|
|
180 |
|
<x
sl:when te
st="system
-property(
'xsl:vendo
r')='Trans
formiix'">
|
|
|
181 |
|
<div id=
"{@id}_foo
" style="d
isplay:non
e;"><xsl:v
alue-of se
lect="text
" /></div>
|
|
|
182 |
|
<script
type="text
/javascrip
t">
|
|
|
183 |
|
var
id = '<xsl
:value-of
select="@i
d" />';
|
|
|
184 |
|
<![C
DATA[
|
|
|
185 |
|
orca
_html_deco
de (id + '
_foo', id)
;
|
|
|
186 |
|
]]>
|
|
|
187 |
|
</script
>
|
|
|
188 |
|
</
xsl:when>
|
|
|
189 |
|
<x
sl:when te
st="system
-property(
'xsl:vendo
r')='Micro
soft'">
|
|
|
190 |
|
<xsl:val
ue-of sele
ct="text"
disable-ou
tput-escap
ing="yes"
/>
|
|
|
191 |
|
</
xsl:when>
|
|
|
192 |
|
<x
sl:otherwi
se>
|
|
|
193 |
|
<xsl:val
ue-of sele
ct="text"
disable-ou
tput-escap
ing="yes"
/>
|
|
|
194 |
|
</
xsl:otherw
ise>
|
|
|
195 |
|
</xsl:
choose>
|
|
|
196 |
|
</xsl:othe
rwise>
|
|
|
197 |
|
</xs
l:choose>
|
|
|
198 |
|
</div>
|
|
|
199 |
|
|
|
|
200 |
|
</
xsl:otherw
ise>
|
|
|
201 |
|
</xsl:
choose>
|
|
|
202 |
|
|
|
|
203 |
|
</xsl:temp
late>
|
|
|
204 |
|
|
|
|
205 |
|
<xsl:templ
ate name="
post_row_a
ctions">
|
|
|
206 |
|
|
|
|
207 |
|
|
|
|
208 |
|
<d
iv class="
actions">
|
|
|
209 |
|
|
|
|
210 |
|
<span id
="report_{
@id}" clas
s="report"
>
|
|
|
211 |
|
<xsl:choos
e>
|
|
|
212 |
|
<xsl:when
test="'' =
vote_user
_point">
|
|
|
213 |
|
<a tit
le="[L[rep
ort this p
ost]]" hre
f="javascr
ipt:void(0
);" onclic
k="f.repor
t({@id});
return f.v
oteBad({@i
d});" styl
e="margin-
right:3px;
"><img sty
le="border
:none;" sr
c="{/root/
urls/img}r
eport.gif"
/></a>
|
|
|
214 |
|
</xsl:when
>
|
|
|
215 |
|
<xsl:other
wise>
|
|
|
216 |
|
<a tit
le="[L[rep
ort this p
ost]]" hre
f="javascr
ipt:void(0
);" style=
"margin-ri
ght:3px;">
<img style
="border:n
one;" src=
"{/root/ur
ls/img}rep
ort_gray.g
if" /></a>
|
|
|
217 |
|
</xsl:othe
rwise>
|
|
|
218 |
|
</xsl:choo
se>
|
|
|
219 |
|
</sp
an>
|
|
|
220 |
|
|
|
|
221 |
|
<spa
n class="p
osted">
|
|
|
222 |
|
<xsl:value
-of select
="when" />
|
|
|
223 |
|
</sp
an>
|
|
|
224 |
|
|
|
|
225 |
|
<xsl
:if test="
(allow_del
+ allow_e
dit) = 0">
|
|
|
226 |
|
<span styl
e="color:w
hite;">
60;</span>
|
|
|
227 |
|
</xs
l:if>
|
|
|
228 |
|
|
|
|
229 |
|
<xsl
:if test="
allow_del
= 1">
|
|
|
230 |
|
<xsl:eleme
nt name="a
">
|
|
|
231 |
|
<xsl:a
ttribute n
ame="style
">margin-r
ight:5px;<
/xsl:attri
bute>
|
|
|
232 |
|
<xsl:a
ttribute n
ame="href"
>javascrip
t:void(0);
</xsl:attr
ibute>
|
|
|
233 |
|
<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>[L
[Delete]]<
/xsl:eleme
nt>
|
|
|
234 |
|
</xs
l:if>
|
|
|
235 |
|
|
|
|
236 |
|
<xsl
:if test="
allow_edit
= 1">
|
|
|
237 |
|
<xsl:eleme
nt name="a
">
|
|
|
238 |
|
<xsl:a
ttribute n
ame="oncli
ck">f.edit
Post(<xsl:
value-of s
elect="@id
" />);</xs
l:attribut
e>
|
|
|
239 |
|
<xsl:a
ttribute n
ame="href"
>javascrip
t:void(0);
</xsl:attr
ibute>[L[E
dit]]</xsl
:element>
|
|
|
240 |
|
</xs
l:if>
|
|
|
241 |
|
|
|
|
242 |
|
|
|
|
243 |
|
<xsl
:if test="
(not((poin
ts < mi
n_point) o
r (vote_us
er_point =
-1))) and
0 = ../to
pic/locked
">
|
|
|
244 |
|
 
|
|
|
245 |
|
<xsl:eleme
nt name="a
">
|
|
|
246 |
|
<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>
|
|
|
247 |
|
<xsl:a
ttribute n
ame="href"
>javascrip
t:void(0);
</xsl:attr
ibute>[L[Q
uote]]</xs
l:element>
|
|
|
248 |
|
</xs
l:if>
|
|
|
249 |
|
|
|
|
250 |
|
|
|
|
251 |
|
<div
class="ra
te" id="ra
te_{@id}">
|
|
|
252 |
|
<span clas
s="rate_te
xt">
|
|
|
253 |
|
|
|
|
254 |
|
<xsl:i
f test="((
points <
; min_poin
t) or (vot
e_user_poi
nt = -1))"
>
|
|
|
255 |
|
[L
[post is h
idden]] (
|
|
|
256 |
|
<xsl:cho
ose>
|
|
|
257 |
|
<xsl
:when test
="1 = @for
ce_show">
|
|
|
258 |
|
<a href="j
avascript:
void(0);"
onclick="f
.hideHidde
nPost({@id
})">[L[hid
e post]]</
a>
|
|
|
259 |
|
</xs
l:when>
|
|
|
260 |
|
<xsl
:otherwise
>
|
|
|
261 |
|
<a href="j
avascript:
void(0);"
onclick="f
.showHidde
nPost({@id
})">[L[sho
w post]]</
a>
|
|
|
262 |
|
</xs
l:otherwis
e>
|
|
|
263 |
|
</xsl:ch
oose>
|
|
|
264 |
|
)
|
|
|
265 |
|
</xsl:
if>
|
|
|
266 |
|
|
|
|
267 |
|
[L[Poi
nts:]]
|
|
|
268 |
|
<span
id="points
_{@id}"><x
sl:value-o
f select="
points" />
</span>
|
|
|
269 |
|
 
|
|
|
270 |
|
[L[Vot
e]]
|
|
|
271 |
|
</span>
|
|
|
272 |
|
<xsl:choos
e>
|
|
|
273 |
|
<xsl:w
hen test="
'' = vote_
user_point
">
|
|
|
274 |
|
<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>
|
|
|
275 |
|
<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>
|
|
|
276 |
|
</xsl:
when>
|
|
|
277 |
|
<xsl:o
therwise>
|
|
|
278 |
|
<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>
|
|
|
279 |
|
<a
href="jav
ascript:vo
id(0);"><i
mg class="
vote_bad"
src="{/roo
t/urls/img
}vote_bad_
gray.gif"
/></a>
|
|
|
280 |
|
</xsl:
otherwise>
|
|
|
281 |
|
</xsl:choo
se>
|
|
|
282 |
|
</di
v>
|
|
|
283 |
|
|
|
|
284 |
|
</div>
|
|
|
285 |
|
|
|
|
286 |
|
</xsl:temp
late>
|
|
|
287 |
|
|
|
|
288 |
|
</xsl:styl
esheet>
|
|
|
289 |
|
|
|
|
290 |
|
|