applied my changes - initial import
[boxroom-stian.git] / public / javascripts / tiny_mce / plugins / table / table.htm
blob6c4078db9c6e8e4693d741d2af752ee54b2bde5b
1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <head>
3 <title>{$lang_table_title}</title>
4 <script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
5 <script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
6 <script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
7 <script language="javascript" type="text/javascript" src="../../utils/validate.js"></script>
8 <script language="javascript" type="text/javascript" src="jscripts/table.js"></script>
9 <link href="css/table.css" rel="stylesheet" type="text/css" />
10 <base target="_self" />
11 </head>
12 <body id="table" onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
13 <form onsubmit="insertTable();return false;" action="#">
14 <div class="tabs">
15 <ul>
16 <li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{$lang_table_general_tab}</a></span></li>
17 <li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{$lang_table_advanced_tab}</a></span></li>
18 </ul>
19 </div>
21 <div class="panel_wrapper">
22 <div id="general_panel" class="panel current">
23 <fieldset>
24 <legend>{$lang_table_general_props}</legend>
26 <table border="0" cellpadding="4" cellspacing="0" width="100%">
27 <tr>
28 <td><label id="colslabel" for="cols">{$lang_table_cols}</label></td>
29 <td><input id="cols" name="cols" type="text" value="" size="3" maxlength="3" class="required number min1" /></td>
30 <td><label id="rowslabel" for="rows">{$lang_table_rows}</label></td>
31 <td><input id="rows" name="rows" type="text" value="" size="3" maxlength="3" class="required number min1" /></td>
32 </tr>
33 <tr>
34 <td><label id="cellpaddinglabel" for="cellpadding">{$lang_table_cellpadding}</label></td>
35 <td><input id="cellpadding" name="cellpadding" type="text" value="" size="3" maxlength="3" class="number" /></td>
36 <td><label id="cellspacinglabel" for="cellspacing">{$lang_table_cellspacing}</label></td>
37 <td><input id="cellspacing" name="cellspacing" type="text" value="" size="3" maxlength="3" class="number" /></td>
38 </tr>
39 <tr>
40 <td><label id="alignlabel" for="align">{$lang_table_align}</label></td>
41 <td><select id="align" name="align">
42 <option value="">{$lang_not_set}</option>
43 <option value="center">{$lang_table_align_middle}</option>
44 <option value="left">{$lang_table_align_left}</option>
45 <option value="right">{$lang_table_align_right}</option>
46 </select></td>
47 <td><label id="borderlabel" for="border">{$lang_table_border}</label></td>
48 <td><input id="border" name="border" type="text" value="" size="3" maxlength="3" onchange="changedBorder();" class="number" /></td>
49 </tr>
50 <tr id="width_row">
51 <td><label id="widthlabel" for="width">{$lang_table_width}</label></td>
52 <td><input name="width" type="text" id="width" value="" size="4" maxlength="4" onchange="changedSize();" class="size" /></td>
53 <td><label id="heightlabel" for="height">{$lang_table_height}</label></td>
54 <td><input name="height" type="text" id="height" value="" size="4" maxlength="4" onchange="changedSize();" class="size" /></td>
55 </tr>
56 <tr id="styleSelectRow">
57 <td><label id="classlabel" for="class">{$lang_class_name}</label></td>
58 <td colspan="3">
59 <select id="class" name="class">
60 <option value="" selected>{$lang_not_set}</option>
61 </select></td>
62 </tr>
63 </table>
64 </fieldset>
65 </div>
67 <div id="advanced_panel" class="panel">
68 <fieldset>
69 <legend>{$lang_table_advanced_props}</legend>
71 <table border="0" cellpadding="0" cellspacing="4">
72 <tr>
73 <td class="column1"><label for="id">{$lang_table_id}</label></td>
74 <td><input id="id" name="id" type="text" value="" class="advfield" /></td>
75 </tr>
77 <tr>
78 <td class="column1"><label for="summary">{$lang_table_summary}</label></td>
79 <td><input id="summary" name="summary" type="text" value="" class="advfield" /></td>
80 </tr>
82 <tr>
83 <td><label for="style">{$lang_table_style}</label></td>
84 <td><input type="text" id="style" name="style" value="" class="advfield" onchange="changedStyle();" /></td>
85 </tr>
87 <tr>
88 <td class="column1"><label for="dir">{$lang_table_langdir}</label></td>
89 <td>
90 <select id="dir" name="dir" class="advfield">
91 <option value="">{$lang_not_set}</option>
92 <option value="ltr">{$lang_table_ltr}</option>
93 <option value="rtl">{$lang_table_rtl}</option>
94 </select>
95 </td>
96 </tr>
98 <tr>
99 <td class="column1"><label id="langlabel" for="lang">{$lang_table_langcode}</label></td>
100 <td>
101 <input id="lang" name="lang" type="text" value="" class="advfield" />
102 </td>
103 </tr>
105 <tr>
106 <td class="column1"><label for="backgroundimage">{$lang_table_bgimage}</label></td>
107 <td>
108 <table border="0" cellpadding="0" cellspacing="0">
109 <tr>
110 <td><input id="backgroundimage" name="backgroundimage" type="text" value="" class="advfield" onchange="changedBackgroundImage();" /></td>
111 <td id="backgroundimagebrowsercontainer">&nbsp;</td>
112 </tr>
113 </table>
114 </td>
115 </tr>
117 <tr>
118 <td class="column1"><label for="bordercolor">{$lang_table_bordercolor}</label></td>
119 <td>
120 <table border="0" cellpadding="0" cellspacing="0">
121 <tr>
122 <td><input id="bordercolor" name="bordercolor" type="text" value="" size="9" onchange="updateColor('bordercolor_pick','bordercolor');changedColor();" /></td>
123 <td id="bordercolor_pickcontainer">&nbsp;</td>
124 </tr>
125 </table>
126 </td>
127 </tr>
129 <tr>
130 <td class="column1"><label for="bgcolor">{$lang_table_bgcolor}</label></td>
131 <td>
132 <table border="0" cellpadding="0" cellspacing="0">
133 <tr>
134 <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td>
135 <td id="bgcolor_pickcontainer">&nbsp;</td>
136 </tr>
137 </table>
138 </td>
139 </tr>
140 </table>
141 </fieldset>
142 </div>
143 </div>
145 <div class="mceActionPanel">
146 <div style="float: left">
147 <input type="button" id="insert" name="insert" value="{$lang_insert}" onclick="insertTable();" />
148 </div>
150 <div style="float: right">
151 <input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
152 </div>
153 </div>
154 </form>
155 </body>
156 </html>