2005-09-26 02:52:30 -04:00
< html xmlns = "http://www.w3.org/1999/xhtml" >
2005-08-22 21:33:52 -04:00
< head >
2005-09-26 02:52:30 -04:00
< title > {$lang_insert_image_title}< / title >
< script language = "javascript" type = "text/javascript" src = "../../tiny_mce_popup.js" > < / script >
< script language = "javascript" type = "text/javascript" src = "../../utils/form_utils.js" > < / script >
< script language = "javascript" type = "text/javascript" src = "jscripts/image.js" > < / script >
2005-11-19 14:15:11 -05:00
< style type = "text/css" >
#insert, #cancel {
font: 13px Verdana, Arial, Helvetica, sans-serif;
height:auto;
width: auto;
background-color: transparent;
background-image: url(../../../../../wp-admin/images/fade-butt.png);
background-repeat: repeat;
border: 3px double;
border-right-color: rgb(153, 153, 153);
border-bottom-color: rgb(153, 153, 153);
border-left-color: rgb(204, 204, 204);
border-top-color: rgb(204, 204, 204);
color: rgb(51, 51, 51);
padding: 0.25em 1em;
}
#insert:active, #cancel:active {
background: #f4f4f4;
border-left-color: #999;
border-top-color: #999;
}
< / style >
2005-08-22 21:33:52 -04:00
< / head >
2005-11-05 22:30:11 -05:00
< body onload = "tinyMCEPopup.executeOnLoad('init();');document.getElementById('src').focus();" style = "display: none" >
2005-08-22 21:33:52 -04:00
< form onsubmit = "insertImage();return false;" >
< table border = "0" cellpadding = "0" cellspacing = "0" width = "200" >
< tr >
< td align = "center" valign = "middle" > < table border = "0" cellpadding = "4" cellspacing = "0" >
< tr >
< td colspan = "2" class = "title" nowrap = "nowrap" > {$lang_insert_image_title}< / td >
< / tr >
< tr >
< td nowrap = "nowrap" > {$lang_insert_image_src}:< / td >
< td > < table border = "0" cellspacing = "0" cellpadding = "0" >
< tr >
2005-09-26 02:52:30 -04:00
< td > < input name = "src" type = "text" id = "src" value = "" style = "width: 200px" onchange = "getImageData();" > < / td >
2005-11-05 22:30:11 -05:00
< td id = "srcbrowsercontainer" > < / td >
2005-08-22 21:33:52 -04:00
< / tr >
< / table > < / td >
< / tr >
<!-- Image list -->
< script language = "javascript" >
if (typeof(tinyMCEImageList) != "undefined" & & tinyMCEImageList.length > 0) {
var html = "";
html += '< tr > < td > {$lang_image_list}:< / td > ';
html += '< td > < select name = "image_list" style = "width: 200px" onchange = "this.form.src.value=this.options[this.selectedIndex].value;resetImageData();getImageData();" > ';
html += '< option value = "" > ---< / option > ';
for (var i=0; i< tinyMCEImageList.length ; i + + )
html += '< option value = "' + tinyMCEImageList[i][1] + '" > ' + tinyMCEImageList[i][0] + '< / option > ';
html += '< / select > < / td > < / tr > ';
document.write(html);
}
< / script >
<!-- /Image list -->
< tr >
< td nowrap = "nowrap" > {$lang_insert_image_alt}:< / td >
< td > < input name = "alt" type = "text" id = "alt" value = "" style = "width: 200px" > < / td >
< / tr >
< tr >
< td nowrap = "nowrap" > {$lang_insert_image_align}:< / td >
< td > < select name = "align" >
< option value = "" > {$lang_insert_image_align_default}< / option >
< option value = "baseline" > {$lang_insert_image_align_baseline}< / option >
< option value = "top" > {$lang_insert_image_align_top}< / option >
< option value = "middle" > {$lang_insert_image_align_middle}< / option >
< option value = "bottom" > {$lang_insert_image_align_bottom}< / option >
< option value = "texttop" > {$lang_insert_image_align_texttop}< / option >
< option value = "absmiddle" > {$lang_insert_image_align_absmiddle}< / option >
< option value = "absbottom" > {$lang_insert_image_align_absbottom}< / option >
< option value = "left" > {$lang_insert_image_align_left}< / option >
< option value = "right" > {$lang_insert_image_align_right}< / option >
< / select > < / td >
< / tr >
2005-09-26 02:52:30 -04:00
< tr >
2005-11-19 14:15:11 -05:00
< td nowrap = "nowrap" > <!-- {$lang_insert_image_dimensions}:</td>
2005-08-22 21:33:52 -04:00
< td > < input name = "width" type = "text" id = "width" value = "" size = "3" maxlength = "3" >
x
2005-11-19 14:15:11 -05:00
< input name = "height" type = "text" id = "height" value = "" size = "3" maxlength = "3" > -->< / td >
2005-08-22 21:33:52 -04:00
< / tr >
2005-11-19 14:15:11 -05:00
<!-- <tr>
2005-08-22 21:33:52 -04:00
< td nowrap = "nowrap" > {$lang_insert_image_border}:< / td >
< td > < input name = "border" type = "text" id = "border" value = "" size = "3" maxlength = "3" > < / td >
< / tr >
2005-09-26 02:52:30 -04:00
< tr >
2005-08-22 21:33:52 -04:00
< td nowrap = "nowrap" > {$lang_insert_image_vspace}:< / td >
< td > < input name = "vspace" type = "text" id = "vspace" value = "" size = "3" maxlength = "3" > < / td >
< / tr >
2005-09-26 02:52:30 -04:00
< tr >
2005-08-22 21:33:52 -04:00
< td nowrap = "nowrap" > {$lang_insert_image_hspace}:< / td >
< td > < input name = "hspace" type = "text" id = "hspace" value = "" size = "3" maxlength = "3" > < / td >
< / tr >
2005-11-19 14:15:11 -05:00
--> < tr >
2005-11-05 22:30:11 -05:00
< td nowrap = "nowrap" > < input type = "submit" id = "insert" name = "insert" value = "{$lang_insert}" onclick = "insertImage();" >
2005-09-26 02:52:30 -04:00
< / td >
< td align = "right" > < input type = "button" id = "cancel" name = "cancel" value = "{$lang_cancel}" onclick = "tinyMCEPopup.close();" > < / td >
2005-08-22 21:33:52 -04:00
< / tr >
< / table > < / td >
< / tr >
< / table >
< / form >
< / body >
< / html >