2
// ================================================
3
// SPAW PHP WYSIWYG editor control
4
// ================================================
5
// Default toolbar data file
6
// ================================================
7
// Developed: Alan Mendelevich, alan@solmetra.lt
8
// Copyright: Solmetra (c)2003 All rights reserved.
9
// ------------------------------------------------
11
// ================================================
13
// ================================================
15
// array to hold toolbar definitions
16
// first dimension - toolbar location (top, left, right, bottom)
17
// second dimension - toolbar row/column
18
// third dimension - settings/data
19
// fourth dimension - setting/toolbar item
20
// toolbar item: name - item name, type - item type (button, dropdown, separator, etc.)
22
$spaw_toolbar_data = array(
23
'top_design' => array(
32
'type' => SPAW_TBI_BUTTON
36
'type' => SPAW_TBI_BUTTON
40
'type' => SPAW_TBI_BUTTON
43
'name' => 'vertical_separator',
44
'type' => SPAW_TBI_IMAGE
48
'type' => SPAW_TBI_BUTTON
52
'type' => SPAW_TBI_BUTTON
55
'name' => 'vertical_separator',
56
'type' => SPAW_TBI_IMAGE
60
'type' => SPAW_TBI_BUTTON
64
'type' => SPAW_TBI_BUTTON
67
'name' => 'underline',
68
'type' => SPAW_TBI_BUTTON
71
'name' => 'vertical_separator',
72
'type' => SPAW_TBI_IMAGE
75
'name' => 'superscript',
76
'type' => SPAW_TBI_BUTTON
79
'name' => 'subscript',
80
'type' => SPAW_TBI_BUTTON
83
'name' => 'vertical_separator',
84
'type' => SPAW_TBI_IMAGE
88
'type' => SPAW_TBI_DROPDOWN
99
'name' => 'hyperlink',
100
'type' => SPAW_TBI_BUTTON
103
'name' => 'image_insert',
104
'type' => SPAW_TBI_BUTTON
107
'name' => 'image_prop',
108
'type' => SPAW_TBI_BUTTON
111
'name' => 'image_popup',
112
'type' => SPAW_TBI_BUTTON
116
'type' => SPAW_TBI_BUTTON
119
'name' => 'vertical_separator',
120
'type' => SPAW_TBI_IMAGE
123
'name' => 'ordered_list',
124
'type' => SPAW_TBI_BUTTON
127
'name' => 'bulleted_list',
128
'type' => SPAW_TBI_BUTTON
131
'name' => 'vertical_separator',
132
'type' => SPAW_TBI_IMAGE
136
'type' => SPAW_TBI_BUTTON
139
'name' => 'unindent',
140
'type' => SPAW_TBI_BUTTON
143
'name' => 'vertical_separator',
144
'type' => SPAW_TBI_IMAGE
148
'type' => SPAW_TBI_BUTTON
152
'type' => SPAW_TBI_BUTTON
156
'type' => SPAW_TBI_BUTTON
160
'type' => SPAW_TBI_BUTTON
163
'name' => 'vertical_separator',
164
'type' => SPAW_TBI_IMAGE
167
'name' => 'fore_color',
168
'type' => SPAW_TBI_BUTTON
171
'name' => 'bg_color',
172
'type' => SPAW_TBI_BUTTON
175
'name' => 'vertical_separator',
176
'type' => SPAW_TBI_IMAGE
180
'type' => SPAW_TBI_BUTTON
183
'name' => 'toggle_borders',
184
'type' => SPAW_TBI_BUTTON
190
'bottom_design' => array(
198
'name' => 'design_tab_on',
199
'type' => SPAW_TBI_IMAGE
202
'name' => 'html_tab',
203
'type' => SPAW_TBI_BUTTON
209
'bottom_html' => array(
217
'name' => 'design_tab',
218
'type' => SPAW_TBI_BUTTON
221
'name' => 'html_tab_on',
222
'type' => SPAW_TBI_IMAGE
228
'left_design' => array(
236
'name' => 'table_create',
237
'type' => SPAW_TBI_BUTTON
240
'name' => 'table_prop',
241
'type' => SPAW_TBI_BUTTON
244
'name' => 'table_cell_prop',
245
'type' => SPAW_TBI_BUTTON
248
'name' => 'table_row_insert',
249
'type' => SPAW_TBI_BUTTON
252
'name' => 'table_column_insert',
253
'type' => SPAW_TBI_BUTTON
256
'name' => 'table_row_delete',
257
'type' => SPAW_TBI_BUTTON
260
'name' => 'table_column_delete',
261
'type' => SPAW_TBI_BUTTON
264
'name' => 'table_cell_merge_right',
265
'type' => SPAW_TBI_BUTTON
268
'name' => 'table_cell_merge_down',
269
'type' => SPAW_TBI_BUTTON
272
'name' => 'table_cell_split_horizontal',
273
'type' => SPAW_TBI_BUTTON
276
'name' => 'table_cell_split_vertical',
277
'type' => SPAW_TBI_BUTTON