bgneal@45
|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
bgneal@45
|
2 <html xmlns="http://www.w3.org/1999/xhtml">
|
bgneal@45
|
3 <head>
|
bgneal@45
|
4 <title>{#table_dlg.title}</title>
|
bgneal@45
|
5 <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
|
bgneal@45
|
6 <script type="text/javascript" src="../../utils/mctabs.js"></script>
|
bgneal@45
|
7 <script type="text/javascript" src="../../utils/form_utils.js"></script>
|
bgneal@45
|
8 <script type="text/javascript" src="../../utils/validate.js"></script>
|
bgneal@45
|
9 <script type="text/javascript" src="../../utils/editable_selects.js"></script>
|
bgneal@45
|
10 <script type="text/javascript" src="js/table.js"></script>
|
bgneal@45
|
11 <link href="css/table.css" rel="stylesheet" type="text/css" />
|
bgneal@45
|
12 </head>
|
bgneal@45
|
13 <body id="table" style="display: none">
|
bgneal@45
|
14 <form onsubmit="insertTable();return false;" action="#">
|
bgneal@45
|
15 <div class="tabs">
|
bgneal@45
|
16 <ul>
|
bgneal@45
|
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>
|
bgneal@45
|
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>
|
bgneal@45
|
19 </ul>
|
bgneal@45
|
20 </div>
|
bgneal@45
|
21
|
bgneal@45
|
22 <div class="panel_wrapper">
|
bgneal@45
|
23 <div id="general_panel" class="panel current">
|
bgneal@45
|
24 <fieldset>
|
bgneal@45
|
25 <legend>{#table_dlg.general_props}</legend>
|
bgneal@45
|
26 <table border="0" cellpadding="4" cellspacing="0" width="100%">
|
bgneal@45
|
27 <tr>
|
bgneal@45
|
28 <td><label id="colslabel" for="cols">{#table_dlg.cols}</label></td>
|
bgneal@45
|
29 <td><input id="cols" name="cols" type="text" value="" size="3" maxlength="3" class="required number min1 mceFocus" /></td>
|
bgneal@45
|
30 <td><label id="rowslabel" for="rows">{#table_dlg.rows}</label></td>
|
bgneal@45
|
31 <td><input id="rows" name="rows" type="text" value="" size="3" maxlength="3" class="required number min1" /></td>
|
bgneal@45
|
32 </tr>
|
bgneal@45
|
33 <tr>
|
bgneal@45
|
34 <td><label id="cellpaddinglabel" for="cellpadding">{#table_dlg.cellpadding}</label></td>
|
bgneal@45
|
35 <td><input id="cellpadding" name="cellpadding" type="text" value="" size="3" maxlength="3" class="number" /></td>
|
bgneal@45
|
36 <td><label id="cellspacinglabel" for="cellspacing">{#table_dlg.cellspacing}</label></td>
|
bgneal@45
|
37 <td><input id="cellspacing" name="cellspacing" type="text" value="" size="3" maxlength="3" class="number" /></td>
|
bgneal@45
|
38 </tr>
|
bgneal@45
|
39 <tr>
|
bgneal@45
|
40 <td><label id="alignlabel" for="align">{#table_dlg.align}</label></td>
|
bgneal@45
|
41 <td><select id="align" name="align">
|
bgneal@45
|
42 <option value="">{#not_set}</option>
|
bgneal@45
|
43 <option value="center">{#table_dlg.align_middle}</option>
|
bgneal@45
|
44 <option value="left">{#table_dlg.align_left}</option>
|
bgneal@45
|
45 <option value="right">{#table_dlg.align_right}</option>
|
bgneal@45
|
46 </select></td>
|
bgneal@45
|
47 <td><label id="borderlabel" for="border">{#table_dlg.border}</label></td>
|
bgneal@45
|
48 <td><input id="border" name="border" type="text" value="" size="3" maxlength="3" onchange="changedBorder();" class="number" /></td>
|
bgneal@45
|
49 </tr>
|
bgneal@45
|
50 <tr id="width_row">
|
bgneal@45
|
51 <td><label id="widthlabel" for="width">{#table_dlg.width}</label></td>
|
bgneal@45
|
52 <td><input name="width" type="text" id="width" value="" size="4" maxlength="4" onchange="changedSize();" class="size" /></td>
|
bgneal@45
|
53 <td><label id="heightlabel" for="height">{#table_dlg.height}</label></td>
|
bgneal@45
|
54 <td><input name="height" type="text" id="height" value="" size="4" maxlength="4" onchange="changedSize();" class="size" /></td>
|
bgneal@45
|
55 </tr>
|
bgneal@45
|
56 <tr id="styleSelectRow">
|
bgneal@45
|
57 <td><label id="classlabel" for="class">{#class_name}</label></td>
|
bgneal@45
|
58 <td colspan="3">
|
bgneal@45
|
59 <select id="class" name="class" class="mceEditableSelect">
|
bgneal@45
|
60 <option value="" selected="selected">{#not_set}</option>
|
bgneal@45
|
61 </select></td>
|
bgneal@45
|
62 </tr>
|
bgneal@45
|
63 <tr>
|
bgneal@45
|
64 <td class="column1"><label for="caption">{#table_dlg.caption}</label></td>
|
bgneal@45
|
65 <td><input id="caption" name="caption" type="checkbox" class="checkbox" value="true" /></td>
|
bgneal@45
|
66 </tr>
|
bgneal@45
|
67 </table>
|
bgneal@45
|
68 </fieldset>
|
bgneal@45
|
69 </div>
|
bgneal@45
|
70
|
bgneal@45
|
71 <div id="advanced_panel" class="panel">
|
bgneal@45
|
72 <fieldset>
|
bgneal@45
|
73 <legend>{#table_dlg.advanced_props}</legend>
|
bgneal@45
|
74
|
bgneal@45
|
75 <table border="0" cellpadding="0" cellspacing="4">
|
bgneal@45
|
76 <tr>
|
bgneal@45
|
77 <td class="column1"><label for="id">{#table_dlg.id}</label></td>
|
bgneal@45
|
78 <td><input id="id" name="id" type="text" value="" class="advfield" /></td>
|
bgneal@45
|
79 </tr>
|
bgneal@45
|
80
|
bgneal@45
|
81 <tr>
|
bgneal@45
|
82 <td class="column1"><label for="summary">{#table_dlg.summary}</label></td>
|
bgneal@45
|
83 <td><input id="summary" name="summary" type="text" value="" class="advfield" /></td>
|
bgneal@45
|
84 </tr>
|
bgneal@45
|
85
|
bgneal@45
|
86 <tr>
|
bgneal@45
|
87 <td><label for="style">{#table_dlg.style}</label></td>
|
bgneal@45
|
88 <td><input type="text" id="style" name="style" value="" class="advfield" onchange="changedStyle();" /></td>
|
bgneal@45
|
89 </tr>
|
bgneal@45
|
90
|
bgneal@45
|
91 <tr>
|
bgneal@45
|
92 <td class="column1"><label id="langlabel" for="lang">{#table_dlg.langcode}</label></td>
|
bgneal@45
|
93 <td>
|
bgneal@45
|
94 <input id="lang" name="lang" type="text" value="" class="advfield" />
|
bgneal@45
|
95 </td>
|
bgneal@45
|
96 </tr>
|
bgneal@45
|
97
|
bgneal@45
|
98 <tr>
|
bgneal@45
|
99 <td class="column1"><label for="backgroundimage">{#table_dlg.bgimage}</label></td>
|
bgneal@45
|
100 <td>
|
bgneal@45
|
101 <table border="0" cellpadding="0" cellspacing="0">
|
bgneal@45
|
102 <tr>
|
bgneal@45
|
103 <td><input id="backgroundimage" name="backgroundimage" type="text" value="" class="advfield" onchange="changedBackgroundImage();" /></td>
|
bgneal@45
|
104 <td id="backgroundimagebrowsercontainer"> </td>
|
bgneal@45
|
105 </tr>
|
bgneal@45
|
106 </table>
|
bgneal@45
|
107 </td>
|
bgneal@45
|
108 </tr>
|
bgneal@45
|
109
|
bgneal@45
|
110 <tr>
|
bgneal@183
|
111 <td class="column1"><label for="tframe">{#table_dlg.frame}</label></td>
|
bgneal@45
|
112 <td>
|
bgneal@183
|
113 <select id="tframe" name="tframe" class="advfield">
|
bgneal@45
|
114 <option value="">{#not_set}</option>
|
bgneal@45
|
115 <option value="void">{#table_dlg.rules_void}</option>
|
bgneal@45
|
116 <option value="above">{#table_dlg.rules_above}</option>
|
bgneal@45
|
117 <option value="below">{#table_dlg.rules_below}</option>
|
bgneal@45
|
118 <option value="hsides">{#table_dlg.rules_hsides}</option>
|
bgneal@45
|
119 <option value="lhs">{#table_dlg.rules_lhs}</option>
|
bgneal@45
|
120 <option value="rhs">{#table_dlg.rules_rhs}</option>
|
bgneal@45
|
121 <option value="vsides">{#table_dlg.rules_vsides}</option>
|
bgneal@45
|
122 <option value="box">{#table_dlg.rules_box}</option>
|
bgneal@45
|
123 <option value="border">{#table_dlg.rules_border}</option>
|
bgneal@45
|
124 </select>
|
bgneal@45
|
125 </td>
|
bgneal@45
|
126 </tr>
|
bgneal@45
|
127
|
bgneal@45
|
128 <tr>
|
bgneal@45
|
129 <td class="column1"><label for="rules">{#table_dlg.rules}</label></td>
|
bgneal@45
|
130 <td>
|
bgneal@45
|
131 <select id="rules" name="rules" class="advfield">
|
bgneal@45
|
132 <option value="">{#not_set}</option>
|
bgneal@45
|
133 <option value="none">{#table_dlg.frame_none}</option>
|
bgneal@45
|
134 <option value="groups">{#table_dlg.frame_groups}</option>
|
bgneal@45
|
135 <option value="rows">{#table_dlg.frame_rows}</option>
|
bgneal@45
|
136 <option value="cols">{#table_dlg.frame_cols}</option>
|
bgneal@45
|
137 <option value="all">{#table_dlg.frame_all}</option>
|
bgneal@45
|
138 </select>
|
bgneal@45
|
139 </td>
|
bgneal@45
|
140 </tr>
|
bgneal@45
|
141
|
bgneal@45
|
142 <tr>
|
bgneal@45
|
143 <td class="column1"><label for="dir">{#table_dlg.langdir}</label></td>
|
bgneal@45
|
144 <td>
|
bgneal@45
|
145 <select id="dir" name="dir" class="advfield">
|
bgneal@45
|
146 <option value="">{#not_set}</option>
|
bgneal@45
|
147 <option value="ltr">{#table_dlg.ltr}</option>
|
bgneal@45
|
148 <option value="rtl">{#table_dlg.rtl}</option>
|
bgneal@45
|
149 </select>
|
bgneal@45
|
150 </td>
|
bgneal@45
|
151 </tr>
|
bgneal@45
|
152
|
bgneal@45
|
153 <tr>
|
bgneal@45
|
154 <td class="column1"><label for="bordercolor">{#table_dlg.bordercolor}</label></td>
|
bgneal@45
|
155 <td>
|
bgneal@45
|
156 <table border="0" cellpadding="0" cellspacing="0">
|
bgneal@45
|
157 <tr>
|
bgneal@45
|
158 <td><input id="bordercolor" name="bordercolor" type="text" value="" size="9" onchange="updateColor('bordercolor_pick','bordercolor');changedColor();" /></td>
|
bgneal@45
|
159 <td id="bordercolor_pickcontainer"> </td>
|
bgneal@45
|
160 </tr>
|
bgneal@45
|
161 </table>
|
bgneal@45
|
162 </td>
|
bgneal@45
|
163 </tr>
|
bgneal@45
|
164
|
bgneal@45
|
165 <tr>
|
bgneal@45
|
166 <td class="column1"><label for="bgcolor">{#table_dlg.bgcolor}</label></td>
|
bgneal@45
|
167 <td>
|
bgneal@45
|
168 <table border="0" cellpadding="0" cellspacing="0">
|
bgneal@45
|
169 <tr>
|
bgneal@45
|
170 <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td>
|
bgneal@45
|
171 <td id="bgcolor_pickcontainer"> </td>
|
bgneal@45
|
172 </tr>
|
bgneal@45
|
173 </table>
|
bgneal@45
|
174 </td>
|
bgneal@45
|
175 </tr>
|
bgneal@45
|
176 </table>
|
bgneal@45
|
177 </fieldset>
|
bgneal@45
|
178 </div>
|
bgneal@45
|
179 </div>
|
bgneal@45
|
180
|
bgneal@45
|
181 <div class="mceActionPanel">
|
bgneal@183
|
182 <input type="submit" id="insert" name="insert" value="{#insert}" />
|
bgneal@183
|
183 <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
|
bgneal@45
|
184 </div>
|
bgneal@45
|
185 </form>
|
bgneal@45
|
186 </body>
|
bgneal@45
|
187 </html>
|