nouveau style menu_top
[mtweb] / mw / libs / tiny_mce / plugins / table / cell.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.cell_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/editable_selects.js"></script>\r
9         <script type="text/javascript" src="js/cell.js"></script>\r
10         <link href="css/cell.css" rel="stylesheet" type="text/css" />\r
11 </head>\r
12 <body id="tablecell" style="display: none">\r
13         <form onsubmit="updateAction();return false;" action="#">\r
14                 <div class="tabs">\r
15                         <ul>\r
16                                 <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
17                                 <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
18                         </ul>\r
19                 </div>\r
20 \r
21                 <div class="panel_wrapper">\r
22                         <div id="general_panel" class="panel current">\r
23                                 <fieldset>\r
24                                         <legend>{#table_dlg.general_props}</legend>\r
25 \r
26                                         <table border="0" cellpadding="4" cellspacing="0">\r
27                                                 <tr>\r
28                                                         <td><label for="align">{#table_dlg.align}</label></td>\r
29                                                         <td>\r
30                                                                 <select id="align" name="align" class="mceFocus">\r
31                                                                         <option value="">{#not_set}</option>\r
32                                                                         <option value="center">{#table_dlg.align_middle}</option>\r
33                                                                         <option value="left">{#table_dlg.align_left}</option>\r
34                                                                         <option value="right">{#table_dlg.align_right}</option>\r
35                                                                 </select>\r
36                                                         </td>\r
37                 \r
38                                                         <td><label for="celltype">{#table_dlg.cell_type}</label></td>\r
39                                                         <td>\r
40                                                                 <select id="celltype" name="celltype">\r
41                                                                         <option value="td">{#table_dlg.td}</option>\r
42                                                                         <option value="th">{#table_dlg.th}</option>\r
43                                                                 </select>\r
44                                                         </td>\r
45                                                 </tr>\r
46 \r
47                                                 <tr>\r
48                                                         <td><label for="valign">{#table_dlg.valign}</label></td>\r
49                                                         <td>\r
50                                                                 <select id="valign" name="valign">\r
51                                                                         <option value="">{#not_set}</option>\r
52                                                                         <option value="top">{#table_dlg.align_top}</option>\r
53                                                                         <option value="middle">{#table_dlg.align_middle}</option>\r
54                                                                         <option value="bottom">{#table_dlg.align_bottom}</option>\r
55                                                                 </select>\r
56                                                         </td>\r
57 \r
58                                                         <td><label for="scope">{#table_dlg.scope}</label></td>\r
59                                                         <td>\r
60                                                                 <select id="scope" name="scope">\r
61                                                                         <option value="">{#not_set}</option>\r
62                                                                         <option value="col">{#table.col}</option>\r
63                                                                         <option value="row">{#table.row}</option>\r
64                                                                         <option value="rowgroup">{#table_dlg.rowgroup}</option>\r
65                                                                         <option value="colgroup">{#table_dlg.colgroup}</option>\r
66                                                                 </select>\r
67                                                         </td>\r
68 \r
69                                                 </tr>\r
70 \r
71                                                 <tr>\r
72                                                         <td><label for="width">{#table_dlg.width}</label></td>\r
73                                                         <td><input id="width" name="width" type="text" value="" size="4" maxlength="4" onchange="changedSize();" /></td>\r
74 \r
75                                                         <td><label for="height">{#table_dlg.height}</label></td>\r
76                                                         <td><input id="height" name="height" type="text" value="" size="4" maxlength="4" onchange="changedSize();" /></td>\r
77                                                 </tr>\r
78 \r
79                                                 <tr id="styleSelectRow">\r
80                                                         <td><label for="class">{#class_name}</label></td>\r
81                                                         <td colspan="3">\r
82                                                                 <select id="class" name="class" class="mceEditableSelect">\r
83                                                                         <option value="" selected="selected">{#not_set}</option>\r
84                                                                 </select>\r
85                                                         </td>\r
86                                                 </tr>\r
87                                         </table>\r
88                                 </fieldset>\r
89                         </div>\r
90 \r
91                         <div id="advanced_panel" class="panel">\r
92                                 <fieldset>\r
93                                         <legend>{#table_dlg.advanced_props}</legend>\r
94 \r
95                                         <table border="0" cellpadding="0" cellspacing="4">\r
96                                                 <tr>\r
97                                                         <td class="column1"><label for="id">{#table_dlg.id}</label></td> \r
98                                                         <td><input id="id" name="id" type="text" value="" style="width: 200px" /></td> \r
99                                                 </tr>\r
100 \r
101                                                 <tr>\r
102                                                         <td><label for="style">{#table_dlg.style}</label></td>\r
103                                                         <td><input type="text" id="style" name="style" value="" style="width: 200px;" onchange="changedStyle();" /></td>\r
104                                                 </tr>\r
105 \r
106                                                 <tr>\r
107                                                         <td class="column1"><label for="dir">{#table_dlg.langdir}</label></td> \r
108                                                         <td>\r
109                                                                 <select id="dir" name="dir" style="width: 200px"> \r
110                                                                                 <option value="">{#not_set}</option> \r
111                                                                                 <option value="ltr">{#table_dlg.ltr}</option> \r
112                                                                                 <option value="rtl">{#table_dlg.rtl}</option> \r
113                                                                 </select>\r
114                                                         </td> \r
115                                                 </tr>\r
116 \r
117                                                 <tr>\r
118                                                         <td class="column1"><label for="lang">{#table_dlg.langcode}</label></td> \r
119                                                         <td>\r
120                                                                 <input id="lang" name="lang" type="text" value="" style="width: 200px" />\r
121                                                         </td> \r
122                                                 </tr>\r
123 \r
124                                                 <tr>\r
125                                                         <td class="column1"><label for="backgroundimage">{#table_dlg.bgimage}</label></td> \r
126                                                         <td>\r
127                                                                 <table border="0" cellpadding="0" cellspacing="0">\r
128                                                                         <tr>\r
129                                                                                 <td><input id="backgroundimage" name="backgroundimage" type="text" value="" style="width: 200px" onchange="changedBackgroundImage();" /></td>\r
130                                                                                 <td id="backgroundimagebrowsercontainer">&nbsp;</td>\r
131                                                                         </tr>\r
132                                                                 </table>\r
133                                                         </td> \r
134                                                 </tr>\r
135 \r
136                                                 <tr>\r
137                                                         <td class="column1"><label for="bordercolor">{#table_dlg.bordercolor}</label></td> \r
138                                                         <td>\r
139                                                                 <table border="0" cellpadding="0" cellspacing="0">\r
140                                                                         <tr>\r
141                                                                                 <td><input id="bordercolor" name="bordercolor" type="text" value="" size="9" onchange="updateColor('bordercolor_pick','bordercolor');changedColor();" /></td>\r
142                                                                                 <td id="bordercolor_pickcontainer">&nbsp;</td>\r
143                                                                         </tr>\r
144                                                                 </table>\r
145                                                         </td> \r
146                                                 </tr>\r
147 \r
148                                                 <tr>\r
149                                                         <td class="column1"><label for="bgcolor">{#table_dlg.bgcolor}</label></td> \r
150                                                         <td>\r
151                                                                 <table border="0" cellpadding="0" cellspacing="0">\r
152                                                                         <tr>\r
153                                                                                 <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td>\r
154                                                                                 <td id="bgcolor_pickcontainer">&nbsp;</td>\r
155                                                                         </tr>\r
156                                                                 </table>\r
157                                                         </td> \r
158                                                 </tr>\r
159                                         </table>\r
160                                 </fieldset>\r
161                         </div>\r
162                 </div>\r
163 \r
164                 <div class="mceActionPanel">\r
165                         <div>\r
166                                 <select id="action" name="action">\r
167                                         <option value="cell">{#table_dlg.cell_cell}</option>\r
168                                         <option value="row">{#table_dlg.cell_row}</option>\r
169                                         <option value="all">{#table_dlg.cell_all}</option>\r
170                                 </select>\r
171                         </div>\r
172 \r
173                         <input type="submit" id="insert" name="insert" value="{#update}" />\r
174                         <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />\r
175                 </div>\r
176         </form>\r
177 </body>\r
178 </html>\r