nouveau style menu_top
[mtweb] / mw / libs / tiny_mce / plugins / table / table.htm
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
3 <head>\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
12 </head>\r
13 <body id="table" style="display: none">\r
14         <form onsubmit="insertTable();return false;" action="#">\r
15                 <div class="tabs">\r
16                         <ul>\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
19                         </ul>\r
20                 </div>\r
21 \r
22                 <div class="panel_wrapper">\r
23                         <div id="general_panel" class="panel current">\r
24                                 <fieldset>\r
25                                         <legend>{#table_dlg.general_props}</legend>\r
26                                           <table border="0" cellpadding="4" cellspacing="0" width="100%">\r
27                                                           <tr>\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
32                                                           </tr>\r
33                                                           <tr>\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
38                                                           </tr>\r
39                                                           <tr>\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
46                                                                   </select></td>\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
49                                                           </tr>\r
50                                                           <tr id="width_row">\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
55                                                           </tr>\r
56                                                           <tr id="styleSelectRow">\r
57                                                                 <td><label id="classlabel" for="class">{#class_name}</label></td>\r
58                                                                 <td colspan="3">\r
59                                                                  <select id="class" name="class" class="mceEditableSelect">\r
60                                                                         <option value="" selected="selected">{#not_set}</option>\r
61                                                                  </select></td>\r
62                                                           </tr>\r
63                                                           <tr>\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
66                                                           </tr>\r
67                                                         </table>\r
68                                 </fieldset>\r
69                         </div>\r
70 \r
71                         <div id="advanced_panel" class="panel">\r
72                                 <fieldset>\r
73                                         <legend>{#table_dlg.advanced_props}</legend>\r
74 \r
75                                         <table border="0" cellpadding="0" cellspacing="4">\r
76                                                 <tr>\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
79                                                 </tr>\r
80 \r
81                                                 <tr>\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
84                                                 </tr>\r
85 \r
86                                                 <tr>\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
89                                                 </tr>\r
90 \r
91                                                 <tr>\r
92                                                         <td class="column1"><label id="langlabel" for="lang">{#table_dlg.langcode}</label></td> \r
93                                                         <td>\r
94                                                                 <input id="lang" name="lang" type="text" value="" class="advfield" />\r
95                                                         </td> \r
96                                                 </tr>\r
97 \r
98                                                 <tr>\r
99                                                         <td class="column1"><label for="backgroundimage">{#table_dlg.bgimage}</label></td> \r
100                                                         <td>\r
101                                                                 <table border="0" cellpadding="0" cellspacing="0">\r
102                                                                         <tr>\r
103                                                                                 <td><input id="backgroundimage" name="backgroundimage" type="text" value="" class="advfield" onchange="changedBackgroundImage();" /></td>\r
104                                                                                 <td id="backgroundimagebrowsercontainer">&nbsp;</td>\r
105                                                                         </tr>\r
106                                                                 </table>\r
107                                                         </td> \r
108                                                 </tr>\r
109 \r
110                                                 <tr>\r
111                                                         <td class="column1"><label for="tframe">{#table_dlg.frame}</label></td> \r
112                                                         <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
124                                                                 </select>\r
125                                                         </td> \r
126                                                 </tr>\r
127 \r
128                                                 <tr>\r
129                                                         <td class="column1"><label for="rules">{#table_dlg.rules}</label></td> \r
130                                                         <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
138                                                                         </select>\r
139                                                         </td> \r
140                                                 </tr>\r
141 \r
142                                                 <tr>\r
143                                                         <td class="column1"><label for="dir">{#table_dlg.langdir}</label></td> \r
144                                                         <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
149                                                                 </select>\r
150                                                         </td> \r
151                                                 </tr>\r
152 \r
153                                                 <tr>\r
154                                                         <td class="column1"><label for="bordercolor">{#table_dlg.bordercolor}</label></td> \r
155                                                         <td>\r
156                                                                 <table border="0" cellpadding="0" cellspacing="0">\r
157                                                                         <tr>\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">&nbsp;</td>\r
160                                                                         </tr>\r
161                                                                 </table>\r
162                                                         </td> \r
163                                                 </tr>\r
164 \r
165                                                 <tr>\r
166                                                         <td class="column1"><label for="bgcolor">{#table_dlg.bgcolor}</label></td> \r
167                                                         <td>\r
168                                                                 <table border="0" cellpadding="0" cellspacing="0">\r
169                                                                         <tr>\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">&nbsp;</td>\r
172                                                                         </tr>\r
173                                                                 </table>\r
174                                                         </td> \r
175                                                 </tr>\r
176                                         </table>\r
177                                 </fieldset>\r
178                         </div>\r
179                 </div>\r
180 \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
184                 </div>\r
185         </form>\r
186 </body>\r
187 </html>\r