includes/clientside/tinymce/plugins/table/table.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_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="../../utils/validate.js"></script>
       
     8 	<script language="javascript" type="text/javascript" src="jscripts/table.js"></script>
       
     9 	<link href="css/table.css" rel="stylesheet" type="text/css" />
       
    10 	<base target="_self" />
       
    11 </head>
       
    12 <body id="table" onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
       
    13 	<form onsubmit="insertTable();return false;" action="#">
       
    14 		<div class="tabs">
       
    15 			<ul>
       
    16 				<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>
       
    17 				<li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{$lang_table_advanced_tab}</a></span></li>
       
    18 			</ul>
       
    19 		</div>
       
    20 
       
    21 		<div class="panel_wrapper">
       
    22 			<div id="general_panel" class="panel current">
       
    23 				<fieldset>
       
    24 					<legend>{$lang_table_general_props}</legend>
       
    25 
       
    26 					  <table border="0" cellpadding="4" cellspacing="0" width="100%">
       
    27 							  <tr>
       
    28 								<td><label id="colslabel" for="cols">{$lang_table_cols}</label></td>
       
    29 								<td><input id="cols" name="cols" type="text" value="" size="3" maxlength="3" class="required number min1" /></td>
       
    30 								<td><label id="rowslabel" for="rows">{$lang_table_rows}</label></td>
       
    31 								<td><input id="rows" name="rows" type="text" value="" size="3" maxlength="3" class="required number min1" /></td>
       
    32 							  </tr>
       
    33 							  <tr>
       
    34 								<td><label id="cellpaddinglabel" for="cellpadding">{$lang_table_cellpadding}</label></td>
       
    35 								<td><input id="cellpadding" name="cellpadding" type="text" value="" size="3" maxlength="3" class="number" /></td>
       
    36 								<td><label id="cellspacinglabel" for="cellspacing">{$lang_table_cellspacing}</label></td>
       
    37 								<td><input id="cellspacing" name="cellspacing" type="text" value="" size="3" maxlength="3" class="number" /></td>
       
    38 							  </tr>
       
    39 							  <tr>
       
    40 								<td><label id="alignlabel" for="align">{$lang_table_align}</label></td>
       
    41 								<td><select id="align" name="align">
       
    42 									<option value="">{$lang_not_set}</option>
       
    43 									<option value="center">{$lang_table_align_middle}</option>
       
    44 									<option value="left">{$lang_table_align_left}</option>
       
    45 									<option value="right">{$lang_table_align_right}</option>
       
    46 								  </select></td>
       
    47 								<td><label id="borderlabel" for="border">{$lang_table_border}</label></td>
       
    48 								<td><input id="border" name="border" type="text" value="" size="3" maxlength="3" onchange="changedBorder();" class="number" /></td>
       
    49 							  </tr>
       
    50 							  <tr id="width_row">
       
    51 								<td><label id="widthlabel" for="width">{$lang_table_width}</label></td>
       
    52 								<td><input name="width" type="text" id="width" value="" size="4" maxlength="4" onchange="changedSize();" class="size" /></td>
       
    53 								<td><label id="heightlabel" for="height">{$lang_table_height}</label></td>
       
    54 								<td><input name="height" type="text" id="height" value="" size="4" maxlength="4" onchange="changedSize();" class="size" /></td>
       
    55 							  </tr>
       
    56 							  <tr id="styleSelectRow">
       
    57 								<td><label id="classlabel" for="class">{$lang_class_name}</label></td>
       
    58 								<td colspan="3">
       
    59 								 <select id="class" name="class">
       
    60 									<option value="" selected>{$lang_not_set}</option>
       
    61 								 </select></td>
       
    62 							  </tr>
       
    63 							  <tr>
       
    64 								<td class="column1"><label for="caption">{$lang_table_caption}</label></td> 
       
    65 								<td><input id="caption" name="caption" type="checkbox" value="true" /></td> 
       
    66 							  </tr>
       
    67 							</table>
       
    68 				</fieldset>
       
    69 			</div>
       
    70 
       
    71 			<div id="advanced_panel" class="panel">
       
    72 				<fieldset>
       
    73 					<legend>{$lang_table_advanced_props}</legend>
       
    74 
       
    75 					<table border="0" cellpadding="0" cellspacing="4">
       
    76 						<tr>
       
    77 							<td class="column1"><label for="id">{$lang_table_id}</label></td> 
       
    78 							<td><input id="id" name="id" type="text" value="" class="advfield" /></td> 
       
    79 						</tr>
       
    80 
       
    81 						<tr>
       
    82 							<td class="column1"><label for="summary">{$lang_table_summary}</label></td> 
       
    83 							<td><input id="summary" name="summary" type="text" value="" class="advfield" /></td> 
       
    84 						</tr>
       
    85 
       
    86 						<tr>
       
    87 							<td><label for="style">{$lang_table_style}</label></td>
       
    88 							<td><input type="text" id="style" name="style" value="" class="advfield" onchange="changedStyle();" /></td>
       
    89 						</tr>
       
    90 
       
    91 						<tr>
       
    92 							<td class="column1"><label for="dir">{$lang_table_langdir}</label></td> 
       
    93 							<td>
       
    94 								<select id="dir" name="dir" class="advfield"> 
       
    95 										<option value="">{$lang_not_set}</option> 
       
    96 										<option value="ltr">{$lang_table_ltr}</option> 
       
    97 										<option value="rtl">{$lang_table_rtl}</option> 
       
    98 								</select>
       
    99 							</td> 
       
   100 						</tr>
       
   101 
       
   102 						<tr>
       
   103 							<td class="column1"><label id="langlabel" for="lang">{$lang_table_langcode}</label></td> 
       
   104 							<td>
       
   105 								<input id="lang" name="lang" type="text" value="" class="advfield" />
       
   106 							</td> 
       
   107 						</tr>
       
   108 
       
   109 						<tr>
       
   110 							<td class="column1"><label for="backgroundimage">{$lang_table_bgimage}</label></td> 
       
   111 							<td>
       
   112 								<table border="0" cellpadding="0" cellspacing="0">
       
   113 									<tr>
       
   114 										<td><input id="backgroundimage" name="backgroundimage" type="text" value="" class="advfield" onchange="changedBackgroundImage();" /></td>
       
   115 										<td id="backgroundimagebrowsercontainer">&nbsp;</td>
       
   116 									</tr>
       
   117 								</table>
       
   118 							</td> 
       
   119 						</tr>
       
   120 
       
   121 						<tr>
       
   122 							<td class="column1"><label for="bordercolor">{$lang_table_bordercolor}</label></td> 
       
   123 							<td>
       
   124 								<table border="0" cellpadding="0" cellspacing="0">
       
   125 									<tr>
       
   126 										<td><input id="bordercolor" name="bordercolor" type="text" value="" size="9" onchange="updateColor('bordercolor_pick','bordercolor');changedColor();" /></td>
       
   127 										<td id="bordercolor_pickcontainer">&nbsp;</td>
       
   128 									</tr>
       
   129 								</table>
       
   130 							</td> 
       
   131 						</tr>
       
   132 
       
   133 						<tr>
       
   134 							<td class="column1"><label for="bgcolor">{$lang_table_bgcolor}</label></td> 
       
   135 							<td>
       
   136 								<table border="0" cellpadding="0" cellspacing="0">
       
   137 									<tr>
       
   138 										<td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td>
       
   139 										<td id="bgcolor_pickcontainer">&nbsp;</td>
       
   140 									</tr>
       
   141 								</table>
       
   142 							</td> 
       
   143 						</tr>
       
   144 					</table>
       
   145 				</fieldset>
       
   146 			</div>
       
   147 		</div>
       
   148 
       
   149 		<div class="mceActionPanel">
       
   150 			<div style="float: left">
       
   151 				<input type="button" id="insert" name="insert" value="{$lang_insert}" onclick="insertTable();" />
       
   152 			</div>
       
   153 
       
   154 			<div style="float: right">
       
   155 				<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
       
   156 			</div>
       
   157 		</div>
       
   158 	</form>
       
   159 </body>
       
   160 </html>