No regular expressions were active.
|
|
1 |
|
<!DOCTYPE
html PUBLI
C "-//W3C/
/DTD XHTML
1.0 Stric
t//EN" "ht
tp://www.w
3.org/TR/x
html1/DTD/
xhtml1-str
ict.dtd">
|
1 |
|
<html xmln
s="http://
www.w3.org
/1999/xhtm
l">
|
|
2 |
|
<html xmln
s="http://
www.w3.org
/1999/xhtm
l">
|
2 |
|
<head>
|
|
3 |
|
<head>
|
3 |
|
<title>{
$l
an
g_ins
e
rt
_
image_titl
e}</title>
|
|
4 |
|
<title>{
#adv
an
c
e
d
_
dlg.
image_titl
e}</title>
|
4 |
|
<script
language="
javascript
"
type="text
/javascrip
t"
src="../..
/tiny_mce_
popup.js">
</script>
|
|
5 |
|
<script
type="text
/javascrip
t"
src="../..
/tiny_mce_
popup.js">
</script>
|
5 |
|
<script
language="
javascript
"
type="text
/javascrip
t"
src="../..
/utils/mct
abs.js"></
script>
|
|
6 |
|
<script
type="text
/javascrip
t"
src="../..
/utils/mct
abs.js"></
script>
|
6 |
|
<script
language="
javascript
"
type="text
/javascrip
t"
src="../..
/utils/for
m_utils.js
"></script
>
|
|
7 |
|
<script
type="text
/javascrip
t"
src="../..
/utils/for
m_utils.js
"></script
>
|
7 |
|
<script
language="
javascript
"
type="text
/javascrip
t"
src="js
cripts
/image.js"
></script>
|
|
8 |
|
<script
type="text
/javascrip
t"
src="js
/image.js"
></script>
|
8 |
|
<base
target="_s
elf" />
|
|
9 |
|
<base
target="_s
elf" />
|
9 |
|
</head>
|
|
10 |
|
</head>
|
10 |
|
<body
id="image"
onload="ti
nyMCEPopup
.executeOn
Load('init
();');"
style="dis
play:
none">
|
|
11 |
|
<body
id="image"
style="dis
play:
none">
|
11 |
|
<form
onsubmit="
insert
Image
();return
false;"
action="#"
>
|
|
12 |
|
<form
onsubmit="
Image
Dialog.upd
ate
();return
false;"
action="#"
>
|
12 |
|
<div c
lass="tabs
">
|
|
13 |
|
<div c
lass="tabs
">
|
13 |
|
<u
l>
|
|
14 |
|
<u
l>
|
14 |
|
<li
id="genera
l_tab"
class="cur
rent"><spa
n><a
href="java
script:mcT
abs.displa
yTab('gene
ral_tab','
general_pa
nel');"
onmousedow
n="return
false;">{
$l
an
g_ins
e
rt
_
image_titl
e}</a></sp
an></li>
|
|
15 |
|
<li
id="genera
l_tab"
class="cur
rent"><spa
n><a
href="java
script:mcT
abs.displa
yTab('gene
ral_tab','
general_pa
nel');"
onmousedow
n="return
false;">{
#adv
an
c
e
d
_
dlg.
image_titl
e}</a></sp
an></li>
|
15 |
|
</
ul>
|
|
16 |
|
</
ul>
|
16 |
|
</div>
|
|
17 |
|
</div>
|
17 |
|
|
|
18 |
|
|
18 |
|
<div c
lass="pane
l_wrapper"
>
|
|
19 |
|
<div c
lass="pane
l_wrapper"
>
|
19 |
|
<d
iv id="gen
eral_panel
" class="p
anel curre
nt">
|
|
20 |
|
<d
iv id="gen
eral_panel
" class="p
anel curre
nt">
|
20 |
|
<tabl
e border="
0" cellpad
ding="4" c
ellspacing
="0">
|
|
21 |
|
<tabl
e border="
0" cellpad
ding="4" c
ellspacing
="0">
|
21 |
|
<tr>
|
|
22 |
|
<tr>
|
22 |
|
<td
nowrap="no
wrap"><lab
el
for="src">
{
$l
an
g_ins
e
rt
_
image_src}
</label></
td>
|
|
23 |
|
<td
nowrap="no
wrap"><lab
el
for="src">
{
#adv
an
c
e
d
_
dlg.
image_src}
</label></
td>
|
23 |
|
<td><tab
le border=
"0" cellsp
acing="0"
cellpaddin
g="0">
|
|
24 |
|
<td><tab
le border=
"0" cellsp
acing="0"
cellpaddin
g="0">
|
24 |
|
<tr>
|
|
25 |
|
<tr>
|
25 |
|
<td><input
id="src"
name="src"
type="text
"
value=""
style="wid
th:
200px"
onchange="
getImageDa
ta();"
/></td>
|
|
26 |
|
<td><input
id="src"
name="src"
type="text
"
class="mce
Focus"
value=""
style="wid
th:
200px"
onchange="
ImageDialo
g.
getImageDa
ta();"
/></td>
|
26 |
|
<t
d id="srcb
rowsercont
ainer">&nb
sp;</td>
|
|
27 |
|
<t
d id="srcb
rowsercont
ainer">&nb
sp;</td>
|
27 |
|
</tr
>
|
|
28 |
|
</tr
>
|
28 |
|
</tabl
e></td>
|
|
29 |
|
</tabl
e></td>
|
29 |
|
</tr>
|
|
30 |
|
</tr>
|
30 |
|
<!-- Image
list -->
|
|
|
31 |
|
<script la
nguage="ja
vascript">
|
|
|
32 |
|
if (type
of(tinyMCE
ImageList)
!= "undef
ined" && t
inyMCEImag
eList.leng
th > 0) {
|
|
|
33 |
|
var
html = "";
|
|
|
34 |
|
|
|
|
35 |
|
html
+= '<tr><
td><label
for="image
_list">{$l
ang_image_
list}</lab
el></td>';
|
|
|
36 |
|
html
+= '<td><
select id=
"image_lis
t" name="i
mage_list"
style="wi
dth: 200px
" onchange
="this.for
m.src.valu
e=this.opt
ions[this.
selectedIn
dex].value
;resetImag
eData();ge
tImageData
();">';
|
|
|
37 |
|
html
+= '<opti
on value="
">---</opt
ion>';
|
|
|
38 |
|
|
|
|
39 |
|
for
(var i=0;
i<tinyMCEI
mageList.l
ength; i++
)
|
|
|
40 |
|
html += '<
option val
ue="' + ti
nyMCEImage
List[i][1]
+ '">' +
tinyMCEIma
geList[i][
0] + '</op
tion>';
|
|
|
41 |
|
|
|
|
42 |
|
html
+= '</sel
ect></td><
/tr>';
|
|
|
43 |
|
|
|
|
44 |
|
docu
ment.write
(html);
|
|
|
45 |
|
}
|
|
|
46 |
|
</script>
|
|
|
47 |
|
<!-- /Imag
e list -->
|
|
|
48 |
|
<tr>
|
|
31 |
|
<tr>
|
49 |
|
<td
nowrap="no
wrap"
><label
for="
a
l
t">{
$l
an
g_ins
e
rt
_
image_
a
l
t}</label>
</td>
|
|
32 |
|
<td
><label
for="
im
a
ge_
l
is
t">{
#adv
an
c
e
d
_
dlg.
image_
l
is
t}</label>
</td>
|
|
|
33 |
|
<td><sel
ect id="im
age_list"
name="imag
e_list" on
change="do
cument.get
ElementByI
d('src').v
alue=this.
options[th
is.selecte
dIndex].va
lue;docume
nt.getElem
entById('a
lt').value
=this.opti
ons[this.s
electedInd
ex].text;"
></select>
</td>
|
|
|
34 |
|
</tr>
|
|
|
35 |
|
<tr>
|
|
|
36 |
|
<td nowr
ap="nowrap
"><label f
or="alt">{
#advanced_
dlg.image_
alt}</labe
l></td>
|
50 |
|
<td><inp
ut id="alt
" name="al
t" type="t
ext" value
="" style=
"width: 20
0px" /></t
d>
|
|
37 |
|
<td><inp
ut id="alt
" name="al
t" type="t
ext" value
="" style=
"width: 20
0px" /></t
d>
|
51 |
|
</tr>
|
|
38 |
|
</tr>
|
52 |
|
<tr>
|
|
39 |
|
<tr>
|
53 |
|
<td
nowrap="no
wrap"><lab
el
for="align
">{
$l
an
g_ins
e
rt
_
image_alig
n}</label>
</td>
|
|
40 |
|
<td
nowrap="no
wrap"><lab
el
for="align
">{
#adv
an
c
e
d
_
dlg.
image_alig
n}</label>
</td>
|
54 |
|
<td><selec
t
id="align"
name="alig
n"
>
|
|
41 |
|
<td><selec
t
id="align"
name="alig
n"
onchange="
ImageDialo
g.updateSt
yle();"
>
|
55 |
|
<option
value="">{
$lang_i
n
ser
t_
image_alig
n_d
e
faul
t}</option
>
|
|
42 |
|
<option
value="">{
#
n
o
t_
s
e
t}</option
>
|
56 |
|
<option
value="bas
eline">{
$l
an
g_ins
e
rt
_
image_alig
n_baseline
}</option>
|
|
43 |
|
<option
value="bas
eline">{
#adv
an
c
e
d
_
dlg.
image_alig
n_baseline
}</option>
|
57 |
|
<option
value="top
">{
$l
an
g_ins
e
rt
_
image_alig
n_top}</op
tion>
|
|
44 |
|
<option
value="top
">{
#adv
an
c
e
d
_
dlg.
image_alig
n_top}</op
tion>
|
58 |
|
<option
value="mid
dle">{
$l
an
g_ins
e
rt
_
image_alig
n_middle}<
/option>
|
|
45 |
|
<option
value="mid
dle">{
#adv
an
c
e
d
_
dlg.
image_alig
n_middle}<
/option>
|
59 |
|
<opt
ion value=
"bottom">{
$lang_inse
rt_image_a
lign_botto
m}</option
>
|
|
46 |
|
<option
value="
bo
tto
m
">{
#adv
an
c
e
d
_
dlg.
image_alig
n_
bo
tto
m
}</option>
|
60 |
|
<option
value="
tex
tto
p
">{
$l
an
g_ins
e
rt
_
image_alig
n_
tex
tto
p
}</option>
|
|
47 |
|
<option
value="
t
e
xt-top
">{
#adv
an
c
e
d
_
dlg.
image_alig
n_
t
e
xttop
}</option>
|
61 |
|
<option
value="
absmiddl
e
">{
$l
an
g_ins
e
rt
_
image_alig
n_
absmiddl
e
}</option>
|
|
48 |
|
<option
value="
text-
bottom">{
#adv
an
c
e
d
_
dlg.
image_alig
n_
text
bottom}</o
ption>
|
62 |
|
<option
value="
abs
bottom">{
$l
an
g_ins
e
rt
_
image_alig
n_
abs
bottom}</o
ption>
|
|
49 |
|
<option
value="lef
t">{
#adv
an
c
e
d
_
dlg.
image_alig
n_left}</o
ption>
|
63 |
|
<option
value="lef
t">{
$l
an
g_ins
e
rt
_
image_alig
n_left}</o
ption>
|
|
50 |
|
<option
value="rig
ht">{
#adv
an
c
e
d
_
dlg.
image_alig
n_right}</
option>
|
64 |
|
<option
value="rig
ht">{
$l
an
g_ins
e
rt
_
image_alig
n_right}</
option>
|
|
|
65 |
|
</sele
ct></td>
|
|
51 |
|
</sele
ct></td>
|
66 |
|
</tr>
|
|
52 |
|
</tr>
|
67 |
|
<tr>
|
|
53 |
|
<tr>
|
68 |
|
<td
nowrap="no
wrap"><lab
el
for="width
">{
$l
an
g_ins
e
rt
_
image_dime
nsions}</l
abel></td>
|
|
54 |
|
<td
nowrap="no
wrap"><lab
el
for="width
">{
#adv
an
c
e
d
_
dlg.
image_dime
nsions}</l
abel></td>
|
69 |
|
<td><inp
ut id="wid
th" name="
width" typ
e="text" v
alue="" si
ze="3" max
length="5"
/>
|
|
55 |
|
<td><inp
ut id="wid
th" name="
width" typ
e="text" v
alue="" si
ze="3" max
length="5"
/>
|
70 |
|
x
|
|
56 |
|
x
|
71 |
|
<input
id="heigh
t" name="h
eight" typ
e="text" v
alue="" si
ze="3" max
length="5"
/></td>
|
|
57 |
|
<input
id="heigh
t" name="h
eight" typ
e="text" v
alue="" si
ze="3" max
length="5"
/></td>
|
72 |
|
</tr>
|
|
58 |
|
</tr>
|
73 |
|
<tr>
|
|
59 |
|
<tr>
|
74 |
|
<td
nowrap="no
wrap"><lab
el
for="borde
r">{
$l
an
g_ins
e
rt
_
image_bord
er}</label
></td>
|
|
60 |
|
<td
nowrap="no
wrap"><lab
el
for="borde
r">{
#adv
an
c
e
d
_
dlg.
image_bord
er}</label
></td>
|
75 |
|
<td><input
id="border
"
name="bord
er"
type="text
"
value=""
size="3"
maxlength=
"3"
/></td>
|
|
61 |
|
<td><input
id="border
"
name="bord
er"
type="text
"
value=""
size="3"
maxlength=
"3"
onchange="
ImageDialo
g.updateSt
yle();"
/></td>
|
76 |
|
</tr>
|
|
62 |
|
</tr>
|
77 |
|
<tr>
|
|
63 |
|
<tr>
|
78 |
|
<td
nowrap="no
wrap"><lab
el
for="vspac
e">{
$l
an
g_ins
e
rt
_
image_vspa
ce}</label
></td>
|
|
64 |
|
<td
nowrap="no
wrap"><lab
el
for="vspac
e">{
#adv
an
c
e
d
_
dlg.
image_vspa
ce}</label
></td>
|
79 |
|
<td><input
id="vspace
"
name="vspa
ce"
type="text
"
value=""
size="3"
maxlength=
"3"
/></td>
|
|
65 |
|
<td><input
id="vspace
"
name="vspa
ce"
type="text
"
value=""
size="3"
maxlength=
"3"
onchange="
ImageDialo
g.updateSt
yle();"
/></td>
|
80 |
|
</tr>
|
|
66 |
|
</tr>
|
81 |
|
<tr>
|
|
67 |
|
<tr>
|
82 |
|
<td
nowrap="no
wrap"><lab
el
for="hspac
e">{
$l
an
g_ins
e
rt
_
image_hspa
ce}</label
></td>
|
|
68 |
|
<td
nowrap="no
wrap"><lab
el
for="hspac
e">{
#adv
an
c
e
d
_
dlg.
image_hspa
ce}</label
></td>
|
83 |
|
<td><input
id="hspace
"
name="hspa
ce"
type="text
"
value=""
size="3"
maxlength=
"3"
/></td>
|
|
69 |
|
<td><input
id="hspace
"
name="hspa
ce"
type="text
"
value=""
size="3"
maxlength=
"3"
onchange="
ImageDialo
g.updateSt
yle();"
/></td>
|
84 |
|
</tr>
|
|
70 |
|
</tr>
|
85 |
|
</
table>
|
|
71 |
|
</
table>
|
86 |
|
</
div>
|
|
72 |
|
</
div>
|
87 |
|
</div>
|
|
73 |
|
</div>
|
88 |
|
|
|
74 |
|
|
89 |
|
<div c
lass="mceA
ctionPanel
">
|
|
75 |
|
<div c
lass="mceA
ctionPanel
">
|
90 |
|
<d
iv style="
float: lef
t">
|
|
76 |
|
<d
iv style="
float: lef
t">
|
91 |
|
<input
type="
b
u
t
ton
"
id="insert
"
name="inse
rt"
value="{
$lang_
insert}"
onclick="i
nsertImage
();"
/>
|
|
77 |
|
<input
type="
s
u
bmi
t
"
id="insert
"
name="inse
rt"
value="{
#
insert}"
/>
|
92 |
|
</
div>
|
|
78 |
|
</
div>
|
93 |
|
|
|
79 |
|
|
94 |
|
<d
iv style="
float: rig
ht">
|
|
80 |
|
<d
iv style="
float: rig
ht">
|
95 |
|
<input
type="butt
on"
id="cancel
"
name="canc
el"
value="{
$lang_
cancel}"
onclick="t
inyMCEPopu
p.close();
"
/>
|
|
81 |
|
<input
type="butt
on"
id="cancel
"
name="canc
el"
value="{
#
cancel}"
onclick="t
inyMCEPopu
p.close();
"
/>
|
96 |
|
</
div>
|
|
82 |
|
</
div>
|
97 |
|
</div>
|
|
83 |
|
</div>
|
98 |
|
</form>
|
|
84 |
|
</form>
|
99 |
|
</body>
|
|
85 |
|
</body>
|
100 |
|
</html>
|
|
86 |
|
</html>
|