Happy New Year
[squirrelmail.git] / include / options / accessibility.php
CommitLineData
8949acd6 1<?php
2
3/**
4 * options_accessibility.php
5 *
6 * Displays all options concerning accessibility features in SquirrelMail.
7 *
c4faef33 8 * @copyright 1999-2020 The SquirrelMail Project Team
8949acd6 9 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
10 * @version $Id$
11 * @package squirrelmail
12 */
13
14/** Define the group constants for this options page. */
fbffe024 15define('SMOPT_GRP_ACCESSKEYS_MENUBAR', 0);
16define('SMOPT_GRP_ACCESSKEYS_MAILBOX', 1);
17define('SMOPT_GRP_ACCESSKEYS_READ_MESSAGE', 2);
18define('SMOPT_GRP_ACCESSKEYS_COMPOSE', 3);
f99c4469 19define('SMOPT_GRP_ACCESSKEYS_FOLDER_LIST', 4);
20define('SMOPT_GRP_ACCESSKEYS_OPTIONS', 5);
8949acd6 21
22/**
23 * This function builds an array with all the information about
24 * the options available to the user, and returns it. The options
25 * are grouped by the groups in which they are displayed.
26 * For each option, the following information is stored:
27 * - name: the internal (variable) name
28 * - caption: the description of the option in the UI
29 * - type: one of SMOPT_TYPE_*
30 * - refresh: one of SMOPT_REFRESH_*
31 * - size: one of SMOPT_SIZE_*
32 * - save: the name of a function to call when saving this option
33 * @return array all option information
34 */
35function load_optpage_data_accessibility() {
36
37 global $a_to_z;
38 $my_a_to_z = array_merge(array('NONE' => _("Not used")), $a_to_z);
39
40 /* Build a simple array into which we will build options. */
41 $optgrps = array();
42 $optvals = array();
43
44 /******************************************************/
45 /* LOAD EACH GROUP OF OPTIONS INTO THE OPTIONS ARRAY. */
46 /******************************************************/
47
fbffe024 48 /*** Load the Access Key Options for the Menubar into the array ***/
49 $optgrps[SMOPT_GRP_ACCESSKEYS_MENUBAR] = _("Access Keys For Top Menu (All Screens)");
50 $optvals[SMOPT_GRP_ACCESSKEYS_MENUBAR] = array();
51
52 $optvals[SMOPT_GRP_ACCESSKEYS_MENUBAR][] = array(
53 'name' => 'accesskey_menubar_compose',
54 'caption' => _("Compose"),
55 'type' => SMOPT_TYPE_STRLIST,
56 'refresh' => SMOPT_REFRESH_NONE,
57 'posvals' => $my_a_to_z,
58 );
59
60 $optvals[SMOPT_GRP_ACCESSKEYS_MENUBAR][] = array(
61 'name' => 'accesskey_menubar_addresses',
62 'caption' => _("Addresses"),
63 'type' => SMOPT_TYPE_STRLIST,
64 'refresh' => SMOPT_REFRESH_NONE,
65 'posvals' => $my_a_to_z,
66 );
67
68 $optvals[SMOPT_GRP_ACCESSKEYS_MENUBAR][] = array(
69 'name' => 'accesskey_menubar_folders',
70 'caption' => _("Folders"),
71 'type' => SMOPT_TYPE_STRLIST,
72 'refresh' => SMOPT_REFRESH_NONE,
73 'posvals' => $my_a_to_z,
74 );
75
76 $optvals[SMOPT_GRP_ACCESSKEYS_MENUBAR][] = array(
77 'name' => 'accesskey_menubar_options',
78 'caption' => _("Options"),
79 'type' => SMOPT_TYPE_STRLIST,
80 'refresh' => SMOPT_REFRESH_NONE,
81 'posvals' => $my_a_to_z,
82 );
83
84 $optvals[SMOPT_GRP_ACCESSKEYS_MENUBAR][] = array(
85 'name' => 'accesskey_menubar_search',
86 'caption' => _("Search"),
87 'type' => SMOPT_TYPE_STRLIST,
88 'refresh' => SMOPT_REFRESH_NONE,
89 'posvals' => $my_a_to_z,
90 );
91
92 $optvals[SMOPT_GRP_ACCESSKEYS_MENUBAR][] = array(
93 'name' => 'accesskey_menubar_help',
94 'caption' => _("Help"),
95 'type' => SMOPT_TYPE_STRLIST,
96 'refresh' => SMOPT_REFRESH_NONE,
97 'posvals' => $my_a_to_z,
98 );
99
100 $optvals[SMOPT_GRP_ACCESSKEYS_MENUBAR][] = array(
101 'name' => 'accesskey_menubar_signout',
102 'caption' => _("Sign Out"),
103 'type' => SMOPT_TYPE_STRLIST,
104 'refresh' => SMOPT_REFRESH_NONE,
105 'posvals' => $my_a_to_z,
106 );
107
108
109 /*** Load the Access Key Options for the Mailbox page into the array ***/
110 $optgrps[SMOPT_GRP_ACCESSKEYS_MAILBOX] = _("Access Keys For Message List Screen");
111 $optvals[SMOPT_GRP_ACCESSKEYS_MAILBOX] = array();
112
47485591 113 $optvals[SMOPT_GRP_ACCESSKEYS_MAILBOX][] = array(
114 'name' => 'accesskey_mailbox_previous',
115 'caption' => _("Previous"),
116 'type' => SMOPT_TYPE_STRLIST,
117 'refresh' => SMOPT_REFRESH_NONE,
118 'posvals' => $my_a_to_z,
119 );
120
121 $optvals[SMOPT_GRP_ACCESSKEYS_MAILBOX][] = array(
122 'name' => 'accesskey_mailbox_next',
123 'caption' => _("Next"),
124 'type' => SMOPT_TYPE_STRLIST,
125 'refresh' => SMOPT_REFRESH_NONE,
126 'posvals' => $my_a_to_z,
127 );
128
129 $optvals[SMOPT_GRP_ACCESSKEYS_MAILBOX][] = array(
130 'name' => 'accesskey_mailbox_all_paginate',
131 'caption' => _("Show All/Paginate"),
132 'type' => SMOPT_TYPE_STRLIST,
133 'refresh' => SMOPT_REFRESH_NONE,
134 'posvals' => $my_a_to_z,
135 );
136
137 $optvals[SMOPT_GRP_ACCESSKEYS_MAILBOX][] = array(
138 'name' => 'accesskey_mailbox_thread',
139 'caption' => _("Thread View/Unthreaded View"),
140 'type' => SMOPT_TYPE_STRLIST,
141 'refresh' => SMOPT_REFRESH_NONE,
142 'posvals' => $my_a_to_z,
143 );
144
145 $optvals[SMOPT_GRP_ACCESSKEYS_MAILBOX][] = array(
146 'name' => 'accesskey_mailbox_flag',
147 'caption' => _("Flag"),
148 'type' => SMOPT_TYPE_STRLIST,
149 'refresh' => SMOPT_REFRESH_NONE,
150 'posvals' => $my_a_to_z,
151 );
152
153 $optvals[SMOPT_GRP_ACCESSKEYS_MAILBOX][] = array(
154 'name' => 'accesskey_mailbox_unflag',
155 'caption' => _("Unflag"),
156 'type' => SMOPT_TYPE_STRLIST,
157 'refresh' => SMOPT_REFRESH_NONE,
158 'posvals' => $my_a_to_z,
159 );
160
161 $optvals[SMOPT_GRP_ACCESSKEYS_MAILBOX][] = array(
162 'name' => 'accesskey_mailbox_read',
163 'caption' => _("Read"),
164 'type' => SMOPT_TYPE_STRLIST,
165 'refresh' => SMOPT_REFRESH_NONE,
166 'posvals' => $my_a_to_z,
167 );
168
169 $optvals[SMOPT_GRP_ACCESSKEYS_MAILBOX][] = array(
170 'name' => 'accesskey_mailbox_unread',
171 'caption' => _("Unread"),
172 'type' => SMOPT_TYPE_STRLIST,
173 'refresh' => SMOPT_REFRESH_NONE,
174 'posvals' => $my_a_to_z,
175 );
176
177 $optvals[SMOPT_GRP_ACCESSKEYS_MAILBOX][] = array(
178 'name' => 'accesskey_mailbox_forward',
179 'caption' => _("Forward"),
180 'type' => SMOPT_TYPE_STRLIST,
181 'refresh' => SMOPT_REFRESH_NONE,
182 'posvals' => $my_a_to_z,
183 );
184
185 $optvals[SMOPT_GRP_ACCESSKEYS_MAILBOX][] = array(
186 'name' => 'accesskey_mailbox_delete',
187 'caption' => _("Delete"),
188 'type' => SMOPT_TYPE_STRLIST,
189 'refresh' => SMOPT_REFRESH_NONE,
190 'posvals' => $my_a_to_z,
191 );
192
193 $optvals[SMOPT_GRP_ACCESSKEYS_MAILBOX][] = array(
194 'name' => 'accesskey_mailbox_expunge',
195 'caption' => _("Expunge"),
196 'type' => SMOPT_TYPE_STRLIST,
197 'refresh' => SMOPT_REFRESH_NONE,
198 'posvals' => $my_a_to_z,
199 );
200
201 $optvals[SMOPT_GRP_ACCESSKEYS_MAILBOX][] = array(
202 'name' => 'accesskey_mailbox_undelete',
203 'caption' => _("Undelete"),
204 'type' => SMOPT_TYPE_STRLIST,
205 'refresh' => SMOPT_REFRESH_NONE,
206 'posvals' => $my_a_to_z,
207 );
208
209 $optvals[SMOPT_GRP_ACCESSKEYS_MAILBOX][] = array(
210 'name' => 'accesskey_mailbox_bypass_trash',
211 'caption' => _("Bypass Trash"),
212 'type' => SMOPT_TYPE_STRLIST,
213 'refresh' => SMOPT_REFRESH_NONE,
214 'posvals' => $my_a_to_z,
215 );
216
217 $optvals[SMOPT_GRP_ACCESSKEYS_MAILBOX][] = array(
218 'name' => 'accesskey_mailbox_move_to',
219 'caption' => _("Move To"),
220 'type' => SMOPT_TYPE_STRLIST,
221 'refresh' => SMOPT_REFRESH_NONE,
222 'posvals' => $my_a_to_z,
223 );
224
225 $optvals[SMOPT_GRP_ACCESSKEYS_MAILBOX][] = array(
226 'name' => 'accesskey_mailbox_move',
227 'caption' => _("Move"),
228 'type' => SMOPT_TYPE_STRLIST,
229 'refresh' => SMOPT_REFRESH_NONE,
230 'posvals' => $my_a_to_z,
231 );
232
233 $optvals[SMOPT_GRP_ACCESSKEYS_MAILBOX][] = array(
234 'name' => 'accesskey_mailbox_copy',
235 'caption' => _("Copy"),
236 'type' => SMOPT_TYPE_STRLIST,
237 'refresh' => SMOPT_REFRESH_NONE,
238 'posvals' => $my_a_to_z,
239 );
240
241 $optvals[SMOPT_GRP_ACCESSKEYS_MAILBOX][] = array(
242 'name' => 'accesskey_mailbox_toggle_selected',
243 'caption' => _("Toggle Selected"),
244 'type' => SMOPT_TYPE_STRLIST,
245 'refresh' => SMOPT_REFRESH_NONE,
246 'posvals' => $my_a_to_z,
247 );
fbffe024 248
249
8949acd6 250 /*** Load the Access Key Options for the Read Message page into the array ***/
251 $optgrps[SMOPT_GRP_ACCESSKEYS_READ_MESSAGE] = _("Access Keys For Read Message Screen");
252 $optvals[SMOPT_GRP_ACCESSKEYS_READ_MESSAGE] = array();
253
254 $optvals[SMOPT_GRP_ACCESSKEYS_READ_MESSAGE][] = array(
255 'name' => 'accesskey_read_msg_reply',
256 'caption' => _("Reply"),
257 'type' => SMOPT_TYPE_STRLIST,
258 'refresh' => SMOPT_REFRESH_NONE,
8949acd6 259 'posvals' => $my_a_to_z,
260 );
261
262 $optvals[SMOPT_GRP_ACCESSKEYS_READ_MESSAGE][] = array(
263 'name' => 'accesskey_read_msg_reply_all',
264 'caption' => _("Reply All"),
265 'type' => SMOPT_TYPE_STRLIST,
266 'refresh' => SMOPT_REFRESH_NONE,
8949acd6 267 'posvals' => $my_a_to_z,
268 );
269
270 $optvals[SMOPT_GRP_ACCESSKEYS_READ_MESSAGE][] = array(
271 'name' => 'accesskey_read_msg_forward',
272 'caption' => _("Forward"),
273 'type' => SMOPT_TYPE_STRLIST,
274 'refresh' => SMOPT_REFRESH_NONE,
8949acd6 275 'posvals' => $my_a_to_z,
276 );
277
278 $optvals[SMOPT_GRP_ACCESSKEYS_READ_MESSAGE][] = array(
279 'name' => 'accesskey_read_msg_as_attach',
280 'caption' => _("As Attachment"),
281 'type' => SMOPT_TYPE_STRLIST,
282 'refresh' => SMOPT_REFRESH_NONE,
8949acd6 283 'posvals' => $my_a_to_z,
284 );
285
286 $optvals[SMOPT_GRP_ACCESSKEYS_READ_MESSAGE][] = array(
287 'name' => 'accesskey_read_msg_delete',
288 'caption' => _("Delete"),
289 'type' => SMOPT_TYPE_STRLIST,
290 'refresh' => SMOPT_REFRESH_NONE,
8949acd6 291 'posvals' => $my_a_to_z,
292 );
293
294 $optvals[SMOPT_GRP_ACCESSKEYS_READ_MESSAGE][] = array(
295 'name' => 'accesskey_read_msg_bypass_trash',
296 'caption' => _("Bypass Trash"),
297 'type' => SMOPT_TYPE_STRLIST,
298 'refresh' => SMOPT_REFRESH_NONE,
8949acd6 299 'posvals' => $my_a_to_z,
300 );
301
302 $optvals[SMOPT_GRP_ACCESSKEYS_READ_MESSAGE][] = array(
303 'name' => 'accesskey_read_msg_move_to',
304 'caption' => _("Move To"),
305 'type' => SMOPT_TYPE_STRLIST,
306 'refresh' => SMOPT_REFRESH_NONE,
8949acd6 307 'posvals' => $my_a_to_z,
308 );
309
310 $optvals[SMOPT_GRP_ACCESSKEYS_READ_MESSAGE][] = array(
311 'name' => 'accesskey_read_msg_move',
312 'caption' => _("Move"),
313 'type' => SMOPT_TYPE_STRLIST,
314 'refresh' => SMOPT_REFRESH_NONE,
8949acd6 315 'posvals' => $my_a_to_z,
316 );
317
318 $optvals[SMOPT_GRP_ACCESSKEYS_READ_MESSAGE][] = array(
319 'name' => 'accesskey_read_msg_copy',
320 'caption' => _("Copy"),
321 'type' => SMOPT_TYPE_STRLIST,
322 'refresh' => SMOPT_REFRESH_NONE,
8949acd6 323 'posvals' => $my_a_to_z,
324 );
325
326
327 /*** Load the Access Key Options for the Compose page into the array ***/
328 $optgrps[SMOPT_GRP_ACCESSKEYS_COMPOSE] = _("Access Keys For Compose Screen");
329 $optvals[SMOPT_GRP_ACCESSKEYS_COMPOSE] = array();
330
331 $optvals[SMOPT_GRP_ACCESSKEYS_COMPOSE][] = array(
5840b9f0 332 'name' => 'accesskey_compose_identity',
333 'caption' => _("From"),
334 'type' => SMOPT_TYPE_STRLIST,
335 'refresh' => SMOPT_REFRESH_NONE,
336 'posvals' => $my_a_to_z,
337 );
338
339 $optvals[SMOPT_GRP_ACCESSKEYS_COMPOSE][] = array(
8949acd6 340 'name' => 'accesskey_compose_to',
341 'caption' => _("To"),
342 'type' => SMOPT_TYPE_STRLIST,
343 'refresh' => SMOPT_REFRESH_NONE,
8949acd6 344 'posvals' => $my_a_to_z,
345 );
346
347 $optvals[SMOPT_GRP_ACCESSKEYS_COMPOSE][] = array(
348 'name' => 'accesskey_compose_cc',
349 'caption' => _("Cc"),
350 'type' => SMOPT_TYPE_STRLIST,
351 'refresh' => SMOPT_REFRESH_NONE,
8949acd6 352 'posvals' => $my_a_to_z,
353 );
354
355 $optvals[SMOPT_GRP_ACCESSKEYS_COMPOSE][] = array(
356 'name' => 'accesskey_compose_bcc',
357 'caption' => _("Bcc"),
358 'type' => SMOPT_TYPE_STRLIST,
359 'refresh' => SMOPT_REFRESH_NONE,
8949acd6 360 'posvals' => $my_a_to_z,
361 );
362
363 $optvals[SMOPT_GRP_ACCESSKEYS_COMPOSE][] = array(
364 'name' => 'accesskey_compose_subject',
365 'caption' => _("Subject"),
366 'type' => SMOPT_TYPE_STRLIST,
367 'refresh' => SMOPT_REFRESH_NONE,
8949acd6 368 'posvals' => $my_a_to_z,
369 );
370
371 $optvals[SMOPT_GRP_ACCESSKEYS_COMPOSE][] = array(
372 'name' => 'accesskey_compose_priority',
373 'caption' => _("Priority"),
374 'type' => SMOPT_TYPE_STRLIST,
375 'refresh' => SMOPT_REFRESH_NONE,
8949acd6 376 'posvals' => $my_a_to_z,
377 );
378
379 $optvals[SMOPT_GRP_ACCESSKEYS_COMPOSE][] = array(
380 'name' => 'accesskey_compose_on_read',
381 'caption' => _("On Read"),
382 'type' => SMOPT_TYPE_STRLIST,
383 'refresh' => SMOPT_REFRESH_NONE,
8949acd6 384 'posvals' => $my_a_to_z,
385 );
386
387 $optvals[SMOPT_GRP_ACCESSKEYS_COMPOSE][] = array(
388 'name' => 'accesskey_compose_on_delivery',
389 'caption' => _("On Delivery"),
390 'type' => SMOPT_TYPE_STRLIST,
391 'refresh' => SMOPT_REFRESH_NONE,
8949acd6 392 'posvals' => $my_a_to_z,
393 );
394
395 $optvals[SMOPT_GRP_ACCESSKEYS_COMPOSE][] = array(
396 'name' => 'accesskey_compose_signature',
397 'caption' => _("Signature"),
398 'type' => SMOPT_TYPE_STRLIST,
399 'refresh' => SMOPT_REFRESH_NONE,
8949acd6 400 'posvals' => $my_a_to_z,
401 );
402
403 $optvals[SMOPT_GRP_ACCESSKEYS_COMPOSE][] = array(
404 'name' => 'accesskey_compose_addresses',
405 'caption' => _("Addresses"),
406 'type' => SMOPT_TYPE_STRLIST,
407 'refresh' => SMOPT_REFRESH_NONE,
8949acd6 408 'posvals' => $my_a_to_z,
409 );
410
411 $optvals[SMOPT_GRP_ACCESSKEYS_COMPOSE][] = array(
412 'name' => 'accesskey_compose_save_draft',
413 'caption' => _("Save Draft"),
414 'type' => SMOPT_TYPE_STRLIST,
415 'refresh' => SMOPT_REFRESH_NONE,
8949acd6 416 'posvals' => $my_a_to_z,
417 );
418
419 $optvals[SMOPT_GRP_ACCESSKEYS_COMPOSE][] = array(
420 'name' => 'accesskey_compose_send',
421 'caption' => _("Send"),
422 'type' => SMOPT_TYPE_STRLIST,
423 'refresh' => SMOPT_REFRESH_NONE,
8949acd6 424 'posvals' => $my_a_to_z,
425 );
426
427 $optvals[SMOPT_GRP_ACCESSKEYS_COMPOSE][] = array(
428 'name' => 'accesskey_compose_body',
429 'caption' => _("Body"),
430 'type' => SMOPT_TYPE_STRLIST,
431 'refresh' => SMOPT_REFRESH_NONE,
8949acd6 432 'posvals' => $my_a_to_z,
433 );
434
435 $optvals[SMOPT_GRP_ACCESSKEYS_COMPOSE][] = array(
436 'name' => 'accesskey_compose_attach_browse',
437 'caption' => _("Browse"),
438 'type' => SMOPT_TYPE_STRLIST,
439 'refresh' => SMOPT_REFRESH_NONE,
8949acd6 440 'posvals' => $my_a_to_z,
441 );
442
443 $optvals[SMOPT_GRP_ACCESSKEYS_COMPOSE][] = array(
444 'name' => 'accesskey_compose_attach',
445 'caption' => _("Attach"),
446 'type' => SMOPT_TYPE_STRLIST,
447 'refresh' => SMOPT_REFRESH_NONE,
8949acd6 448 'posvals' => $my_a_to_z,
449 );
450
451 $optvals[SMOPT_GRP_ACCESSKEYS_COMPOSE][] = array(
452 'name' => 'accesskey_compose_delete_attach',
453 'caption' => _("Delete Selected Attachments"),
454 'type' => SMOPT_TYPE_STRLIST,
455 'refresh' => SMOPT_REFRESH_NONE,
8949acd6 456 'posvals' => $my_a_to_z,
457 );
458
459
f99c4469 460 /*** Load the Access Key Options for the Folder List page into the array ***/
461 $optgrps[SMOPT_GRP_ACCESSKEYS_FOLDER_LIST] = _("Access Keys For Folder List Screen");
462 $optvals[SMOPT_GRP_ACCESSKEYS_FOLDER_LIST] = array();
463
464 $optvals[SMOPT_GRP_ACCESSKEYS_FOLDER_LIST][] = array(
465 'name' => 'accesskey_folders_refresh',
466 'caption' => _("Refresh/Check Mail"),
467 'type' => SMOPT_TYPE_STRLIST,
468 'refresh' => SMOPT_REFRESH_NONE,
469 'posvals' => $my_a_to_z,
470 );
471
472 $optvals[SMOPT_GRP_ACCESSKEYS_FOLDER_LIST][] = array(
473 'name' => 'accesskey_folders_purge_trash',
474 'caption' => _("Purge Trash"),
475 'type' => SMOPT_TYPE_STRLIST,
476 'refresh' => SMOPT_REFRESH_NONE,
477 'posvals' => $my_a_to_z,
478 );
479
480 $optvals[SMOPT_GRP_ACCESSKEYS_FOLDER_LIST][] = array(
481 'name' => 'accesskey_folders_inbox',
482 'caption' => _("INBOX"),
483 'type' => SMOPT_TYPE_STRLIST,
484 'refresh' => SMOPT_REFRESH_NONE,
485 'posvals' => $my_a_to_z,
486 );
487
488
489 /*** Load the Access Key Options for the main Options page into the array ***/
490 $optgrps[SMOPT_GRP_ACCESSKEYS_OPTIONS] = _("Access Keys For Options Screen");
491 $optvals[SMOPT_GRP_ACCESSKEYS_OPTIONS] = array();
492
96698334 493 $optvals[SMOPT_GRP_ACCESSKEYS_OPTIONS][] = array(
494 'name' => 'accesskey_options_personal',
495 'caption' => _("Personal Information"),
496 'type' => SMOPT_TYPE_STRLIST,
497 'refresh' => SMOPT_REFRESH_NONE,
498 'posvals' => $my_a_to_z,
499 );
500
501 $optvals[SMOPT_GRP_ACCESSKEYS_OPTIONS][] = array(
502 'name' => 'accesskey_options_display',
503 'caption' => _("Display Preferences"),
504 'type' => SMOPT_TYPE_STRLIST,
505 'refresh' => SMOPT_REFRESH_NONE,
506 'posvals' => $my_a_to_z,
507 );
508
509 $optvals[SMOPT_GRP_ACCESSKEYS_OPTIONS][] = array(
510 'name' => 'accesskey_options_highlighting',
511 'caption' => _("Message Highlighting"),
512 'type' => SMOPT_TYPE_STRLIST,
513 'refresh' => SMOPT_REFRESH_NONE,
514 'posvals' => $my_a_to_z,
515 );
516
517 $optvals[SMOPT_GRP_ACCESSKEYS_OPTIONS][] = array(
518 'name' => 'accesskey_options_folders',
519 'caption' => _("Folder Preferences"),
520 'type' => SMOPT_TYPE_STRLIST,
521 'refresh' => SMOPT_REFRESH_NONE,
522 'posvals' => $my_a_to_z,
523 );
524
525 $optvals[SMOPT_GRP_ACCESSKEYS_OPTIONS][] = array(
526 'name' => 'accesskey_options_index_order',
527 'caption' => _("Index Order"),
528 'type' => SMOPT_TYPE_STRLIST,
529 'refresh' => SMOPT_REFRESH_NONE,
530 'posvals' => $my_a_to_z,
531 );
532
533 $optvals[SMOPT_GRP_ACCESSKEYS_OPTIONS][] = array(
534 'name' => 'accesskey_options_compose',
535 'caption' => _("Compose Preferences"),
536 'type' => SMOPT_TYPE_STRLIST,
537 'refresh' => SMOPT_REFRESH_NONE,
538 'posvals' => $my_a_to_z,
539 );
540
541 $optvals[SMOPT_GRP_ACCESSKEYS_OPTIONS][] = array(
542 'name' => 'accesskey_options_accessibility',
543 'caption' => _("Accessibility Preferences"),
544 'type' => SMOPT_TYPE_STRLIST,
545 'refresh' => SMOPT_REFRESH_NONE,
546 'posvals' => $my_a_to_z,
547 );
f99c4469 548
549
8949acd6 550 /* Assemble all this together and return it as our result. */
551 $result = array(
552 'grps' => $optgrps,
553 'vals' => $optvals
554 );
555 return ($result);
556}
557
558/******************************************************************/
559/** Define any specialized save functions for this option page. ***/
560/** ***/
561/** You must add every function that is set in save parameter ***/
562/******************************************************************/
563