2005-09-26 08:52:30 +02:00
< html xmlns = "http://www.w3.org/1999/xhtml" >
2005-08-23 03:33:52 +02:00
< head >
2005-09-26 08:52:30 +02:00
< title > {$lang_insert_image_title}< / title >
< script language = "javascript" type = "text/javascript" src = "../../tiny_mce_popup.js" > < / script >
2006-03-30 09:50:33 +02:00
< script language = "javascript" type = "text/javascript" src = "../../utils/mctabs.js" > < / script >
2005-09-26 08:52:30 +02:00
< script language = "javascript" type = "text/javascript" src = "../../utils/form_utils.js" > < / script >
< script language = "javascript" type = "text/javascript" src = "jscripts/image.js" > < / script >
2006-03-30 09:50:33 +02:00
< base target = "_self" / >
2005-08-23 03:33:52 +02:00
< / head >
2007-05-28 21:30:05 +02:00
<!-- WordPress: extra onload stuff is WP -->
2006-03-30 09:50:33 +02:00
< body id = "image" onload = "tinyMCEPopup.executeOnLoad('init();');document.body.style.display='';document.getElementById('src').focus();" style = "display: none" >
< form onsubmit = "insertImage();return false;" action = "#" >
< div class = "tabs" >
< ul >
< 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 >
< / ul >
< / div >
< div class = "panel_wrapper" >
< div id = "general_panel" class = "panel current" >
< table border = "0" cellpadding = "4" cellspacing = "0" >
2005-08-23 03:33:52 +02:00
< tr >
2006-03-30 09:50:33 +02:00
< td nowrap = "nowrap" > < label for = "src" > {$lang_insert_image_src}< / label > < / td >
2005-08-23 03:33:52 +02:00
< td > < table border = "0" cellspacing = "0" cellpadding = "0" >
< tr >
2007-05-28 21:30:05 +02:00
< td > < input id = "src" name = "src" type = "text" value = "" style = "width: 200px" onchange = "getImageData();" / > < / td >
2005-11-06 04:30:11 +01:00
< td id = "srcbrowsercontainer" > < / td >
2005-08-23 03:33:52 +02:00
< / tr >
< / table > < / td >
< / tr >
<!-- Image list -->
< script language = "javascript" >
if (typeof(tinyMCEImageList) != "undefined" & & tinyMCEImageList.length > 0) {
var html = "";
2006-03-30 09:50:33 +02:00
html += '< tr > < td > < label for = "image_list" > {$lang_image_list}< / label > < / td > ';
html += '< td > < select id = "image_list" name = "image_list" style = "width: 200px" onchange = "this.form.src.value=this.options[this.selectedIndex].value;resetImageData();getImageData();" > ';
2005-08-23 03:33:52 +02:00
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 >
2006-03-30 09:50:33 +02:00
< td nowrap = "nowrap" > < label for = "alt" > {$lang_insert_image_alt}< / label > < / td >
2007-05-28 21:30:05 +02:00
< td > < input id = "alt" name = "alt" type = "text" value = "" style = "width: 200px" / > < / td >
2005-08-23 03:33:52 +02:00
< / tr >
< tr >
2006-03-30 09:50:33 +02:00
< td nowrap = "nowrap" > < label for = "align" > {$lang_insert_image_align}< / label > < / td >
< td > < select id = "align" name = "align" >
2005-08-23 03:33:52 +02:00
< 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 08:52:30 +02:00
< tr >
2006-03-30 09:50:33 +02:00
< td nowrap = "nowrap" > < label for = "width" > {$lang_insert_image_dimensions}< / label > < / td >
2007-05-28 21:30:05 +02:00
< td > < input id = "width" name = "width" type = "text" value = "" size = "3" maxlength = "5" / >
2005-08-23 03:33:52 +02:00
x
2007-05-28 21:30:05 +02:00
< input id = "height" name = "height" type = "text" value = "" size = "3" maxlength = "5" / > < / td >
2005-08-23 03:33:52 +02:00
< / tr >
2005-09-26 08:52:30 +02:00
< tr >
2006-03-30 09:50:33 +02:00
< td nowrap = "nowrap" > < label for = "border" > {$lang_insert_image_border}< / label > < / td >
2007-05-28 21:30:05 +02:00
< td > < input id = "border" name = "border" type = "text" value = "" size = "3" maxlength = "3" / > < / td >
2005-08-23 03:33:52 +02:00
< / tr >
2005-09-26 08:52:30 +02:00
< tr >
2006-03-30 09:50:33 +02:00
< td nowrap = "nowrap" > < label for = "vspace" > {$lang_insert_image_vspace}< / label > < / td >
2007-05-28 21:30:05 +02:00
< td > < input id = "vspace" name = "vspace" type = "text" value = "" size = "3" maxlength = "3" / > < / td >
2005-08-23 03:33:52 +02:00
< / tr >
2006-03-30 09:50:33 +02:00
< tr >
< td nowrap = "nowrap" > < label for = "hspace" > {$lang_insert_image_hspace}< / label > < / td >
2007-05-28 21:30:05 +02:00
< td > < input id = "hspace" name = "hspace" type = "text" value = "" size = "3" maxlength = "3" / > < / td >
2005-08-23 03:33:52 +02:00
< / tr >
2006-03-30 09:50:33 +02:00
< / table >
< / div >
< / div >
< div class = "mceActionPanel" >
2007-05-28 21:30:05 +02:00
<!-- WordPress: buttons reversed! -->
2006-03-30 09:50:33 +02:00
< div style = "float: left" >
< input type = "button" id = "cancel" name = "cancel" value = "{$lang_cancel}" onclick = "tinyMCEPopup.close();" / >
< / div >
< div style = "float: right" >
< input type = "submit" id = "insert" name = "insert" value = "{$lang_insert}" onclick = "insertImage();" / >
< / div >
< / div >
2005-08-23 03:33:52 +02:00
< / form >
< / body >
< / html >