includes/clientside/tinymce/themes/advanced/image.htm
changeset 1193 e3b94bd055dc
parent 543 dffcbfbc4e59
equal deleted inserted replaced
1192:5882f0eebb34 1193:e3b94bd055dc
     4 	<title>{#advanced_dlg.image_title}</title>
     4 	<title>{#advanced_dlg.image_title}</title>
     5 	<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
     5 	<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
     6 	<script type="text/javascript" src="../../utils/mctabs.js"></script>
     6 	<script type="text/javascript" src="../../utils/mctabs.js"></script>
     7 	<script type="text/javascript" src="../../utils/form_utils.js"></script>
     7 	<script type="text/javascript" src="../../utils/form_utils.js"></script>
     8 	<script type="text/javascript" src="js/image.js"></script>
     8 	<script type="text/javascript" src="js/image.js"></script>
     9 	<base target="_self" />
       
    10 </head>
     9 </head>
    11 <body id="image" style="display: none">
    10 <body id="image" style="display: none">
    12 <form onsubmit="ImageDialog.update();return false;" action="#">
    11 <form onsubmit="ImageDialog.update();return false;" action="#">
    13 	<div class="tabs">
    12 	<div class="tabs">
    14 		<ul>
    13 		<ul>
    18 
    17 
    19 	<div class="panel_wrapper">
    18 	<div class="panel_wrapper">
    20 		<div id="general_panel" class="panel current">
    19 		<div id="general_panel" class="panel current">
    21      <table border="0" cellpadding="4" cellspacing="0">
    20      <table border="0" cellpadding="4" cellspacing="0">
    22           <tr>
    21           <tr>
    23             <td nowrap="nowrap"><label for="src">{#advanced_dlg.image_src}</label></td>
    22             <td class="nowrap"><label for="src">{#advanced_dlg.image_src}</label></td>
    24             <td><table border="0" cellspacing="0" cellpadding="0">
    23             <td><table border="0" cellspacing="0" cellpadding="0">
    25                 <tr>
    24                 <tr>
    26                   <td><input id="src" name="src" type="text" class="mceFocus" value="" style="width: 200px" onchange="ImageDialog.getImageData();" /></td>
    25                   <td><input id="src" name="src" type="text" class="mceFocus" value="" style="width: 200px" onchange="ImageDialog.getImageData();" /></td>
    27                   <td id="srcbrowsercontainer">&nbsp;</td>
    26                   <td id="srcbrowsercontainer">&nbsp;</td>
    28                 </tr>
    27                 </tr>
    31 		  <tr>
    30 		  <tr>
    32 			<td><label for="image_list">{#advanced_dlg.image_list}</label></td>
    31 			<td><label for="image_list">{#advanced_dlg.image_list}</label></td>
    33 			<td><select id="image_list" name="image_list" onchange="document.getElementById('src').value=this.options[this.selectedIndex].value;document.getElementById('alt').value=this.options[this.selectedIndex].text;"></select></td>
    32 			<td><select id="image_list" name="image_list" onchange="document.getElementById('src').value=this.options[this.selectedIndex].value;document.getElementById('alt').value=this.options[this.selectedIndex].text;"></select></td>
    34 		  </tr>
    33 		  </tr>
    35           <tr>
    34           <tr>
    36             <td nowrap="nowrap"><label for="alt">{#advanced_dlg.image_alt}</label></td>
    35             <td class="nowrap"><label for="alt">{#advanced_dlg.image_alt}</label></td>
    37             <td><input id="alt" name="alt" type="text" value="" style="width: 200px" /></td>
    36             <td><input id="alt" name="alt" type="text" value="" style="width: 200px" /></td>
    38           </tr>
    37           </tr>
    39           <tr>
    38           <tr>
    40             <td nowrap="nowrap"><label for="align">{#advanced_dlg.image_align}</label></td>
    39             <td class="nowrap"><label for="align">{#advanced_dlg.image_align}</label></td>
    41             <td><select id="align" name="align" onchange="ImageDialog.updateStyle();">
    40             <td><select id="align" name="align" onchange="ImageDialog.updateStyle();">
    42                 <option value="">{#not_set}</option>
    41                 <option value="">{#not_set}</option>
    43                 <option value="baseline">{#advanced_dlg.image_align_baseline}</option>
    42                 <option value="baseline">{#advanced_dlg.image_align_baseline}</option>
    44                 <option value="top">{#advanced_dlg.image_align_top}</option>
    43                 <option value="top">{#advanced_dlg.image_align_top}</option>
    45                 <option value="middle">{#advanced_dlg.image_align_middle}</option>
    44                 <option value="middle">{#advanced_dlg.image_align_middle}</option>
    49                 <option value="left">{#advanced_dlg.image_align_left}</option>
    48                 <option value="left">{#advanced_dlg.image_align_left}</option>
    50                 <option value="right">{#advanced_dlg.image_align_right}</option>
    49                 <option value="right">{#advanced_dlg.image_align_right}</option>
    51               </select></td>
    50               </select></td>
    52           </tr>
    51           </tr>
    53           <tr>
    52           <tr>
    54             <td nowrap="nowrap"><label for="width">{#advanced_dlg.image_dimensions}</label></td>
    53             <td class="nowrap"><label for="width">{#advanced_dlg.image_dimensions}</label></td>
    55             <td><input id="width" name="width" type="text" value="" size="3" maxlength="5" />
    54             <td><input id="width" name="width" type="text" value="" size="3" maxlength="5" />
    56               x
    55               x
    57               <input id="height" name="height" type="text" value="" size="3" maxlength="5" /></td>
    56               <input id="height" name="height" type="text" value="" size="3" maxlength="5" /></td>
    58           </tr>
    57           </tr>
    59           <tr>
    58           <tr>
    60             <td nowrap="nowrap"><label for="border">{#advanced_dlg.image_border}</label></td>
    59             <td class="nowrap"><label for="border">{#advanced_dlg.image_border}</label></td>
    61             <td><input id="border" name="border" type="text" value="" size="3" maxlength="3" onchange="ImageDialog.updateStyle();" /></td>
    60             <td><input id="border" name="border" type="text" value="" size="3" maxlength="3" onchange="ImageDialog.updateStyle();" /></td>
    62           </tr>
    61           </tr>
    63           <tr>
    62           <tr>
    64             <td nowrap="nowrap"><label for="vspace">{#advanced_dlg.image_vspace}</label></td>
    63             <td class="nowrap"><label for="vspace">{#advanced_dlg.image_vspace}</label></td>
    65             <td><input id="vspace" name="vspace" type="text" value="" size="3" maxlength="3" onchange="ImageDialog.updateStyle();" /></td>
    64             <td><input id="vspace" name="vspace" type="text" value="" size="3" maxlength="3" onchange="ImageDialog.updateStyle();" /></td>
    66           </tr>
    65           </tr>
    67           <tr>
    66           <tr>
    68             <td nowrap="nowrap"><label for="hspace">{#advanced_dlg.image_hspace}</label></td>
    67             <td class="nowrap"><label for="hspace">{#advanced_dlg.image_hspace}</label></td>
    69             <td><input id="hspace" name="hspace" type="text" value="" size="3" maxlength="3" onchange="ImageDialog.updateStyle();" /></td>
    68             <td><input id="hspace" name="hspace" type="text" value="" size="3" maxlength="3" onchange="ImageDialog.updateStyle();" /></td>
    70           </tr>
    69           </tr>
    71         </table>
    70         </table>
    72 		</div>
    71 		</div>
    73 	</div>
    72 	</div>