1 <html xmlns=
"http://www.w3.org/1999/xhtml">
3 <title>{$lang_insert_image_title}
</title>
4 <script language=
"javascript" type=
"text/javascript" src=
"../../tiny_mce_popup.js"></script>
5 <script language=
"javascript" type=
"text/javascript" src=
"../../utils/mctabs.js"></script>
6 <script language=
"javascript" type=
"text/javascript" src=
"../../utils/form_utils.js"></script>
7 <script language=
"javascript" type=
"text/javascript" src=
"jscripts/image.js"></script>
8 <base target=
"_self" />
10 <body id=
"image" onload=
"tinyMCEPopup.executeOnLoad('init();');" style=
"display: none">
11 <form onsubmit=
"insertImage();return false;" action=
"#">
14 <li id=
"general_tab" class=
"current"><span><a href=
"javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown=
"return false;">{$lang_insert_image_title}
</a></span></li>
18 <div class=
"panel_wrapper">
19 <div id=
"general_panel" class=
"panel current">
20 <table border=
"0" cellpadding=
"4" cellspacing=
"0">
22 <td nowrap=
"nowrap"><label for=
"src">{$lang_insert_image_src}
</label></td>
23 <td><table border=
"0" cellspacing=
"0" cellpadding=
"0">
25 <td><input id=
"src" name=
"src" type=
"text" value=
"" style=
"width: 200px" onchange=
"getImageData();"></td>
26 <td id=
"srcbrowsercontainer"> </td>
31 <script language=
"javascript">
32 if (typeof(tinyMCEImageList
) != "undefined" && tinyMCEImageList
.length
> 0) {
35 html
+= '<tr><td><label for="image_list">{$lang_image_list}</label></td>';
36 html
+= '<td><select id="image_list" name="image_list" style="width: 200px" onchange="this.form.src.value=this.options[this.selectedIndex].value;resetImageData();getImageData();">';
37 html
+= '<option value="">---</option>';
39 for (var i
=0; i
<tinyMCEImageList
.length
; i
++)
40 html
+= '<option value="' + tinyMCEImageList
[i
][1] + '">' + tinyMCEImageList
[i
][0] + '</option>';
42 html
+= '</select></td></tr>';
49 <td nowrap=
"nowrap"><label for=
"alt">{$lang_insert_image_alt}
</label></td>
50 <td><input id=
"alt" name=
"alt" type=
"text" value=
"" style=
"width: 200px"></td>
53 <td nowrap=
"nowrap"><label for=
"align">{$lang_insert_image_align}
</label></td>
54 <td><select id=
"align" name=
"align">
55 <option value=
"">{$lang_insert_image_align_default}
</option>
56 <option value=
"baseline">{$lang_insert_image_align_baseline}
</option>
57 <option value=
"top">{$lang_insert_image_align_top}
</option>
58 <option value=
"middle">{$lang_insert_image_align_middle}
</option>
59 <option value=
"bottom">{$lang_insert_image_align_bottom}
</option>
60 <option value=
"texttop">{$lang_insert_image_align_texttop}
</option>
61 <option value=
"absmiddle">{$lang_insert_image_align_absmiddle}
</option>
62 <option value=
"absbottom">{$lang_insert_image_align_absbottom}
</option>
63 <option value=
"left">{$lang_insert_image_align_left}
</option>
64 <option value=
"right">{$lang_insert_image_align_right}
</option>
68 <td nowrap=
"nowrap"><label for=
"width">{$lang_insert_image_dimensions}
</label></td>
69 <td><input id=
"width" name=
"width" type=
"text" value=
"" size=
"3" maxlength=
"3">
71 <input id=
"height" name=
"height" type=
"text" value=
"" size=
"3" maxlength=
"3"></td>
74 <td nowrap=
"nowrap"><label for=
"border">{$lang_insert_image_border}
</label></td>
75 <td><input id=
"border" name=
"border" type=
"text" value=
"" size=
"3" maxlength=
"3"></td>
78 <td nowrap=
"nowrap"><label for=
"vspace">{$lang_insert_image_vspace}
</label></td>
79 <td><input id=
"vspace" name=
"vspace" type=
"text" value=
"" size=
"3" maxlength=
"3"></td>
82 <td nowrap=
"nowrap"><label for=
"hspace">{$lang_insert_image_hspace}
</label></td>
83 <td><input id=
"hspace" name=
"hspace" type=
"text" value=
"" size=
"3" maxlength=
"3"></td>
89 <div class=
"mceActionPanel">
90 <div style=
"float: left">
91 <input type=
"button" id=
"insert" name=
"insert" value=
"{$lang_insert}" onclick=
"insertImage();" />
94 <div style=
"float: right">
95 <input type=
"button" id=
"cancel" name=
"cancel" value=
"{$lang_cancel}" onclick=
"tinyMCEPopup.close();" />