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:templ
ate match=
"urls" />
|
|
3 |
|
<xsl:i
nclude hre
f="../../b
ase/xsl/ed
it_forum_f
orm.xsl" /
>
|
4 |
|
|
|
|
5 |
|
<xsl:templ
ate match=
"forum">
|
|
|
6 |
|
|
|
|
7 |
|
<div c
lass="wnd_
box">
|
|
|
8 |
|
|
|
|
9 |
|
<div sty
le="displa
y:none;" i
d="js_code
">
|
|
|
10 |
|
var f = do
cument.for
ms['orca_e
dit_forum'
];
|
|
|
11 |
|
orca_admin
.editForum
Submit (
|
|
|
12 |
|
f.elem
ents['cat_
id'].value
,
|
|
|
13 |
|
f.elem
ents['foru
m_id'].val
ue,
|
|
|
14 |
|
f.elem
ents['foru
m_title'].
value,
|
|
|
15 |
|
f.elem
ents['foru
m_desc'].v
alue,
|
|
|
16 |
|
f.elem
ents['foru
m_type'].v
alue
|
|
|
17 |
|
);
|
|
|
18 |
|
</div>
|
|
|
19 |
|
|
|
|
20 |
|
<div cla
ss="wnd_ti
tle">
|
|
|
21 |
|
<h2>
|
|
|
22 |
|
<xsl:if te
st="@forum
_id > 0
">Edit for
um!</xsl:i
f>
|
|
|
23 |
|
<xsl:if te
st="0 = @f
orum_id">N
ew forum</
xsl:if>
|
|
|
24 |
|
</h2
>
|
|
|
25 |
|
</div>
|
|
|
26 |
|
|
|
|
27 |
|
<div cla
ss="wnd_co
ntent">
|
|
|
28 |
|
|
|
|
29 |
|
<form na
me="orca_e
dit_forum"
onsubmit=
"var x=doc
ument.getE
lementById
('js_code'
).innerHTM
L; eval(x)
; return f
alse;">
|
|
|
30 |
|
|
|
|
31 |
|
<div
>
|
|
|
32 |
|
|
|
|
33 |
|
<fieldset
class="for
m_field_ro
w"><legend
>Forum tit
le:</legen
d>
|
|
|
34 |
|
<input
class="sh
" type="te
xt" name="
forum_titl
e" value="
{title}" /
>
|
|
|
35 |
|
</fieldset
>
|
|
|
36 |
|
<br /><br
/>
|
|
|
37 |
|
|
|
|
38 |
|
<fieldset
class="for
m_field_ro
w"><legend
>Forum des
cription:<
/legend>
|
|
|
39 |
|
<input
class="sh
" type="te
xt" name="
forum_desc
" value="{
desc}" />
|
|
|
40 |
|
</fieldset
>
|
|
|
41 |
|
<br /><br
/>
|
|
|
42 |
|
|
|
|
43 |
|
<fieldset
class="for
m_field_ro
w"><legend
>Forum typ
e:</legend
>
|
|
|
44 |
|
<selec
t name="fo
rum_type">
|
|
|
45 |
|
<x
sl:element
name="opt
ion">
|
|
|
46 |
|
<xsl:att
ribute nam
e="value">
public</xs
l:attribut
e>
|
|
|
47 |
|
<xsl:if
test="'pub
lic' = typ
e">
|
|
|
48 |
|
<xsl
:attribute
name="sel
ected">sel
ected</xsl
:attribute
>
|
|
|
49 |
|
</xsl:if
>
|
|
|
50 |
|
public
|
|
|
51 |
|
</
xsl:elemen
t>
|
|
|
52 |
|
<x
sl:element
name="opt
ion">
|
|
|
53 |
|
<xsl:att
ribute nam
e="value">
private</x
sl:attribu
te>
|
|
|
54 |
|
<xsl:if
test="'pri
vate' = ty
pe"><xsl:a
ttribute n
ame="selec
ted">selec
ted</xsl:a
ttribute><
/xsl:if>
|
|
|
55 |
|
private
|
|
|
56 |
|
</
xsl:elemen
t>
|
|
|
57 |
|
</sele
ct>
|
|
|
58 |
|
</fieldset
>
|
|
|
59 |
|
<br /><br
/>
|
|
|
60 |
|
</di
v>
|
|
|
61 |
|
|
|
|
62 |
|
<inp
ut type="h
idden" nam
e="forum_i
d" value="
{@forum_id
}" />
|
|
|
63 |
|
<inp
ut type="h
idden" nam
e="cat_id"
value="{c
at_id}" />
|
|
|
64 |
|
<inp
ut type="h
idden" nam
e="action"
value="ed
it_forum_s
ubmit" />
|
|
|
65 |
|
|
|
|
66 |
|
<div
style="ma
rgin:0px;
margin-rig
ht:80px; m
argin-top:
12px; marg
in-bottom:
40px;">
|
|
|
67 |
|
|
|
|
68 |
|
<div c
lass="btn"
onmouseov
er="this.s
tyle.backg
roundPosit
ion='0 25p
x'" onmous
eout="this
.style.bac
kgroundPos
ition='0 0
'">
|
|
|
69 |
|
<a
href="jav
ascript:vo
id(0);" on
click="f.h
ideHTML();
return fa
lse;"><img
src="{/ro
ot/urls/im
g}button_l
.gif" /></
a>
|
|
|
70 |
|
<i
mg src="{/
root/urls/
img}btn_ic
on_cancel.
gif" />
|
|
|
71 |
|
<b
>Cancel</b
>
|
|
|
72 |
|
</div>
|
|
|
73 |
|
|
|
|
74 |
|
<div c
lass="btn"
onmouseov
er="this.s
tyle.backg
roundPosit
ion='0 25p
x'" onmous
eout="this
.style.bac
kgroundPos
ition='0 0
'">
|
|
|
75 |
|
<a
href="jav
ascript:vo
id(0);" on
click="var
x=documen
t.getEleme
ntById('js
_code').in
nerHTML; e
val(x); re
turn false
;"><img sr
c="{/root/
urls/img}b
utton_l.gi
f" /></a>
|
|
|
76 |
|
<i
mg src="{/
root/urls/
img}btn_ic
on_submit.
gif" />
|
|
|
77 |
|
<b
>Submit</b
>
|
|
|
78 |
|
</div>
|
|
|
79 |
|
|
|
|
80 |
|
</di
v>
|
|
|
81 |
|
|
|
|
82 |
|
</form>
|
|
|
83 |
|
|
|
|
84 |
|
</div>
|
|
|
85 |
|
|
|
|
86 |
|
</
div>
|
|
|
87 |
|
|
|
|
88 |
|
</xsl:temp
late>
|
|
|
89 |
|
|
|
4 |
|
|
90 |
|
</xsl:styl
esheet>
|
|
5 |
|
</xsl:styl
esheet>
|
91 |
|
|
|
|
92 |
|
|
|
|