<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" i18n:domain="tinymce">
<head>
	<title i18n:translate="table_dlg_title"></title>
	<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
	<script type="text/javascript" src="../../utils/mctabs.js"></script>
	<script type="text/javascript" src="../../utils/form_utils.js"></script>
	<script type="text/javascript" src="../../utils/validate.js"></script>
	<script type="text/javascript" src="../../utils/editable_selects.js"></script>
	<script type="text/javascript" src="js/table.js"></script>
    <link rel="stylesheet" type="text/css" href="css/table.css" />

</head>
<body id="table" >
	<div class="dialog-wrapper" id="content">
		<form onsubmit="insertTable();return false;" action="#">
			<ul class="formTabs"><li id="general_tab" class="formTab firstFormTab"><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;" class="selected"><span i18n:translate="table_dlg_general_tab"></span></a></li><li id="advanced_tab" class="formTab lastFormTab"><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;"><span i18n:translate="table_dlg_advanced_tab"></span></a></li></ul>

			<fieldset id="general_panel" class="formPanel">
				<div class="field">
					<label id="classlabel" for="class" i18n:translate="common_class_name"></label>
					<div class="widget">
						<select id="class" name="class" size="1">
							<option value="plain" selected="selected" i18n:translate="Subdued grid">Subdued grid</option>
						</select>
					</div>
				</div>

				<div class="field">
					<label id="colslabel" for="cols" i18n:translate="table_dlg_cols"></label>
					<div class="widget">
						<input id="cols" name="cols" type="text" value="" size="3" maxlength="3" class="required number min1" />
					</div>
				</div>

				<div class="field">
					<label id="rowslabel" for="rows" i18n:translate="table_dlg_rows"></label>
					<div class="widget">
						<input id="rows" name="rows" type="text" value="" size="3" maxlength="3" class="required number min1" />
					</div>
				</div>

				<div class="field">
					<label for="summary" i18n:translate="table_dlg_summary"></label>
					<div class="widget">
						<input id="summary" name="summary" type="text" value="" size="30" />
					</div>
				</div>
			</fieldset>

			<fieldset id="advanced_panel" class="formPanel">
				<div class="field" style="display:none;">
					<label id="widthlabel" for="width" i18n:translate="table_dlg_width"></label>
					<div class="widget">
						<input name="width" type="text" id="width" value="" size="4" maxlength="4" onchange="changedSize();" class="size" />
					</div>
				</div>

				<div class="field" style="display:none;">
					<label id="heightlabel" for="height" i18n:translate="table_dlg_height"></label>
					<div class="widget">
						<input name="height" type="text" id="height" value="" size="4" maxlength="4" onchange="changedSize();" class="size" />
					</div>
				</div>

				<div class="field" style="display:none;">
					<label id="alignlabel" for="align" i18n:translate="table_dlg_align"></label>
					<div class="widget">
						<select id="align" name="align">
							<option value="" i18n:translate="common_not_set"></option>
							<option value="center" i18n:translate="table_dlg_align_middle"></option>
							<option value="left" i18n:translate="table_dlg_align_left"></option>
							<option value="right" i18n:translate="table_dlg_align_right"></option>
						</select>
					</div>
				</div>

				<div class="field">
					<div class="widget">
						<input id="caption" name="caption" type="checkbox" /> <label for="caption" i18n:translate="table_dlg_caption"></label>
					</div>
				</div>
			</fieldset>

			<div class="hiddenset">
				<input type="text" id="cellpadding" name="cellpadding" value="" />
				<input type="text" id="cellspacing" name="cellspacing" value="" />
				<input type="text" id="id" name="id" value="" />
				<input type="text" id="style" name="style" value="" />
				<input type="text" id="lang" name="lang" value="" />
				<input type="text" id="backgroundimage" name="backgroundimage" value="" />
				<div id="backgroundimagebrowsercontainer"></div>
				<select id="tframe" name="tframe"><option value="" i18n:translate="common_not_set"></option></select>
				<select id="rules" name="rules"><option value="" i18n:translate="common_not_set"></option></select>
				<select id="dir" name="dir"><option value="" i18n:translate="common_not_set"></option></select>
				<input type="text" id="border" name="border" value="" />
				<input type="text" id="bordercolor" name="bordercolor" value="" />
				<div id="bordercolor_pickcontainer"></div>
				<input type="text" id="bgcolor" name="bgcolor" value="" />
				<div id="bgcolor_pickcontainer"></div>
			</div>

			<div class="visualClear"><!-- --></div>

			<div class="mceActionPanel formControls">
				<span class="actionButtons">
					<input type="submit" class="context" id="insert" name="insert" i18n:attributes="value common_insert" />
					<input type="button" class="context" id="cancel" name="cancel" i18n:attributes="value common_cancel" onclick="tinyMCEPopup.close();" />
				</span>
			</div>
		</form>
	</div>
</body>
</html>
