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="c
anvas_incl
udes.xsl"
/>
|
|
|
4 |
|
<xsl:inclu
de href=".
./../base/
xsl/canvas
_init.xsl"
/>
|
|
|
5 |
|
|
3 |
|
<xsl:templ
ate match=
"root">
|
|
6 |
|
<xsl:templ
ate match=
"root">
|
4 |
|
<html xmln
s="http://
www.w3.org
/1999/xhtm
l" xml:lan
g="en-US"
lang="en-U
S">
|
|
7 |
|
<html xmln
s="http://
www.w3.org
/1999/xhtm
l" xml:lan
g="en-US"
lang="en-U
S">
|
5 |
|
<head>
|
|
8 |
|
<head>
|
6 |
|
<meta http
-equiv="Co
ntent-Type
" content=
"text/html
; charset=
utf-8" />
|
|
9 |
|
<meta http
-equiv="Co
ntent-Type
" content=
"text/html
; charset=
utf-8" />
|
7 |
|
<title>
|
|
10 |
|
<title>
|
8 |
|
<xsl:c
hoose>
|
|
11 |
|
<xsl:c
hoose>
|
9 |
|
<x
sl:when te
st="string
-length(/r
oot/page/p
osts/topic
/title) &g
t; 0">
|
|
12 |
|
<x
sl:when te
st="string
-length(/r
oot/page/p
osts/topic
/title) &g
t; 0">
|
10 |
|
<xsl:value
-of
select="/r
oot/page/p
osts/topic
/title"
/>
::
Orca
Forum
|
|
13 |
|
<xsl:value
-of
select="/r
oot/page/p
osts/topic
/title"
/>
[L[
Orca
Forum
]]
|
11 |
|
</
xsl:when>
|
|
14 |
|
</
xsl:when>
|
12 |
|
<x
sl:when te
st="string
-length(/r
oot/page/t
opics/foru
m/title) &
gt; 0">
|
|
15 |
|
<x
sl:when te
st="string
-length(/r
oot/page/t
opics/foru
m/title) &
gt; 0">
|
13 |
|
<xsl:value
-of
select="/r
oot/page/t
opics/foru
m/title"
/>
::
Orca
Forum
|
|
16 |
|
<xsl:value
-of
select="/r
oot/page/t
opics/foru
m/title"
/>
[L[
Orca
Forum
]]
|
14 |
|
</
xsl:when>
|
|
17 |
|
</
xsl:when>
|
15 |
|
<x
sl:otherwi
se>
|
|
18 |
|
<x
sl:otherwi
se>
|
16 |
|
<xsl:val
ue-of sele
ct="title"
/>
|
|
19 |
|
<xsl:val
ue-of sele
ct="title"
/>
|
17 |
|
</
xsl:otherw
ise>
|
|
20 |
|
</
xsl:otherw
ise>
|
18 |
|
</xsl:
choose>
|
|
21 |
|
</xsl:
choose>
|
19 |
|
</title>
|
|
22 |
|
</title>
|
20 |
|
|
|
23 |
|
|
21 |
|
<xsl:eleme
nt name="b
ase">
|
|
24 |
|
<xsl:eleme
nt name="b
ase">
|
22 |
|
<xsl:a
ttribute n
ame="href"
><xsl:valu
e-of selec
t="base"/>
</xsl:attr
ibute>
|
|
25 |
|
<xsl:a
ttribute n
ame="href"
><xsl:valu
e-of selec
t="base"/>
</xsl:attr
ibute>
|
23 |
|
</xsl:elem
ent>
|
|
26 |
|
</xsl:elem
ent>
|
24 |
|
|
|
27 |
|
|
25 |
|
<link type
="text/css
" rel="sty
lesheet" h
ref="{/roo
t/urls/css
}main.css"
/>
|
|
28 |
|
<xsl:call-
template n
ame="canva
s_includes
" />
|
26 |
|
<link type
="text/css
" rel="sty
lesheet" h
ref="{/roo
t/url_dolp
hin}templa
tes/tmpl_u
ni/css/gen
eral.css"
/>
|
|
29 |
|
|
27 |
|
<link type
="text/css
" rel="sty
lesheet" h
ref="{/roo
t/url_dolp
hin}templa
tes/tmpl_u
ni/css/anc
hor.css" /
>
|
|
|
28 |
|
<link type
="text/css
" rel="sty
lesheet" h
ref="{/roo
t/url_dolp
hin}plugin
s/tiny_mce
/plugins/c
ontextmenu
/css/conte
xtmenu.css
" />
|
|
|
29 |
|
<link type
="text/css
" rel="sty
lesheet" h
ref="{/roo
t/url_dolp
hin}plugin
s/tiny_mce
/themes/ad
vanced/css
/editor_ui
.css" />
|
|
|
30 |
|
<!--
|
|
|
31 |
|
<script la
nguage="ja
vascript"
type="text
/javascrip
t" src="js
/util.js">
</script>
|
|
|
32 |
|
<script la
nguage="ja
vascript"
type="text
/javascrip
t" src="js
/BxError.j
s"></scrip
t>
|
|
|
33 |
|
<script la
nguage="ja
vascript"
type="text
/javascrip
t" src="js
/BxXmlRequ
est.js"></
script>
|
|
|
34 |
|
<script la
nguage="ja
vascript"
type="text
/javascrip
t" src="js
/BxXslTran
sform.js">
</script>
|
|
|
35 |
|
<script la
nguage="ja
vascript"
type="text
/javascrip
t" src="js
/BxForum.j
s"></scrip
t>
|
|
|
36 |
|
<script la
nguage="ja
vascript"
type="text
/javascrip
t" src="js
/BxEditor.
js"></scri
pt>
|
|
|
37 |
|
<script la
nguage="ja
vascript"
type="text
/javascrip
t" src="js
/BxHistory
.js"></scr
ipt>
|
|
|
38 |
|
<script la
nguage="ja
vascript"
type="text
/javascrip
t" src="js
/BxLogin.j
s"></scrip
t>
|
|
|
39 |
|
<xsl:if te
st="1 = /r
oot/logini
nfo/admin"
><script l
anguage="j
avascript"
type="tex
t/javascri
pt" src="j
s/BxAdmin.
js"></scri
pt></xsl:i
f>
|
|
|
40 |
|
-->
|
|
|
41 |
|
<script la
nguage="ja
vascript"
type="text
/javascrip
t" src="js
/loader.ph
p"></scrip
t>
|
|
|
42 |
|
<script la
nguage="ja
vascript"
type="text
/javascrip
t" src="{/
root/url_d
olphin}plu
gins/tiny_
mce/tiny_m
ce_gzip.js
"></script
>
|
|
|
43 |
|
<script la
nguage="ja
vascript"
type="text
/javascrip
t" src="{/
root/url_d
olphin}inc
/js/functi
ons.js"></
script>
|
|
|
44 |
|
</head>
|
|
30 |
|
</head>
|
45 |
|
<xsl:eleme
nt name="b
ody">
|
|
31 |
|
<xsl:eleme
nt name="b
ody">
|
46 |
|
<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>
|
|
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>
|
47 |
|
<xsl:a
ttribute n
ame="id">b
ody</xsl:a
ttribute>
|
|
33 |
|
<xsl:a
ttribute n
ame="id">b
ody</xsl:a
ttribute>
|
48 |
|
|
|
34 |
|
|
49 |
|
<scrip
t type="te
xt/javascr
ipt">
|
|
35 |
|
<xsl:c
all-templa
te name="c
anvas_init
" />
|
50 |
|
|
|
|
51 |
|
<x
sl:if test
="'client'
= /root/u
rls/xsl_mo
de">
|
|
|
52 |
|
do
cument.wri
te = funct
ion (s) {
};
|
|
|
53 |
|
</
xsl:if>
|
|
|
54 |
|
|
|
|
55 |
|
ti
nyMCE_GZ.l
oadFile =
function(u
)
|
|
|
56 |
|
{
|
|
|
57 |
|
var x, e
x;
|
|
|
58 |
|
if ( win
dow.XMLHtt
pRequest )
|
|
|
59 |
|
{
|
|
|
60 |
|
x =
new XMLHtt
pRequest()
;
|
|
|
61 |
|
}
|
|
|
62 |
|
else
|
|
|
63 |
|
{
|
|
|
64 |
|
try
{
|
|
|
65 |
|
x = new Ac
tiveXObjec
t("Microso
ft.XMLHTTP
");
|
|
|
66 |
|
} ca
tch (ex) {
|
|
|
67 |
|
x = new Ac
tiveXObjec
t("Msxml2.
XMLHTTP");
|
|
|
68 |
|
}
|
|
|
69 |
|
}
|
|
|
70 |
|
x.open("
GET", u.re
place(/%2C
/g, ','),
false);
|
|
|
71 |
|
x.send(n
ull);
|
|
|
72 |
|
this.scr
iptData =
x.response
Text;
|
|
|
73 |
|
};
|
|
|
74 |
|
|
|
|
75 |
|
|
|
|
76 |
|
ti
nyMCE_GZ.i
nit({
|
|
|
77 |
|
plugins
: 'table,a
dvimage,ad
vlink,emot
ions,iespe
ll,insertd
atetime,pr
eview,zoom
,searchrep
lace,print
,contextme
nu',
|
|
|
78 |
|
themes :
'advanced
',
|
|
|
79 |
|
language
s : 'en',
|
|
|
80 |
|
disk_cac
he : true,
|
|
|
81 |
|
debug :
false
|
|
|
82 |
|
})
;
|
|
|
83 |
|
ev
al(tinyMCE
_GZ.script
Data);
|
|
|
84 |
|
|
|
|
85 |
|
</scri
pt>
|
|
|
86 |
|
|
|
|
87 |
|
<scrip
t language
="javascri
pt" type="
text/javas
cript">
|
|
|
88 |
|
|
|
|
89 |
|
fu
nction orc
aSetupCont
ent (id, b
ody, doc)
{ }
|
|
|
90 |
|
|
|
|
91 |
|
ti
nyMCE.init
({
|
|
|
92 |
|
entity_e
ncoding :
"raw",
|
|
|
93 |
|
mode : "
exact",
|
|
|
94 |
|
elements
: "tinyEd
itor",
|
|
|
95 |
|
theme :
"advanced"
,
|
|
|
96 |
|
gecko_sp
ellcheck :
true,
|
|
|
97 |
|
content_
css : "<xs
l:value-of
select="/
root/urls/
css" />bla
nk.css",
|
|
|
98 |
|
|
|
|
99 |
|
remove_l
inebreaks
: true,
|
|
|
100 |
|
|
|
|
101 |
|
setupcon
tent_callb
ack : "orc
aSetupCont
ent",
|
|
|
102 |
|
|
|
|
103 |
|
plugins
: "table,a
dvimage,ad
vlink,emot
ions,iespe
ll,insertd
atetime,pr
eview,zoom
,searchrep
lace,print
,contextme
nu",
|
|
|
104 |
|
theme_ad
vanced_but
tons1_add
: "fontsiz
eselect,se
parator,fo
recolor,ba
ckcolor",
|
|
|
105 |
|
theme_ad
vanced_but
tons2_add
: "separat
or,insertd
ate,insert
time,previ
ew,zoom",
|
|
|
106 |
|
theme_ad
vanced_but
tons2_add_
before: "c
ut,copy,pa
ste,separa
tor,search
,replace,s
eparator",
|
|
|
107 |
|
theme_ad
vanced_but
tons3_add_
before : "
tablecontr
ols,separa
tor",
|
|
|
108 |
|
theme_ad
vanced_but
tons3_add
: "emotion
s,iespell,
flash,sepa
rator,prin
t",
|
|
|
109 |
|
theme_ad
vanced_dis
able : "ch
armap",
|
|
|
110 |
|
theme_ad
vanced_too
lbar_locat
ion : "top
",
|
|
|
111 |
|
theme_ad
vanced_too
lbar_align
: "left",
|
|
|
112 |
|
theme_ad
vanced_pat
h_location
: "bottom
",
|
|
|
113 |
|
plugin_i
nsertdate_
dateFormat
: "%Y-%m-
%d",
|
|
|
114 |
|
plugin_i
nsertdate_
timeFormat
: "%H:%M:
%S",
|
|
|
115 |
|
extended
_valid_ele
ments : "a
[name|href
|target|ti
tle|onclic
k],img[cla
ss|src|bor
der=0|alt|
title|hspa
ce|vspace|
width|heig
ht|align|o
nmouseover
|onmouseou
t|name],hr
[class|wid
th|size|no
shade],fon
t[face|siz
e|color|st
yle],span[
class|alig
n|style]"
|
|
|
116 |
|
});
|
|
|
117 |
|
|
|
|
118 |
|
</scri
pt>
|
|
|
119 |
|
|
|
|
120 |
|
<scrip
t language
="javascri
pt" type="
text/javas
cript">
|
|
|
121 |
|
|
|
|
122 |
|
va
r urlXsl =
'<xsl:val
ue-of sele
ct="/root/
urls/xsl"
/>';
|
|
|
123 |
|
va
r urlImg =
'<xsl:val
ue-of sele
ct="/root/
urls/img"
/>';
|
|
|
124 |
|
va
r defTitle
= '<xsl:v
alue-of se
lect="/roo
t/title" /
>';
|
|
|
125 |
|
va
r isLogged
In = '<xsl
:value-of
select="/r
oot/logini
nfo/userna
me" />'.le
ngth ? tru
e : false;
|
|
|
126 |
|
|
|
|
127 |
|
va
r xsl_mode
= '<xsl:v
alue-of se
lect="/roo
t/urls/xsl
_mode" />'
;
|
|
|
128 |
|
|
|
|
129 |
|
va
r f = new
Forum ('<x
sl:value-o
f select="
base"/>',
<xsl:value
-of select
="min_poin
t"/>);
|
|
|
130 |
|
do
cument.f =
f;
|
|
|
131 |
|
va
r orca_log
in = new L
ogin ('<xs
l:value-of
select="b
ase"/>', f
);
|
|
|
132 |
|
do
cument.orc
a_login =
orca_login
;
|
|
|
133 |
|
<x
sl:if test
="1 = /roo
t/logininf
o/admin">
|
|
|
134 |
|
var orca
_admin = n
ew Admin (
'<xsl:valu
e-of selec
t="base"/>
', f);
|
|
|
135 |
|
document
.orca_admi
n = orca_a
dmin;
|
|
|
136 |
|
</
xsl:if>
|
|
|
137 |
|
|
|
36 |
|
|
138 |
|
</scri
pt>
|
|
|
139 |
|
|
|
37 |
|
|
140 |
|
<xsl:v
alue-of se
lect="/roo
t/header"
disable-ou
tput-escap
ing="yes"
/>
|
|
38 |
|
<xsl:v
alue-of se
lect="/roo
t/header"
disable-ou
tput-escap
ing="yes"
/>
|
141 |
|
|
|
39 |
|
|
142 |
|
<div
id="orca_
main">
|
|
40 |
|
<div
id="orca_
main">
|
143 |
|
|
|
41 |
|
|
144 |
|
<xsl:i
f test="no
t(string-l
ength(page
/onload))"
>
|
|
42 |
|
<xsl:i
f test="no
t(string-l
ength(page
/onload))"
>
|
145 |
|
<xsl:a
pply-templ
ates selec
t="page" /
>
|
|
43 |
|
<xsl:a
pply-templ
ates selec
t="page" /
>
|
146 |
|
</xsl:
if>
|
|
44 |
|
</xsl:
if>
|
147 |
|
|
|
45 |
|
|
148 |
|
</di
v>
|
|
46 |
|
</di
v>
|
149 |
|
|
|
47 |
|
|
150 |
|
<xsl:v
alue-of se
lect="/roo
t/footer"
disable-ou
tput-escap
ing="yes"
/>
|
|
48 |
|
<xsl:v
alue-of se
lect="/roo
t/footer"
disable-ou
tput-escap
ing="yes"
/>
|
151 |
|
|
|
49 |
|
|
152 |
|
</xsl:elem
ent>
|
|
50 |
|
</xsl:elem
ent>
|
153 |
|
</html>
|
|
51 |
|
</html>
|
154 |
|
</xsl:temp
late>
|
|
52 |
|
</xsl:temp
late>
|
155 |
|
|
|
53 |
|
|
156 |
|
</xsl:styl
esheet>
|
|
54 |
|
</xsl:styl
esheet>
|