~hexmode/+junk/main

« back to all changes in this revision

Viewing changes to install-files/apps/sqlitemanager1.2.0/spaw/lib/toolbars/sidetable/sidetable_toolbar_data.inc.php

  • Committer: Mark A. Hershberger
  • Date: 2008-01-05 19:38:56 UTC
  • Revision ID: hershberger@spawn-xp-20080105193856-6rnzgwa4nehue3qj
initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php 
 
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
// ------------------------------------------------
 
10
//                                www.solmetra.com
 
11
// ================================================
 
12
// v.1.0, 2003-03-22
 
13
// ================================================
 
14
 
 
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.)
 
21
 
 
22
$spaw_toolbar_data = array(
 
23
  'top_design' => array(
 
24
      array(
 
25
        'settings' => array(
 
26
          'align' => 'left',
 
27
          'valign' => 'top'
 
28
        ),
 
29
        'data' => array (
 
30
            array(
 
31
              'name' => 'cut',
 
32
              'type' => SPAW_TBI_BUTTON
 
33
            ),
 
34
            array(
 
35
              'name' => 'copy',
 
36
              'type' => SPAW_TBI_BUTTON
 
37
            ),
 
38
            array(
 
39
              'name' => 'paste',
 
40
              'type' => SPAW_TBI_BUTTON
 
41
            ),
 
42
            array(
 
43
              'name' => 'vertical_separator',
 
44
              'type' => SPAW_TBI_IMAGE
 
45
            ),
 
46
            array(
 
47
              'name' => 'undo',
 
48
              'type' => SPAW_TBI_BUTTON
 
49
            ),
 
50
            array(
 
51
              'name' => 'redo',
 
52
              'type' => SPAW_TBI_BUTTON
 
53
            ),
 
54
            array(
 
55
              'name' => 'vertical_separator',
 
56
              'type' => SPAW_TBI_IMAGE
 
57
            ),
 
58
            array(
 
59
              'name' => 'bold',
 
60
              'type' => SPAW_TBI_BUTTON
 
61
            ),
 
62
            array(
 
63
              'name' => 'italic',
 
64
              'type' => SPAW_TBI_BUTTON
 
65
            ),
 
66
            array(
 
67
              'name' => 'underline',
 
68
              'type' => SPAW_TBI_BUTTON
 
69
            ),
 
70
            array(
 
71
              'name' => 'vertical_separator',
 
72
              'type' => SPAW_TBI_IMAGE
 
73
            ),
 
74
            array(
 
75
              'name' => 'superscript',
 
76
              'type' => SPAW_TBI_BUTTON
 
77
            ),
 
78
            array(
 
79
              'name' => 'subscript',
 
80
              'type' => SPAW_TBI_BUTTON
 
81
            ),
 
82
            array(
 
83
              'name' => 'vertical_separator',
 
84
              'type' => SPAW_TBI_IMAGE
 
85
            ),
 
86
            array(
 
87
              'name' => 'style',
 
88
              'type' => SPAW_TBI_DROPDOWN
 
89
            ),
 
90
        ) // data
 
91
      ),
 
92
      array(
 
93
        'settings' => array(
 
94
          'align' => 'left',
 
95
          'valign' => 'top'
 
96
        ),
 
97
        'data' => array (
 
98
            array(
 
99
              'name' => 'hyperlink',
 
100
              'type' => SPAW_TBI_BUTTON
 
101
            ),
 
102
            array(
 
103
              'name' => 'image_insert',
 
104
              'type' => SPAW_TBI_BUTTON
 
105
            ),
 
106
            array(
 
107
              'name' => 'image_prop',
 
108
              'type' => SPAW_TBI_BUTTON
 
109
            ),
 
110
            array(
 
111
              'name' => 'image_popup',
 
112
              'type' => SPAW_TBI_BUTTON
 
113
            ),
 
114
            array(
 
115
              'name' => 'hr',
 
116
              'type' => SPAW_TBI_BUTTON
 
117
            ),
 
118
            array(
 
119
              'name' => 'vertical_separator',
 
120
              'type' => SPAW_TBI_IMAGE
 
121
            ),
 
122
            array(
 
123
              'name' => 'ordered_list',
 
124
              'type' => SPAW_TBI_BUTTON
 
125
            ),
 
126
            array(
 
127
              'name' => 'bulleted_list',
 
128
              'type' => SPAW_TBI_BUTTON
 
129
            ),
 
130
            array(
 
131
              'name' => 'vertical_separator',
 
132
              'type' => SPAW_TBI_IMAGE
 
133
            ),
 
134
            array(
 
135
              'name' => 'indent',
 
136
              'type' => SPAW_TBI_BUTTON
 
137
            ),
 
138
            array(
 
139
              'name' => 'unindent',
 
140
              'type' => SPAW_TBI_BUTTON
 
141
            ),
 
142
            array(
 
143
              'name' => 'vertical_separator',
 
144
              'type' => SPAW_TBI_IMAGE
 
145
            ),
 
146
            array(
 
147
              'name' => 'left',
 
148
              'type' => SPAW_TBI_BUTTON
 
149
            ),
 
150
            array(
 
151
              'name' => 'center',
 
152
              'type' => SPAW_TBI_BUTTON
 
153
            ),
 
154
            array(
 
155
              'name' => 'right',
 
156
              'type' => SPAW_TBI_BUTTON
 
157
            ),
 
158
            array(
 
159
              'name' => 'justify',
 
160
              'type' => SPAW_TBI_BUTTON
 
161
            ),
 
162
            array(
 
163
              'name' => 'vertical_separator',
 
164
              'type' => SPAW_TBI_IMAGE
 
165
            ),
 
166
            array(
 
167
              'name' => 'fore_color',
 
168
              'type' => SPAW_TBI_BUTTON
 
169
            ),
 
170
            array(
 
171
              'name' => 'bg_color',
 
172
              'type' => SPAW_TBI_BUTTON
 
173
            ),
 
174
            array(
 
175
              'name' => 'vertical_separator',
 
176
              'type' => SPAW_TBI_IMAGE
 
177
            ),
 
178
            array(
 
179
              'name' => 'cleanup',
 
180
              'type' => SPAW_TBI_BUTTON
 
181
            ),
 
182
            array(
 
183
              'name' => 'toggle_borders',
 
184
              'type' => SPAW_TBI_BUTTON
 
185
            ),
 
186
        ) // data
 
187
      ),
 
188
  ),
 
189
 
 
190
  'bottom_design' => array(
 
191
      array(
 
192
        'settings' => array(
 
193
          'align' => 'right',
 
194
          'valign' => 'top'
 
195
        ),
 
196
        'data' => array (
 
197
            array(
 
198
              'name' => 'design_tab_on',
 
199
              'type' => SPAW_TBI_IMAGE
 
200
            ),
 
201
            array(
 
202
              'name' => 'html_tab',
 
203
              'type' => SPAW_TBI_BUTTON
 
204
            ),
 
205
        ) // data
 
206
      )
 
207
  ),
 
208
 
 
209
  'bottom_html' => array(
 
210
      array(
 
211
        'settings' => array(
 
212
          'align' => 'right',
 
213
          'valign' => 'top'
 
214
        ),
 
215
        'data' => array (
 
216
            array(
 
217
              'name' => 'design_tab',
 
218
              'type' => SPAW_TBI_BUTTON
 
219
            ),
 
220
            array(
 
221
              'name' => 'html_tab_on',
 
222
              'type' => SPAW_TBI_IMAGE
 
223
            ),
 
224
        ) // data
 
225
      )
 
226
  ),
 
227
  
 
228
  'left_design' => array(
 
229
      array(
 
230
        'settings' => array(
 
231
          'align' => 'center',
 
232
          'valign' => 'top'
 
233
        ),
 
234
        'data' => array (
 
235
            array(
 
236
              'name' => 'table_create',
 
237
              'type' => SPAW_TBI_BUTTON
 
238
            ),
 
239
            array(
 
240
              'name' => 'table_prop',
 
241
              'type' => SPAW_TBI_BUTTON
 
242
            ),
 
243
            array(
 
244
              'name' => 'table_cell_prop',
 
245
              'type' => SPAW_TBI_BUTTON
 
246
            ),
 
247
            array(
 
248
              'name' => 'table_row_insert',
 
249
              'type' => SPAW_TBI_BUTTON
 
250
            ),
 
251
            array(
 
252
              'name' => 'table_column_insert',
 
253
              'type' => SPAW_TBI_BUTTON
 
254
            ),
 
255
            array(
 
256
              'name' => 'table_row_delete',
 
257
              'type' => SPAW_TBI_BUTTON
 
258
            ),
 
259
            array(
 
260
              'name' => 'table_column_delete',
 
261
              'type' => SPAW_TBI_BUTTON
 
262
            ),
 
263
            array(
 
264
              'name' => 'table_cell_merge_right',
 
265
              'type' => SPAW_TBI_BUTTON
 
266
            ),
 
267
            array(
 
268
              'name' => 'table_cell_merge_down',
 
269
              'type' => SPAW_TBI_BUTTON
 
270
            ),
 
271
            array(
 
272
              'name' => 'table_cell_split_horizontal',
 
273
              'type' => SPAW_TBI_BUTTON
 
274
            ),
 
275
            array(
 
276
              'name' => 'table_cell_split_vertical',
 
277
              'type' => SPAW_TBI_BUTTON
 
278
            )
 
279
        ) // data
 
280
      )
 
281
  )
 
282
);
 
283
?>