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="c
anvas_incl
udes.xsl"
/>
|
|
|
4 |
|
<xsl:inclu
de href="c
anvas_init
.xsl" />
|
|
|
5 |
|
|
|
|
6 |
|
<xsl:templ
ate match=
"root">
|
|
|
7 |
|
<html xmln
s="http://
www.w3.org
/1999/xhtm
l" xml:lan
g="en-US"
lang="en-U
S">
|
|
|
8 |
|
<head>
|
|
|
9 |
|
<meta http
-equiv="Co
ntent-Type
" content=
"text/html
; charset=
utf-8" />
|
|
|
10 |
|
<title>
|
|
|
11 |
|
<xsl:c
hoose>
|
|
|
12 |
|
<x
sl:when te
st="string
-length(/r
oot/page/p
osts/topic
/title) &g
t; 0">
|
|
|
13 |
|
<xsl:val
ue-of sele
ct="/root/
page/posts
/topic/tit
le" /> [L[
Orca Forum
]]
|
|
|
14 |
|
</
xsl:when>
|
|
|
15 |
|
<x
sl:when te
st="string
-length(/r
oot/page/t
opics/foru
m/title) &
gt; 0">
|
|
|
16 |
|
<xsl:val
ue-of sele
ct="/root/
page/topic
s/forum/ti
tle" /> [L
[Orca Foru
m]]
|
|
|
17 |
|
</
xsl:when>
|
|
|
18 |
|
<x
sl:otherwi
se>
|
|
|
19 |
|
<xsl:val
ue-of sele
ct="title"
/>
|
|
|
20 |
|
</
xsl:otherw
ise>
|
|
|
21 |
|
</xsl:
choose>
|
|
|
22 |
|
</title>
|
|
|
23 |
|
|
|
|
24 |
|
<xsl:eleme
nt name="b
ase">
|
|
|
25 |
|
<xsl:a
ttribute n
ame="href"
><xsl:valu
e-of selec
t="base"/>
</xsl:attr
ibute>
|
|
|
26 |
|
</xsl:elem
ent>
|
|
|
27 |
|
|
|
|
28 |
|
<xsl:call-
template n
ame="canva
s_includes
" />
|
|
|
29 |
|
|
|
|
30 |
|
</head>
|
|
|
31 |
|
<xsl:eleme
nt name="b
ody">
|
|
|
32 |
|
<xsl:a
ttribute n
ame="onloa
d">if(!doc
ument.body
) { docume
nt.body =
document.g
etElementB
yId('body'
); }; h =
new BxHist
ory(); doc
ument.h =
h; return
h.init('h'
); </xsl:a
ttribute>
|
|
|
33 |
|
<xsl:a
ttribute n
ame="id">b
ody</xsl:a
ttribute>
|
|
|
34 |
|
|
|
|
35 |
|
<xsl:c
all-templa
te name="c
anvas_init
" />
|
|
|
36 |
|
|
|
|
37 |
|
|
|
|
38 |
|
<div i
d="content
">
|
|
|
39 |
|
|
|
|
40 |
|
<div id="f
_top_nav">
|
|
|
41 |
|
|
|
|
42 |
|
<a hre
f="{/root/
base}"><im
g class="l
ogo_orca"
src="{/roo
t/urls/img
}logo.gif"
/></a>
|
|
|
43 |
|
|
|
|
44 |
|
<div i
d="f_hello
">
|
|
|
45 |
|
&#
160;
|
|
|
46 |
|
<x
sl:choose>
|
|
|
47 |
|
<xsl:whe
n test="st
ring-lengt
h(logininf
o/username
) > 0">
|
|
|
48 |
|
[L[Logged
in as]] <b
><xsl:valu
e-of selec
t="loginin
fo/usernam
e" /></b>
|
|
|
49 |
|
 
0; 
|
|
|
50 |
|
(
|
|
|
51 |
|
<xsl:if te
st="1 = /r
oot/logini
nfo/admin"
>
|
|
|
52 |
|
<a hre
f="javascr
ipt:void(0
);" onclic
k="return
orca_admin
.editCateg
ories()">[
L[Manage F
orum]]</a>
, 
|
|
|
53 |
|
<a hre
f="javascr
ipt:void(0
);" onclic
k="return
orca_admin
.reportedP
osts()">[L
[Reported
Posts]]</a
>, 
|
|
|
54 |
|
[L[Com
pile Langs
]]:
|
|
|
55 |
|
<xsl:f
or-each se
lect="lang
s/lang">
|
|
|
56 |
|
<a
href="jav
ascript:vo
id(0);" on
click="ret
urn orca_a
dmin.compi
leLangs('{
.}')"><xsl
:value-of
select="."
/></a>
|
|
|
57 |
|
<x
sl:if test
="position
() != last
()"> 
</xsl:if>
|
|
|
58 |
|
</xsl:
for-each>,
|
|
|
59 |
|
</xsl:if>
|
|
|
60 |
|
<a href="j
avascript:
void(0);"
onclick="r
eturn orca
_login.log
out()">[L[
Logout]]</
a>
|
|
|
61 |
|
)
|
|
|
62 |
|
</xsl:wh
en>
|
|
|
63 |
|
<xsl:oth
erwise>
|
|
|
64 |
|
</xsl:ot
herwise>
|
|
|
65 |
|
</
xsl:choose
>
|
|
|
66 |
|
</div>
|
|
|
67 |
|
|
|
|
68 |
|
<div i
d="f_nav">
|
|
|
69 |
|
<xs
l:choose>
|
|
|
70 |
|
<x
sl:when te
st="string
-length(lo
gininfo/us
ername) &g
t; 0">
|
|
|
71 |
|
<span st
yle="backg
round-imag
e:url({/ro
ot/urls/im
g}btn_icon
_flags.gif
)">
|
|
|
72 |
|
<a h
ref="javas
cript:void
(0);" oncl
ick="retur
n f.showMy
Flags()">[
L[My Flags
]]</a>
|
|
|
73 |
|
</span>
|
|
|
74 |
|
<span st
yle="backg
round-imag
e:url({/ro
ot/urls/im
g}btn_icon
_topics.gi
f)">
|
|
|
75 |
|
<a h
ref="javas
cript:void
(0);" oncl
ick="retur
n f.showMy
Threads()"
>[L[My Top
ics]]</a>
|
|
|
76 |
|
</span>
|
|
|
77 |
|
</
xsl:when>
|
|
|
78 |
|
<x
sl:otherwi
se>
|
|
|
79 |
|
<span st
yle="backg
round-imag
e:url({/ro
ot/urls/im
g}btn_icon
_join.gif)
">
|
|
|
80 |
|
<a h
ref="javas
cript:void
(0);" oncl
ick="orca_
login.show
JoinForm()
">[L[Join]
]</a>
|
|
|
81 |
|
</span>
|
|
|
82 |
|
<span st
yle="backg
round-imag
e:url({/ro
ot/urls/im
g}btn_icon
_login.gif
)">
|
|
|
83 |
|
<a h
ref="javas
cript:void
(0);" oncl
ick="orca_
login.show
LoginForm(
)">[L[Logi
n]]</a>
|
|
|
84 |
|
</span>
|
|
|
85 |
|
</
xsl:otherw
ise>
|
|
|
86 |
|
</
xsl:choose
>
|
|
|
87 |
|
<span st
yle="backg
round-imag
e:url({/ro
ot/urls/im
g}btn_icon
_search.gi
f)">
|
|
|
88 |
|
<a h
ref="javas
cript:void
(0);" oncl
ick="retur
n f.showSe
arch()">[L
[Search]]<
/a>
|
|
|
89 |
|
</span>
|
|
|
90 |
|
</div>
|
|
|
91 |
|
|
|
|
92 |
|
</div>
|
|
|
93 |
|
|
|
|
94 |
|
<div id="f
_head" sty
le="backgr
ound-image
:url({/roo
t/urls/img
}grad_bg.p
ng);">
|
|
|
95 |
|
 
|
|
|
96 |
|
</div>
|
|
|
97 |
|
|
|
|
98 |
|
<div id="o
rca_main">
|
|
|
99 |
|
<xsl:i
f test="no
t(string-l
ength(page
/onload))"
>
|
|
|
100 |
|
<xsl:a
pply-templ
ates selec
t="page" /
>
|
|
|
101 |
|
</xsl:
if>
|
|
|
102 |
|
</div>
|
|
|
103 |
|
|
|
|
104 |
|
<div id="b
ottom">
|
|
|
105 |
|
<xsl:i
f test="1
!= /root/d
isable_boo
nex_footer
s">Powered
by <a hre
f="http://
www.boonex
.com/produ
cts/orca">
Orca Inter
active For
um Script<
/a>.</xsl:
if>
|
|
|
106 |
|
[L[Cop
yright]]
|
|
|
107 |
|
</div>
|
|
|
108 |
|
|
|
|
109 |
|
</div>
|
|
|
110 |
|
|
|
|
111 |
|
<scrip
t language
="javascri
pt" type="
text/javas
cript">
|
|
|
112 |
|
co
rrectPNG (
'f_head');
|
|
|
113 |
|
</scri
pt>
|
|
|
114 |
|
|
|
|
115 |
|
</xsl:elem
ent>
|
|
|
116 |
|
</html>
|
|
|
117 |
|
</xsl:temp
late>
|
|
|
118 |
|
|
|
|
119 |
|
</xsl:styl
esheet>
|