1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
\r
2 <html xmlns="http://www.w3.org/1999/xhtml">
\r
4 <title>{#table_dlg.title}</title>
\r
5 <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
\r
6 <script type="text/javascript" src="../../utils/mctabs.js"></script>
\r
7 <script type="text/javascript" src="../../utils/form_utils.js"></script>
\r
8 <script type="text/javascript" src="../../utils/validate.js"></script>
\r
9 <script type="text/javascript" src="../../utils/editable_selects.js"></script>
\r
10 <script type="text/javascript" src="js/table.js"></script>
\r
11 <link href="css/table.css" rel="stylesheet" type="text/css" />
\r
13 <body id="table" style="display: none">
\r
14 <form onsubmit="insertTable();return false;" action="#">
\r
17 <li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#table_dlg.general_tab}</a></span></li>
\r
18 <li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#table_dlg.advanced_tab}</a></span></li>
\r
22 <div class="panel_wrapper">
\r
23 <div id="general_panel" class="panel current">
\r
25 <legend>{#table_dlg.general_props}</legend>
\r
26 <table border="0" cellpadding="4" cellspacing="0" width="100%">
\r
28 <td><label id="colslabel" for="cols">{#table_dlg.cols}</label></td>
\r
29 <td><input id="cols" name="cols" type="text" value="" size="3" maxlength="3" class="required number min1 mceFocus" /></td>
\r
30 <td><label id="rowslabel" for="rows">{#table_dlg.rows}</label></td>
\r
31 <td><input id="rows" name="rows" type="text" value="" size="3" maxlength="3" class="required number min1" /></td>
\r
34 <td><label id="cellpaddinglabel" for="cellpadding">{#table_dlg.cellpadding}</label></td>
\r
35 <td><input id="cellpadding" name="cellpadding" type="text" value="" size="3" maxlength="3" class="number" /></td>
\r
36 <td><label id="cellspacinglabel" for="cellspacing">{#table_dlg.cellspacing}</label></td>
\r
37 <td><input id="cellspacing" name="cellspacing" type="text" value="" size="3" maxlength="3" class="number" /></td>
\r
40 <td><label id="alignlabel" for="align">{#table_dlg.align}</label></td>
\r
41 <td><select id="align" name="align">
\r
42 <option value="">{#not_set}</option>
\r
43 <option value="center">{#table_dlg.align_middle}</option>
\r
44 <option value="left">{#table_dlg.align_left}</option>
\r
45 <option value="right">{#table_dlg.align_right}</option>
\r
47 <td><label id="borderlabel" for="border">{#table_dlg.border}</label></td>
\r
48 <td><input id="border" name="border" type="text" value="" size="3" maxlength="3" onchange="changedBorder();" class="number" /></td>
\r
51 <td><label id="widthlabel" for="width">{#table_dlg.width}</label></td>
\r
52 <td><input name="width" type="text" id="width" value="" size="4" maxlength="4" onchange="changedSize();" class="size" /></td>
\r
53 <td><label id="heightlabel" for="height">{#table_dlg.height}</label></td>
\r
54 <td><input name="height" type="text" id="height" value="" size="4" maxlength="4" onchange="changedSize();" class="size" /></td>
\r
56 <tr id="styleSelectRow">
\r
57 <td><label id="classlabel" for="class">{#class_name}</label></td>
\r
59 <select id="class" name="class" class="mceEditableSelect">
\r
60 <option value="" selected="selected">{#not_set}</option>
\r
64 <td class="column1"><label for="caption">{#table_dlg.caption}</label></td>
\r
65 <td><input id="caption" name="caption" type="checkbox" class="checkbox" value="true" /></td>
\r
71 <div id="advanced_panel" class="panel">
\r
73 <legend>{#table_dlg.advanced_props}</legend>
\r
75 <table border="0" cellpadding="0" cellspacing="4">
\r
77 <td class="column1"><label for="id">{#table_dlg.id}</label></td>
\r
78 <td><input id="id" name="id" type="text" value="" class="advfield" /></td>
\r
82 <td class="column1"><label for="summary">{#table_dlg.summary}</label></td>
\r
83 <td><input id="summary" name="summary" type="text" value="" class="advfield" /></td>
\r
87 <td><label for="style">{#table_dlg.style}</label></td>
\r
88 <td><input type="text" id="style" name="style" value="" class="advfield" onchange="changedStyle();" /></td>
\r
92 <td class="column1"><label id="langlabel" for="lang">{#table_dlg.langcode}</label></td>
\r
94 <input id="lang" name="lang" type="text" value="" class="advfield" />
\r
99 <td class="column1"><label for="backgroundimage">{#table_dlg.bgimage}</label></td>
\r
101 <table border="0" cellpadding="0" cellspacing="0">
\r
103 <td><input id="backgroundimage" name="backgroundimage" type="text" value="" class="advfield" onchange="changedBackgroundImage();" /></td>
\r
104 <td id="backgroundimagebrowsercontainer"> </td>
\r
111 <td class="column1"><label for="tframe">{#table_dlg.frame}</label></td>
\r
113 <select id="tframe" name="tframe" class="advfield">
\r
114 <option value="">{#not_set}</option>
\r
115 <option value="void">{#table_dlg.rules_void}</option>
\r
116 <option value="above">{#table_dlg.rules_above}</option>
\r
117 <option value="below">{#table_dlg.rules_below}</option>
\r
118 <option value="hsides">{#table_dlg.rules_hsides}</option>
\r
119 <option value="lhs">{#table_dlg.rules_lhs}</option>
\r
120 <option value="rhs">{#table_dlg.rules_rhs}</option>
\r
121 <option value="vsides">{#table_dlg.rules_vsides}</option>
\r
122 <option value="box">{#table_dlg.rules_box}</option>
\r
123 <option value="border">{#table_dlg.rules_border}</option>
\r
129 <td class="column1"><label for="rules">{#table_dlg.rules}</label></td>
\r
131 <select id="rules" name="rules" class="advfield">
\r
132 <option value="">{#not_set}</option>
\r
133 <option value="none">{#table_dlg.frame_none}</option>
\r
134 <option value="groups">{#table_dlg.frame_groups}</option>
\r
135 <option value="rows">{#table_dlg.frame_rows}</option>
\r
136 <option value="cols">{#table_dlg.frame_cols}</option>
\r
137 <option value="all">{#table_dlg.frame_all}</option>
\r
143 <td class="column1"><label for="dir">{#table_dlg.langdir}</label></td>
\r
145 <select id="dir" name="dir" class="advfield">
\r
146 <option value="">{#not_set}</option>
\r
147 <option value="ltr">{#table_dlg.ltr}</option>
\r
148 <option value="rtl">{#table_dlg.rtl}</option>
\r
154 <td class="column1"><label for="bordercolor">{#table_dlg.bordercolor}</label></td>
\r
156 <table border="0" cellpadding="0" cellspacing="0">
\r
158 <td><input id="bordercolor" name="bordercolor" type="text" value="" size="9" onchange="updateColor('bordercolor_pick','bordercolor');changedColor();" /></td>
\r
159 <td id="bordercolor_pickcontainer"> </td>
\r
166 <td class="column1"><label for="bgcolor">{#table_dlg.bgcolor}</label></td>
\r
168 <table border="0" cellpadding="0" cellspacing="0">
\r
170 <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td>
\r
171 <td id="bgcolor_pickcontainer"> </td>
\r
181 <div class="mceActionPanel">
\r
182 <input type="submit" id="insert" name="insert" value="{#insert}" />
\r
183 <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
\r