includes/clientside/tinymce/plugins/advimage/image.htm
changeset 335 67bd3121a12e
parent 1 fe660c52c48f
child 395 fa4c5ecb7c9a
equal deleted inserted replaced
334:c72b545f1304 335:67bd3121a12e
       
     1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     1 <html xmlns="http://www.w3.org/1999/xhtml">
     2 <html xmlns="http://www.w3.org/1999/xhtml">
     2 <head>
     3 <head>
     3 	<title>{$lang_insert_image_title}</title>
     4 	<title>{#advimage_dlg.dialog_title}</title>
     4 	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
     5 	<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
     5 	<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
     6 	<script type="text/javascript" src="../../utils/mctabs.js"></script>
     6 	<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
     7 	<script type="text/javascript" src="../../utils/form_utils.js"></script>
     7 	<script language="javascript" type="text/javascript" src="../../utils/validate.js"></script>
     8 	<script type="text/javascript" src="../../utils/validate.js"></script>
     8 	<script language="javascript" type="text/javascript" src="jscripts/functions.js"></script>
     9 	<script type="text/javascript" src="js/image.js"></script>
     9 	<link href="css/advimage.css" rel="stylesheet" type="text/css" />
    10 	<link href="css/advimage.css" rel="stylesheet" type="text/css" />
    10 	<base target="_self" />
    11 	<base target="_self" />
    11 </head>
    12 </head>
    12 <body id="advimage" onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
    13 <body id="advimage" style="display: none">
    13     <form onsubmit="insertAction();return false;" action="#"> 
    14     <form onsubmit="ImageDialog.insert();return false;" action="#"> 
    14 		<div class="tabs">
    15 		<div class="tabs">
    15 			<ul>
    16 			<ul>
    16 				<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{$lang_advimage_tab_general}</a></span></li>
    17 				<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advimage_dlg.tab_general}</a></span></li>
    17 				<li id="appearance_tab"><span><a href="javascript:mcTabs.displayTab('appearance_tab','appearance_panel');" onmousedown="return false;">{$lang_advimage_tab_appearance}</a></span></li>
    18 				<li id="appearance_tab"><span><a href="javascript:mcTabs.displayTab('appearance_tab','appearance_panel');" onmousedown="return false;">{#advimage_dlg.tab_appearance}</a></span></li>
    18 				<li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{$lang_advimage_tab_advanced}</a></span></li>
    19 				<li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#advimage_dlg.tab_advanced}</a></span></li>
    19 			</ul>
    20 			</ul>
    20 		</div>
    21 		</div>
    21 
    22 
    22 		<div class="panel_wrapper">
    23 		<div class="panel_wrapper">
    23 			<div id="general_panel" class="panel current">
    24 			<div id="general_panel" class="panel current">
    24 				<fieldset>
    25 				<fieldset>
    25 						<legend>{$lang_advimage_general}</legend>
    26 						<legend>{#advimage_dlg.general}</legend>
    26 
    27 
    27 						<table class="properties">
    28 						<table class="properties">
    28 							<tr>
    29 							<tr>
    29 								<td class="column1"><label id="srclabel" for="src">{$lang_insert_image_src}</label></td>
    30 								<td class="column1"><label id="srclabel" for="src">{#advimage_dlg.src}</label></td>
    30 								<td colspan="2"><table border="0" cellspacing="0" cellpadding="0">
    31 								<td colspan="2"><table border="0" cellspacing="0" cellpadding="0">
    31 									<tr> 
    32 									<tr> 
    32 									  <td><input name="src" type="text" id="src" value="" onchange="showPreviewImage(this.value);" /></td> 
    33 									  <td><input name="src" type="text" id="src" value="" onchange="ImageDialog.showPreviewImage(this.value);" /></td> 
    33 									  <td id="srcbrowsercontainer">&nbsp;</td>
    34 									  <td id="srcbrowsercontainer">&nbsp;</td>
    34 									</tr>
    35 									</tr>
    35 								  </table></td>
    36 								  </table></td>
    36 							</tr>
    37 							</tr>
    37 							<tr id="imagelistsrcrow">
    38 							<tr>
    38 								<td class="column1"><label for="imagelistsrc">{$lang_image_list}</label></td>
    39 								<td><label for="src_list">{#advimage_dlg.image_list}</label></td>
    39 								<td colspan="2" id="imagelistsrccontainer">&nbsp;</td>
    40 								<td><select id="src_list" name="src_list" onchange="document.getElementById('src').value=this.options[this.selectedIndex].value;document.getElementById('alt').value=this.options[this.selectedIndex].text;document.getElementById('title').value=this.options[this.selectedIndex].text;ImageDialog.showPreviewImage(this.options[this.selectedIndex].value);"></select></td>
    40 							</tr>
    41 							</tr>
    41 							<tr> 
    42 							<tr> 
    42 								<td class="column1"><label id="altlabel" for="alt">{$lang_insert_image_alt}</label></td> 
    43 								<td class="column1"><label id="altlabel" for="alt">{#advimage_dlg.alt}</label></td> 
    43 								<td colspan="2"><input id="alt" name="alt" type="text" value="" /></td> 
    44 								<td colspan="2"><input id="alt" name="alt" type="text" value="" /></td> 
    44 							</tr> 
    45 							</tr> 
    45 							<tr> 
    46 							<tr> 
    46 								<td class="column1"><label id="titlelabel" for="title">{$lang_advimage_title}</label></td> 
    47 								<td class="column1"><label id="titlelabel" for="title">{#advimage_dlg.title}</label></td> 
    47 								<td colspan="2"><input id="title" name="title" type="text" value="" /></td> 
    48 								<td colspan="2"><input id="title" name="title" type="text" value="" /></td> 
    48 							</tr>
    49 							</tr>
    49 						</table>
    50 						</table>
    50 				</fieldset>
    51 				</fieldset>
    51 
    52 
    52 				<fieldset>
    53 				<fieldset>
    53 					<legend>{$lang_advimage_preview}</legend>
    54 					<legend>{#advimage_dlg.preview}</legend>
    54 					<div id="prev"></div>
    55 					<div id="prev"></div>
    55 				</fieldset>
    56 				</fieldset>
    56 			</div>
    57 			</div>
    57 
    58 
    58 			<div id="appearance_panel" class="panel">
    59 			<div id="appearance_panel" class="panel">
    59 				<fieldset>
    60 				<fieldset>
    60 					<legend>{$lang_advimage_tab_appearance}</legend>
    61 					<legend>{#advimage_dlg.tab_appearance}</legend>
    61 
    62 
    62 					<table border="0" cellpadding="4" cellspacing="0">
    63 					<table border="0" cellpadding="4" cellspacing="0">
    63 						<tr> 
    64 						<tr> 
    64 							<td class="column1"><label id="alignlabel" for="align">{$lang_insert_image_align}</label></td> 
    65 							<td class="column1"><label id="alignlabel" for="align">{#advimage_dlg.align}</label></td> 
    65 							<td><select id="align" name="align" onchange="changeAppearance();"> 
    66 							<td><select id="align" name="align" onchange="ImageDialog.updateStyle();ImageDialog.changeAppearance();"> 
    66 									<option value="">{$lang_insert_image_align_default}</option> 
    67 									<option value="">{#not_set}</option> 
    67 									<option value="baseline">{$lang_insert_image_align_baseline}</option> 
    68 									<option value="baseline">{#advimage_dlg.align_baseline}</option>
    68 									<option value="top">{$lang_insert_image_align_top}</option> 
    69 									<option value="top">{#advimage_dlg.align_top}</option>
    69 									<option value="middle">{$lang_insert_image_align_middle}</option> 
    70 									<option value="middle">{#advimage_dlg.align_middle}</option>
    70 									<option value="bottom">{$lang_insert_image_align_bottom}</option> 
    71 									<option value="bottom">{#advimage_dlg.align_bottom}</option>
    71 									<option value="texttop">{$lang_insert_image_align_texttop}</option> 
    72 									<option value="text-top">{#advimage_dlg.align_texttop}</option>
    72 									<option value="absmiddle">{$lang_insert_image_align_absmiddle}</option> 
    73 									<option value="text-bottom">{#advimage_dlg.align_textbottom}</option>
    73 									<option value="absbottom">{$lang_insert_image_align_absbottom}</option> 
    74 									<option value="left">{#advimage_dlg.align_left}</option>
    74 									<option value="left">{$lang_insert_image_align_left}</option> 
    75 									<option value="right">{#advimage_dlg.align_right}</option>
    75 									<option value="right">{$lang_insert_image_align_right}</option> 
       
    76 								</select> 
    76 								</select> 
    77 							</td>
    77 							</td>
    78 							<td rowspan="6" valign="top">
    78 							<td rowspan="6" valign="top">
    79 								<div class="alignPreview">
    79 								<div class="alignPreview">
    80 									<img id="alignSampleImg" src="images/sample.gif" alt="{$lang_advimage_example_img}" />
    80 									<img id="alignSampleImg" src="img/sample.gif" alt="{#advimage_dlg.example_img}" />
    81 									Lorem ipsum, Dolor sit amet, consectetuer adipiscing loreum ipsum edipiscing elit, sed diam
    81 									Lorem ipsum, Dolor sit amet, consectetuer adipiscing loreum ipsum edipiscing elit, sed diam
    82 									nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.Loreum ipsum
    82 									nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.Loreum ipsum
    83 									edipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam
    83 									edipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam
    84 									erat volutpat.
    84 									erat volutpat.
    85 								</div>
    85 								</div>
    86 							</td>
    86 							</td>
    87 						</tr>
    87 						</tr>
    88 
    88 
    89 						<tr>
    89 						<tr>
    90 							<td class="column1"><label id="widthlabel" for="width">{$lang_insert_image_dimensions}</label></td>
    90 							<td class="column1"><label id="widthlabel" for="width">{#advimage_dlg.dimensions}</label></td>
    91 							<td nowrap="nowrap">
    91 							<td nowrap="nowrap">
    92 								<input name="width" type="text" id="width" value="" size="5" maxlength="5" class="size" onchange="changeHeight();" /> x 
    92 								<input name="width" type="text" id="width" value="" size="5" maxlength="5" class="size" onchange="ImageDialog.changeHeight();" /> x 
    93 								<input name="height" type="text" id="height" value="" size="5" maxlength="5" class="size" onchange="changeWidth();" /> px
    93 								<input name="height" type="text" id="height" value="" size="5" maxlength="5" class="size" onchange="ImageDialog.changeWidth();" /> px
    94 							</td>
    94 							</td>
    95 						</tr>
    95 						</tr>
    96 
    96 
    97 						<tr>
    97 						<tr>
    98 							<td>&nbsp;</td>
    98 							<td>&nbsp;</td>
    99 							<td><table border="0" cellpadding="0" cellspacing="0">
    99 							<td><table border="0" cellpadding="0" cellspacing="0">
   100 									<tr>
   100 									<tr>
   101 										<td><input id="constrain" type="checkbox" name="constrain" class="checkbox" /></td>
   101 										<td><input id="constrain" type="checkbox" name="constrain" class="checkbox" /></td>
   102 										<td><label id="constrainlabel" for="constrain">{$lang_advimage_constrain_proportions}</label></td>
   102 										<td><label id="constrainlabel" for="constrain">{#advimage_dlg.constrain_proportions}</label></td>
   103 									</tr>
   103 									</tr>
   104 								</table></td>
   104 								</table></td>
   105 						</tr>
   105 						</tr>
   106 
   106 
   107 						<tr>
   107 						<tr>
   108 							<td class="column1"><label id="vspacelabel" for="vspace">{$lang_insert_image_vspace}</label></td> 
   108 							<td class="column1"><label id="vspacelabel" for="vspace">{#advimage_dlg.vspace}</label></td> 
   109 							<td><input name="vspace" type="text" id="vspace" value="" size="3" maxlength="3" class="number" onchange="changeAppearance();updateStyle();" />
   109 							<td><input name="vspace" type="text" id="vspace" value="" size="3" maxlength="3" class="number" onchange="ImageDialog.updateStyle();ImageDialog.changeAppearance();" />
   110 							</td>
   110 							</td>
   111 						</tr>
   111 						</tr>
   112 
   112 
   113 						<tr> 
   113 						<tr> 
   114 							<td class="column1"><label id="hspacelabel" for="hspace">{$lang_insert_image_hspace}</label></td> 
   114 							<td class="column1"><label id="hspacelabel" for="hspace">{#advimage_dlg.hspace}</label></td> 
   115 							<td><input name="hspace" type="text" id="hspace" value="" size="3" maxlength="3" class="number" onchange="changeAppearance();updateStyle();" /></td> 
   115 							<td><input name="hspace" type="text" id="hspace" value="" size="3" maxlength="3" class="number" onchange="ImageDialog.updateStyle();ImageDialog.changeAppearance();" /></td> 
   116 						</tr>
   116 						</tr>
   117 
   117 
   118 						<tr>
   118 						<tr>
   119 							<td class="column1"><label id="borderlabel" for="border">{$lang_insert_image_border}</label></td> 
   119 							<td class="column1"><label id="borderlabel" for="border">{#advimage_dlg.border}</label></td> 
   120 							<td><input id="border" name="border" type="text" value="" size="3" maxlength="3" class="number" onchange="changeAppearance();updateStyle();" /></td> 
   120 							<td><input id="border" name="border" type="text" value="" size="3" maxlength="3" class="number" onchange="ImageDialog.updateStyle();ImageDialog.changeAppearance();" /></td> 
   121 						</tr>
   121 						</tr>
   122 
   122 
   123 						<tr>
   123 						<tr>
   124 							<td><label id="classlabel" for="classlist">{$lang_class_name}</label></td>
   124 							<td><label for="class_list">{#class_name}</label></td>
   125 							<td colspan="2">
   125 							<td><select id="class_list" name="class_list"></select></td>
   126 								 <select id="classlist" name="classlist">
   126 						</tr>
   127 									<option value="" selected>{$lang_not_set}</option>
   127 
   128 								 </select>
   128 						<tr>
   129 							</td>
   129 							<td class="column1"><label id="stylelabel" for="style">{#advimage_dlg.style}</label></td> 
   130 						</tr>
   130 							<td colspan="2"><input id="style" name="style" type="text" value="" onchange="ImageDialog.changeAppearance();" /></td> 
   131 
       
   132 						<tr>
       
   133 							<td class="column1"><label id="stylelabel" for="style">{$lang_advimage_style}</label></td> 
       
   134 							<td colspan="2"><input id="style" name="style" type="text" value="" onchange="styleUpdated();" /></td> 
       
   135 						</tr>
   131 						</tr>
   136 
   132 
   137 						<!-- <tr>
   133 						<!-- <tr>
   138 							<td class="column1"><label id="classeslabel" for="classes">{$lang_advimage_classes}</label></td> 
   134 							<td class="column1"><label id="classeslabel" for="classes">{#advimage_dlg.classes}</label></td> 
   139 							<td colspan="2"><input id="classes" name="classes" type="text" value="" onchange="selectByValue(this.form,'classlist',this.value,true);" /></td> 
   135 							<td colspan="2"><input id="classes" name="classes" type="text" value="" onchange="selectByValue(this.form,'classlist',this.value,true);" /></td> 
   140 						</tr> -->
   136 						</tr> -->
   141 					</table>
   137 					</table>
   142 				</fieldset>
   138 				</fieldset>
   143 			</div>
   139 			</div>
   144 
   140 
   145 			<div id="advanced_panel" class="panel">
   141 			<div id="advanced_panel" class="panel">
   146 				<fieldset>
   142 				<fieldset>
   147 					<legend>{$lang_advimage_swap_image}</legend>
   143 					<legend>{#advimage_dlg.swap_image}</legend>
   148 
   144 
   149 					<input type="checkbox" id="onmousemovecheck" name="onmousemovecheck" class="checkbox" onclick="changeMouseMove();" />
   145 					<input type="checkbox" id="onmousemovecheck" name="onmousemovecheck" class="checkbox" onclick="ImageDialog.setSwapImage(this.checked);" />
   150 					<label id="onmousemovechecklabel" for="onmousemovecheck">{$lang_advimage_alt_image}</label>
   146 					<label id="onmousemovechecklabel" for="onmousemovecheck">{#advimage_dlg.alt_image}</label>
   151 
   147 
   152 					<table border="0" cellpadding="4" cellspacing="0" width="100%">
   148 					<table border="0" cellpadding="4" cellspacing="0" width="100%">
   153 							<tr>
   149 							<tr>
   154 								<td class="column1"><label id="onmouseoversrclabel" for="onmouseoversrc">{$lang_advimage_mouseover}</label></td> 
   150 								<td class="column1"><label id="onmouseoversrclabel" for="onmouseoversrc">{#advimage_dlg.mouseover}</label></td> 
   155 								<td><table border="0" cellspacing="0" cellpadding="0"> 
   151 								<td><table border="0" cellspacing="0" cellpadding="0"> 
   156 									<tr> 
   152 									<tr> 
   157 									  <td><input id="onmouseoversrc" name="onmouseoversrc" type="text" value="" /></td> 
   153 									  <td><input id="onmouseoversrc" name="onmouseoversrc" type="text" value="" /></td> 
   158 									  <td id="onmouseoversrccontainer">&nbsp;</td>
   154 									  <td id="onmouseoversrccontainer">&nbsp;</td>
   159 									</tr>
   155 									</tr>
   160 								  </table></td>
   156 								  </table></td>
   161 							</tr>
   157 							</tr>
   162 							<tr id="imagelistoverrow">
   158 							<tr>
   163 								<td class="column1"><label for="imagelistover">{$lang_image_list}</label></td>
   159 								<td><label for="over_list">{#advimage_dlg.image_list}</label></td>
   164 								<td id="imagelistovercontainer">&nbsp;</td>
   160 								<td><select id="over_list" name="over_list" onchange="document.getElementById('onmouseoversrc').value=this.options[this.selectedIndex].value;"></select></td>
   165 							</tr>
   161 							</tr>
   166 							<tr> 
   162 							<tr> 
   167 								<td class="column1"><label id="onmouseoutsrclabel" for="onmouseoutsrc">{$lang_advimage_mouseout}</label></td> 
   163 								<td class="column1"><label id="onmouseoutsrclabel" for="onmouseoutsrc">{#advimage_dlg.mouseout}</label></td> 
   168 								<td class="column2"><table border="0" cellspacing="0" cellpadding="0"> 
   164 								<td class="column2"><table border="0" cellspacing="0" cellpadding="0"> 
   169 									<tr> 
   165 									<tr> 
   170 									  <td><input id="onmouseoutsrc" name="onmouseoutsrc" type="text" value="" /></td> 
   166 									  <td><input id="onmouseoutsrc" name="onmouseoutsrc" type="text" value="" /></td> 
   171 									  <td id="onmouseoutsrccontainer">&nbsp;</td>
   167 									  <td id="onmouseoutsrccontainer">&nbsp;</td>
   172 									</tr> 
   168 									</tr> 
   173 								  </table></td> 
   169 								  </table></td> 
   174 							</tr>
   170 							</tr>
   175 							<tr id="imagelistoutrow">
   171 							<tr>
   176 								<td class="column1"><label for="imagelistout">{$lang_image_list}</label></td>
   172 								<td><label for="out_list">{#advimage_dlg.image_list}</label></td>
   177 								<td id="imagelistoutcontainer">&nbsp;</td>
   173 								<td><select id="out_list" name="out_list" onchange="document.getElementById('onmouseoutsrc').value=this.options[this.selectedIndex].value;"></select></td>
   178 							</tr>
   174 							</tr>
   179 					</table>
   175 					</table>
   180 				</fieldset>
   176 				</fieldset>
   181 
   177 
   182 				<fieldset>
   178 				<fieldset>
   183 					<legend>{$lang_advimage_misc}</legend>
   179 					<legend>{#advimage_dlg.misc}</legend>
   184 
   180 
   185 					<table border="0" cellpadding="4" cellspacing="0">
   181 					<table border="0" cellpadding="4" cellspacing="0">
   186 						<tr>
   182 						<tr>
   187 							<td class="column1"><label id="idlabel" for="id">{$lang_advimage_id}</label></td> 
   183 							<td class="column1"><label id="idlabel" for="id">{#advimage_dlg.id}</label></td> 
   188 							<td><input id="id" name="id" type="text" value="" /></td> 
   184 							<td><input id="id" name="id" type="text" value="" /></td> 
   189 						</tr>
   185 						</tr>
   190 
   186 
   191 						<tr>
   187 						<tr>
   192 							<td class="column1"><label id="dirlabel" for="dir">{$lang_advimage_langdir}</label></td> 
   188 							<td class="column1"><label id="dirlabel" for="dir">{#advimage_dlg.langdir}</label></td> 
   193 							<td>
   189 							<td>
   194 								<select id="dir" name="dir" onchange="changeAppearance();"> 
   190 								<select id="dir" name="dir" onchange="ImageDialog.updateStyle();ImageDialog.changeAppearance();"> 
   195 										<option value="">{$lang_not_set}</option> 
   191 										<option value="">{#not_set}</option> 
   196 										<option value="ltr">{$lang_advimage_ltr}</option> 
   192 										<option value="ltr">{#advimage_dlg.ltr}</option> 
   197 										<option value="rtl">{$lang_advimage_rtl}</option> 
   193 										<option value="rtl">{#advimage_dlg.rtl}</option> 
   198 								</select>
   194 								</select>
   199 							</td> 
   195 							</td> 
   200 						</tr>
   196 						</tr>
   201 
   197 
   202 						<tr>
   198 						<tr>
   203 							<td class="column1"><label id="langlabel" for="lang">{$lang_advimage_langcode}</label></td> 
   199 							<td class="column1"><label id="langlabel" for="lang">{#advimage_dlg.langcode}</label></td> 
   204 							<td>
   200 							<td>
   205 								<input id="lang" name="lang" type="text" value="" />
   201 								<input id="lang" name="lang" type="text" value="" />
   206 							</td> 
   202 							</td> 
   207 						</tr>
   203 						</tr>
   208 
   204 
   209 						<tr>
   205 						<tr>
   210 							<td class="column1"><label id="usemaplabel" for="usemap">{$lang_advimage_image_map}</label></td> 
   206 							<td class="column1"><label id="usemaplabel" for="usemap">{#advimage_dlg.map}</label></td> 
   211 							<td>
   207 							<td>
   212 								<input id="usemap" name="usemap" type="text" value="" />
   208 								<input id="usemap" name="usemap" type="text" value="" />
   213 							</td> 
   209 							</td> 
   214 						</tr>
   210 						</tr>
   215 
   211 
   216 						<tr>
   212 						<tr>
   217 							<td class="column1"><label id="longdesclabel" for="longdesc">{$lang_advimage_long_desc}</label></td>
   213 							<td class="column1"><label id="longdesclabel" for="longdesc">{#advimage_dlg.long_desc}</label></td>
   218 							<td><table border="0" cellspacing="0" cellpadding="0">
   214 							<td><table border="0" cellspacing="0" cellpadding="0">
   219 									<tr>
   215 									<tr>
   220 									  <td><input id="longdesc" name="longdesc" type="text" value="" /></td>
   216 									  <td><input id="longdesc" name="longdesc" type="text" value="" /></td>
   221 									  <td id="longdesccontainer">&nbsp;</td>
   217 									  <td id="longdesccontainer">&nbsp;</td>
   222 									</tr>
   218 									</tr>
   227 			</div>
   223 			</div>
   228 		</div>
   224 		</div>
   229 
   225 
   230 		<div class="mceActionPanel">
   226 		<div class="mceActionPanel">
   231 			<div style="float: left">
   227 			<div style="float: left">
   232 				<input type="button" id="insert" name="insert" value="{$lang_insert}" onclick="insertAction();" />
   228 				<input type="button" id="insert" name="insert" value="{#insert}" onclick="ImageDialog.insert();" />
   233 			</div>
   229 			</div>
   234 
   230 
   235 			<div style="float: right">
   231 			<div style="float: right">
   236 				<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="cancelAction();" />
   232 				<input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
   237 			</div>
   233 			</div>
   238 		</div>
   234 		</div>
   239     </form>
   235     </form>
   240 </body> 
   236 </body> 
   241 </html> 
   237 </html>