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">
|
|
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=".
./../base/
xsl/rewrit
e.xsl" />
|
3 |
|
<xsl:inclu
de href="d
efault_acc
ess_denied
.xsl" />
|
|
4 |
|
<xsl:inclu
de href="d
efault_acc
ess_denied
.xsl" />
|
4 |
|
<xsl:inclu
de href="b
readcrumbs
.xsl" />
|
|
5 |
|
<xsl:inclu
de href="b
readcrumbs
.xsl" />
|
5 |
|
|
|
6 |
|
|
6 |
|
<xsl:templ
ate match=
"urls" />
|
|
7 |
|
<xsl:templ
ate match=
"urls" />
|
7 |
|
<xsl:templ
ate match=
"forum" />
|
|
8 |
|
<xsl:templ
ate match=
"forum" />
|
8 |
|
<xsl:templ
ate match=
"topic" />
|
|
9 |
|
<xsl:templ
ate match=
"topic" />
|
9 |
|
<xsl:templ
ate match=
"logininfo
" />
|
|
10 |
|
<xsl:templ
ate match=
"logininfo
" />
|
10 |
|
|
|
11 |
|
|
11 |
|
<xsl:templ
ate match=
"posts">
|
|
12 |
|
<xsl:templ
ate match=
"posts">
|
12 |
|
|
|
13 |
|
|
13 |
|
<xsl:c
all-templa
te name="b
readcrumbs
">
|
|
14 |
|
<xsl:c
all-templa
te name="b
readcrumbs
">
|
14 |
|
<x
sl:with-pa
ram name="
link1">
|
|
15 |
|
<x
sl:with-pa
ram name="
link1">
|
15 |
|
<a
href="../.
./gr
ou
p.php?
ID={forum/
id}"><xsl:
value-of
select="fo
rum/title"
disable-ou
tput-escap
ing="yes"
/></a>
|
|
16 |
|
<a
href="../.
./gr
p.php?
action=gro
up&
ID={forum/
id}"><xsl:
value-of
select="fo
rum/title"
disable-ou
tput-escap
ing="yes"
/></a>
|
16 |
|
</
xsl:with-p
aram>
|
|
17 |
|
</
xsl:with-p
aram>
|
17 |
|
<x
sl:with-pa
ram name="
link2">
|
|
18 |
|
<x
sl:with-pa
ram name="
link2">
|
18 |
|
<a
href="
?action=go
to&
forum
_id=
{forum/
i
d
}
&a
m
p
;st
a
r
t
=0
"
onclick="r
eturn
f.selectFo
rum(
{forum/
i
d
}
,
0);">Group
Forum</a>
|
|
19 |
|
<a
href="
{$rw_
forum
}
{forum/
ur
i
}
{$rw_foru
m
_
p
a
ge}0{$rw_f
o
r
um_ex
t
}
"
onclick="r
eturn
f.selectFo
rum(
'
{forum/
ur
i
}
'
,
0);">Group
Forum</a>
|
19 |
|
</
xsl:with-p
aram>
|
|
20 |
|
</
xsl:with-p
aram>
|
20 |
|
</xsl:
call-templ
ate>
|
|
21 |
|
</xsl:
call-templ
ate>
|
21 |
|
|
|
22 |
|
|
22 |
|
|
|
23 |
|
|
23 |
|
<div i
d="f_heade
r">
|
|
24 |
|
<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 |
|
<h
2 id="foru
m_title"><
xsl:value-
of select=
"topic/tit
le" disabl
e-output-e
scaping="y
es" /></h2
>
|
25 |
|
</div>
|
|
26 |
|
</div>
|
26 |
|
|
|
27 |
|
|
27 |
|
<div i
d="f_desc_
no"> 
</div>
|
|
28 |
|
<div i
d="f_desc_
no"> 
</div>
|
28 |
|
|
|
29 |
|
|
29 |
|
<d
iv class="
f_buttons"
>
|
|
30 |
|
<d
iv class="
f_buttons"
>
|
30 |
|
|
|
31 |
|
|
31 |
|
<xsl:cho
ose>
|
|
32 |
|
<xsl:cho
ose>
|
32 |
|
<xsl:whe
n test="fo
rum/id !=
0 and topi
c/id != 0"
>
|
|
33 |
|
<xsl:whe
n test="fo
rum/id !=
0 and topi
c/id != 0"
>
|
33 |
|
|
|
34 |
|
|
34 |
|
<xsl:varia
ble
name="oncl
ick"
select="co
ncat('retu
rn
f.newTopic
(
',
forum/
i
d
,
'
);')"
/>
|
|
35 |
|
<xsl:varia
ble
name="oncl
ick"
select="co
ncat('retu
rn
f.newTopic
(
"
',
forum/
ur
i
,
'
"
);')"
/>
|
|
|
36 |
|
|
35 |
|
<x
sl:if test
="perm/can
_post = 1"
>
|
|
37 |
|
<xsl
:if test="
perm/can_p
ost = 1">
|
36 |
|
<div
title="
New
Topic
"
class="btn
"
onmouseove
r="this.st
yle.backgr
oundPositi
on='0
25px'"
onmouseout
="this.sty
le.backgro
undPositio
n='0
0'">
|
|
38 |
|
|
|
|
39 |
|
<div
title="
[L[
New
Topic
]]
"
class="btn
"
onmouseove
r="this.st
yle.backgr
oundPositi
on='0
25px'"
onmouseout
="this.sty
le.backgro
undPositio
n='0
0'">
|
37 |
|
<a href="j
avascript:
void(0);"
onclick="{
$onclick}"
><img src=
"{/root/ur
ls/img}but
ton_l.gif"
/></a>
|
|
40 |
|
<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"
/>
|
|
41 |
|
<img src="
{/root/url
s/img}btn_
icon_new_t
opic.gif"
/>
|
39 |
|
<b>
New
Topic
</b>
|
|
42 |
|
<b>
[L[
New
Topic
]]
</b>
|
40 |
|
</di
v>
|
|
43 |
|
</di
v>
|
41 |
|
|
|
44 |
|
|
42 |
|
<xsl
:if test="
0 = topic/
locked">
|
|
45 |
|
<xsl
:if test="
0 = topic/
locked">
|
43 |
|
<xsl
:variable
name="oncl
ick2" sele
ct="concat
('return f
.postReply
(', forum/
id, ',', t
opic/id, '
);')" />
|
|
46 |
|
<xsl
:variable
name="oncl
ick2" sele
ct="concat
('return f
.postReply
(', forum/
id, ',', t
opic/id, '
);')" />
|
44 |
|
<div
title="
Post
Reply
"
class="btn
"
onmouseove
r="this.st
yle.backgr
oundPositi
on='0
25px'"
onmouseout
="this.sty
le.backgro
undPositio
n='0
0'">
|
|
47 |
|
<div
title="
[L[
Post
Reply
]]
"
class="btn
"
onmouseove
r="this.st
yle.backgr
oundPositi
on='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>
|
|
48 |
|
<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" />
|
|
49 |
|
<img src="
{/root/url
s/img}btn_
icon_reply
.gif" />
|
47 |
|
<b>
Post
Reply
</b>
|
|
50 |
|
<b>
[L[
Post
Reply
]]
</b>
|
48 |
|
</di
v>
|
|
51 |
|
</di
v>
|
49 |
|
</xs
l:if>
|
|
52 |
|
</xs
l:if>
|
|
|
53 |
|
|
50 |
|
</xs
l:if>
|
|
54 |
|
</xs
l:if>
|
51 |
|
|
|
55 |
|
|
52 |
|
<div
title="
Flag/Unfla
g
Topic
"
class="btn
"
onmouseove
r="this.st
yle.backgr
oundPositi
on='0
25px'"
onmouseout
="this.sty
le.backgro
undPositio
n='0
0'"
>
|
|
56 |
|
<div
title="
[L[
Flag/Unfla
g
]]
"
class="btn
"
onmouseove
r="this.st
yle.backgr
oundPositi
on='0
25px'"
onmouseout
="this.sty
le.backgro
undPositio
n='0
0'"
>
|
53 |
|
<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>
|
|
57 |
|
<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>
|
54 |
|
<img src="
{/root/url
s/img}btn_
icon_flag.
gif" />
|
|
58 |
|
<img src="
{/root/url
s/img}btn_
icon_flag.
gif" />
|
55 |
|
<b>
Flag/Unfla
g
</b>
|
|
59 |
|
<b>
[L[
Flag/Unfla
g
]]
</b>
|
56 |
|
</di
v>
|
|
60 |
|
</di
v>
|
57 |
|
|
|
61 |
|
|
58 |
|
<xsl
:if test="
1 = /root/
logininfo/
admin">
|
|
62 |
|
<xsl
:if test="
1 = /root/
logininfo/
admin">
|
59 |
|
<div
title="
Lock/Unloc
k
Topic
"
class="btn
"
onmouseove
r="this.st
yle.backgr
oundPositi
on='0
25px'"
onmouseout
="this.sty
le.backgro
undPositio
n='0
0'"
>
|
|
63 |
|
<div
title="
[L[
Lock/Unloc
k
]]
"
class="btn
"
onmouseove
r="this.st
yle.backgr
oundPositi
on='0
25px'"
onmouseout
="this.sty
le.backgro
undPositio
n='0
0'"
>
|
60 |
|
<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>
|
|
64 |
|
<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>
|
61 |
|
<xsl:if te
st="0 = to
pic/locked
">
|
|
65 |
|
<xsl:i
f test="0
= topic/lo
cked">
|
62 |
|
<img i
d="btn_loc
k_topic" s
rc="{/root
/urls/img}
btn_icon_u
nlocked.gi
f" />
|
|
66 |
|
<i
mg id="btn
_lock_topi
c" src="{/
root/urls/
img}btn_ic
on_unlocke
d.gif" />
|
63 |
|
</xsl:if>
|
|
67 |
|
</xsl:
if>
|
64 |
|
<xsl:if te
st="1 = to
pic/locked
">
|
|
68 |
|
<xsl:i
f test="1
= topic/lo
cked">
|
65 |
|
<img i
d="btn_loc
k_topic" s
rc="{/root
/urls/img}
btn_icon_l
ocked.gif"
/>
|
|
69 |
|
<i
mg id="btn
_lock_topi
c" src="{/
root/urls/
img}btn_ic
on_locked.
gif" />
|
66 |
|
</xsl:if>
|
|
70 |
|
</xsl:
if>
|
67 |
|
<b> 
Lock/Unloc
k
</b>
|
|
71 |
|
<b> 
[L[
Lock/Unloc
k
]]
</b>
|
68 |
|
</di
v>
|
|
72 |
|
</div>
|
69 |
|
</xs
l:if>
|
|
73 |
|
</xs
l:if>
|
70 |
|
|
|
74 |
|
|
71 |
|
<div
class="f_
buttons_ic
n">
|
|
75 |
|
<div
class="f_
buttons_ic
n">
|
72 |
|
|
|
76 |
|
|
73 |
|
<div
title="
permalink
"
class="icn
"
onmouseove
r="this.st
yle.backgr
oundPositi
on='0
24px'"
onmouseout
="this.sty
le.backgro
undPositio
n='0
0'"
>
|
|
77 |
|
<div
title="
[L[
permalink
]]
"
class="icn
"
onmouseove
r="this.st
yle.backgr
oundPositi
on='0
24px'"
onmouseout
="this.sty
le.backgro
undPositio
n='0
0'"
>
|
74 |
|
<a
href="
index.php?
acti
o
n=g
ot
o&
a
mp;
topic
_id=
{topic/
i
d
}"
target="_b
lank"><img
src="{/roo
t/urls/img
}button_l.
gif"
/></a>
|
|
78 |
|
<a
href="
{/r
o
ot
/b
a
se}{$rw_
topic
}
{topic/
ur
i
}{$rw_topi
c_ext
}"
target="_b
lank"><img
src="{/roo
t/urls/img
}button_l.
gif"
/></a>
|
75 |
|
<img s
rc="{/root
/urls/img}
btn_icon_p
link.gif"
/>
|
|
79 |
|
<img s
rc="{/root
/urls/img}
btn_icon_p
link.gif"
/>
|
76 |
|
</div>
|
|
80 |
|
</div>
|
77 |
|
|
|
81 |
|
|
|
|
82 |
|
<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'" >
|
|
|
83 |
|
<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>
|
|
|
84 |
|
<img s
rc="{/root
/urls/img}
btn_icon_r
ss.gif" />
|
|
|
85 |
|
</div>
|
|
|
86 |
|
|
78 |
|
</di
v>
|
|
87 |
|
</di
v>
|
79 |
|
|
|
88 |
|
|
80 |
|
</xsl:wh
en>
|
|
89 |
|
</xsl:wh
en>
|
81 |
|
<xsl:oth
erwise>
|
|
90 |
|
<xsl:oth
erwise>
|
82 |
|

0;
|
|
91 |
|

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