includes/clientside/tinymce/plugins/table/cell.htm
changeset 1 fe660c52c48f
equal deleted inserted replaced
0:902822492a68 1:fe660c52c48f
       
     1 <html xmlns="http://www.w3.org/1999/xhtml">
       
     2 <head>
       
     3 	<title>{$lang_table_cell_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/cell.js"></script>
       
     8 	<link href="css/cell.css" rel="stylesheet" type="text/css" />
       
     9 	<base target="_self" />
       
    10 </head>
       
    11 <body id="tablecell" onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
       
    12 	<form onsubmit="updateAction();return false;" action="#">
       
    13 		<div class="tabs">
       
    14 			<ul>
       
    15 				<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{$lang_table_general_tab}</a></span></li>
       
    16 				<li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{$lang_table_advanced_tab}</a></span></li>
       
    17 			</ul>
       
    18 		</div>
       
    19 
       
    20 		<div class="panel_wrapper">
       
    21 			<div id="general_panel" class="panel current">
       
    22 				<fieldset>
       
    23 					<legend>{$lang_table_general_props}</legend>
       
    24 
       
    25 					<table border="0" cellpadding="4" cellspacing="0">
       
    26 						<tr>
       
    27 							<td><label for="align">{$lang_table_align}</label></td>
       
    28 							<td>
       
    29 								<select id="align" name="align">
       
    30 									<option value="">{$lang_not_set}</option>
       
    31 									<option value="center">{$lang_table_align_middle}</option>
       
    32 									<option value="left">{$lang_table_align_left}</option>
       
    33 									<option value="right">{$lang_table_align_right}</option>
       
    34 								</select>
       
    35 							</td>
       
    36 		
       
    37 							<td><label for="celltype">{$lang_table_cell_type}</label></td>
       
    38 							<td>
       
    39 								<select id="celltype" name="celltype">
       
    40 									<option value="td">{$lang_table_td}</option>
       
    41 									<option value="th">{$lang_table_th}</option>
       
    42 								</select>
       
    43 							</td>
       
    44 						</tr>
       
    45 
       
    46 						<tr>
       
    47 							<td><label for="valign">{$lang_table_valign}</label></td>
       
    48 							<td>
       
    49 								<select id="valign" name="valign">
       
    50 									<option value="">{$lang_not_set}</option>
       
    51 									<option value="top">{$lang_table_align_top}</option>
       
    52 									<option value="middle">{$lang_table_align_middle}</option>
       
    53 									<option value="bottom">{$lang_table_align_bottom}</option>
       
    54 								</select>
       
    55 							</td>
       
    56 
       
    57 							<td><label for="scope">{$lang_table_scope}</label></td>
       
    58 							<td>
       
    59 								<select id="scope" name="scope">
       
    60 									<option value="">{$lang_not_set}</option>
       
    61 									<option value="col">{$lang_table_col}</option>
       
    62 									<option value="row">{$lang_table_row}</option>
       
    63 									<option value="rowgroup">{$lang_table_rowgroup}</option>
       
    64 									<option value="colgroup">{$lang_table_colgroup}</option>
       
    65 								</select>
       
    66 							</td>
       
    67 
       
    68 						</tr>
       
    69 
       
    70 						<tr>
       
    71 							<td><label for="width">{$lang_table_width}</label></td>
       
    72 							<td><input id="width" name="width" type="text" value="" size="4" maxlength="4" onchange="changedSize();" /></td>
       
    73 
       
    74 							<td><label for="height">{$lang_table_height}</label></td>
       
    75 							<td><input id="height" name="height" type="text" value="" size="4" maxlength="4" onchange="changedSize();" /></td>
       
    76 						</tr>
       
    77 
       
    78 						<tr id="styleSelectRow">
       
    79 							<td><label for="class">{$lang_class_name}</label></td>
       
    80 							<td colspan="3">
       
    81 								<select id="class" name="class">
       
    82 									<option value="" selected="selected">{$lang_not_set}</option>
       
    83 								</select>
       
    84 							</td>
       
    85 						</tr>
       
    86 					</table>
       
    87 				</fieldset>
       
    88 			</div>
       
    89 
       
    90 			<div id="advanced_panel" class="panel">
       
    91 				<fieldset>
       
    92 					<legend>{$lang_table_advanced_props}</legend>
       
    93 
       
    94 					<table border="0" cellpadding="0" cellspacing="4">
       
    95 						<tr>
       
    96 							<td class="column1"><label for="id">{$lang_table_id}</label></td> 
       
    97 							<td><input id="id" name="id" type="text" value="" style="width: 200px" /></td> 
       
    98 						</tr>
       
    99 
       
   100 						<tr>
       
   101 							<td><label for="style">{$lang_table_style}</label></td>
       
   102 							<td><input type="text" id="style" name="style" value="" style="width: 200px;" onchange="changedStyle();" /></td>
       
   103 						</tr>
       
   104 
       
   105 						<tr>
       
   106 							<td class="column1"><label for="dir">{$lang_table_langdir}</label></td> 
       
   107 							<td>
       
   108 								<select id="dir" name="dir" style="width: 200px"> 
       
   109 										<option value="">{$lang_not_set}</option> 
       
   110 										<option value="ltr">{$lang_table_ltr}</option> 
       
   111 										<option value="rtl">{$lang_table_rtl}</option> 
       
   112 								</select>
       
   113 							</td> 
       
   114 						</tr>
       
   115 
       
   116 						<tr>
       
   117 							<td class="column1"><label for="lang">{$lang_table_langcode}</label></td> 
       
   118 							<td>
       
   119 								<input id="lang" name="lang" type="text" value="" style="width: 200px" />
       
   120 							</td> 
       
   121 						</tr>
       
   122 
       
   123 						<tr>
       
   124 							<td class="column1"><label for="backgroundimage">{$lang_table_bgimage}</label></td> 
       
   125 							<td>
       
   126 								<table border="0" cellpadding="0" cellspacing="0">
       
   127 									<tr>
       
   128 										<td><input id="backgroundimage" name="backgroundimage" type="text" value="" style="width: 200px" onchange="changedBackgroundImage();" /></td>
       
   129 										<td id="backgroundimagebrowsercontainer">&nbsp;</td>
       
   130 									</tr>
       
   131 								</table>
       
   132 							</td> 
       
   133 						</tr>
       
   134 
       
   135 						<tr>
       
   136 							<td class="column1"><label for="bordercolor">{$lang_table_bordercolor}</label></td> 
       
   137 							<td>
       
   138 								<table border="0" cellpadding="0" cellspacing="0">
       
   139 									<tr>
       
   140 										<td><input id="bordercolor" name="bordercolor" type="text" value="" size="9" onchange="updateColor('bordercolor_pick','bordercolor');changedColor();" /></td>
       
   141 										<td id="bordercolor_pickcontainer">&nbsp;</td>
       
   142 									</tr>
       
   143 								</table>
       
   144 							</td> 
       
   145 						</tr>
       
   146 
       
   147 						<tr>
       
   148 							<td class="column1"><label for="bgcolor">{$lang_table_bgcolor}</label></td> 
       
   149 							<td>
       
   150 								<table border="0" cellpadding="0" cellspacing="0">
       
   151 									<tr>
       
   152 										<td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td>
       
   153 										<td id="bgcolor_pickcontainer">&nbsp;</td>
       
   154 									</tr>
       
   155 								</table>
       
   156 							</td> 
       
   157 						</tr>
       
   158 					</table>
       
   159 				</fieldset>
       
   160 			</div>
       
   161 		</div>
       
   162 
       
   163 		<div class="mceActionPanel">
       
   164 			<div>
       
   165 				<select id="action" name="action">
       
   166 					<option value="cell">{$lang_table_cell_cell}</option>
       
   167 					<option value="row">{$lang_table_cell_row}</option>
       
   168 					<option value="all">{$lang_table_cell_all}</option>
       
   169 				</select>
       
   170 			</div>
       
   171 
       
   172 			<div style="float: left">
       
   173 				<div><input type="button" id="insert" name="insert" value="{$lang_update}" onclick="updateAction();" /></div>
       
   174 			</div>
       
   175 
       
   176 			<div style="float: right">
       
   177 				<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
       
   178 			</div>
       
   179 		</div>
       
   180 	</form>
       
   181 </body>
       
   182 </html>