Source for file accessibility.php
Documentation is available at accessibility.php
* options_accessibility.php
* Displays all options concerning accessibility features in SquirrelMail.
* @copyright 1999-2020 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id: accessibility.php 14845 2020-01-07 08:09:34Z pdontthink $
/** Define the group constants for this options page. */
define('SMOPT_GRP_ACCESSKEYS_MENUBAR', 0);
define('SMOPT_GRP_ACCESSKEYS_MAILBOX', 1);
define('SMOPT_GRP_ACCESSKEYS_READ_MESSAGE', 2);
define('SMOPT_GRP_ACCESSKEYS_COMPOSE', 3);
define('SMOPT_GRP_ACCESSKEYS_FOLDER_LIST', 4);
define('SMOPT_GRP_ACCESSKEYS_OPTIONS', 5);
* This function builds an array with all the information about
* the options available to the user, and returns it. The options
* are grouped by the groups in which they are displayed.
* For each option, the following information is stored:
* - name: the internal (variable) name
* - caption: the description of the option in the UI
* - type: one of SMOPT_TYPE_*
* - refresh: one of SMOPT_REFRESH_*
* - size: one of SMOPT_SIZE_*
* - save: the name of a function to call when saving this option
* @return array all option information
$my_a_to_z =
array_merge(array('NONE' =>
_("Not used")), $a_to_z);
/* Build a simple array into which we will build options. */
/******************************************************/
/* LOAD EACH GROUP OF OPTIONS INTO THE OPTIONS ARRAY. */
/******************************************************/
/*** Load the Access Key Options for the Menubar into the array ***/
'name' =>
'accesskey_menubar_compose',
'caption' =>
_("Compose"),
'name' =>
'accesskey_menubar_addresses',
'caption' =>
_("Addresses"),
'name' =>
'accesskey_menubar_folders',
'caption' =>
_("Folders"),
'name' =>
'accesskey_menubar_options',
'caption' =>
_("Options"),
'name' =>
'accesskey_menubar_search',
'caption' =>
_("Search"),
'name' =>
'accesskey_menubar_help',
'name' =>
'accesskey_menubar_signout',
'caption' =>
_("Sign Out"),
/*** Load the Access Key Options for the Mailbox page into the array ***/
'name' =>
'accesskey_mailbox_previous',
'caption' =>
_("Previous"),
'name' =>
'accesskey_mailbox_next',
'name' =>
'accesskey_mailbox_all_paginate',
'caption' =>
_("Show All/Paginate"),
'name' =>
'accesskey_mailbox_thread',
'caption' =>
_("Thread View/Unthreaded View"),
'name' =>
'accesskey_mailbox_flag',
'name' =>
'accesskey_mailbox_unflag',
'caption' =>
_("Unflag"),
'name' =>
'accesskey_mailbox_read',
'name' =>
'accesskey_mailbox_unread',
'caption' =>
_("Unread"),
'name' =>
'accesskey_mailbox_forward',
'caption' =>
_("Forward"),
'name' =>
'accesskey_mailbox_delete',
'caption' =>
_("Delete"),
'name' =>
'accesskey_mailbox_expunge',
'caption' =>
_("Expunge"),
'name' =>
'accesskey_mailbox_undelete',
'caption' =>
_("Undelete"),
'name' =>
'accesskey_mailbox_bypass_trash',
'caption' =>
_("Bypass Trash"),
'name' =>
'accesskey_mailbox_move_to',
'caption' =>
_("Move To"),
'name' =>
'accesskey_mailbox_move',
'name' =>
'accesskey_mailbox_copy',
'name' =>
'accesskey_mailbox_toggle_selected',
'caption' =>
_("Toggle Selected"),
/*** Load the Access Key Options for the Read Message page into the array ***/
'name' =>
'accesskey_read_msg_reply',
'name' =>
'accesskey_read_msg_reply_all',
'caption' =>
_("Reply All"),
'name' =>
'accesskey_read_msg_forward',
'caption' =>
_("Forward"),
'name' =>
'accesskey_read_msg_as_attach',
'caption' =>
_("As Attachment"),
'name' =>
'accesskey_read_msg_delete',
'caption' =>
_("Delete"),
'name' =>
'accesskey_read_msg_bypass_trash',
'caption' =>
_("Bypass Trash"),
'name' =>
'accesskey_read_msg_move_to',
'caption' =>
_("Move To"),
'name' =>
'accesskey_read_msg_move',
'name' =>
'accesskey_read_msg_copy',
/*** Load the Access Key Options for the Compose page into the array ***/
'name' =>
'accesskey_compose_identity',
'name' =>
'accesskey_compose_to',
'name' =>
'accesskey_compose_cc',
'name' =>
'accesskey_compose_bcc',
'name' =>
'accesskey_compose_subject',
'caption' =>
_("Subject"),
'name' =>
'accesskey_compose_priority',
'caption' =>
_("Priority"),
'name' =>
'accesskey_compose_on_read',
'caption' =>
_("On Read"),
'name' =>
'accesskey_compose_on_delivery',
'caption' =>
_("On Delivery"),
'name' =>
'accesskey_compose_signature',
'caption' =>
_("Signature"),
'name' =>
'accesskey_compose_addresses',
'caption' =>
_("Addresses"),
'name' =>
'accesskey_compose_save_draft',
'caption' =>
_("Save Draft"),
'name' =>
'accesskey_compose_send',
'name' =>
'accesskey_compose_body',
'name' =>
'accesskey_compose_attach_browse',
'caption' =>
_("Browse"),
'name' =>
'accesskey_compose_attach',
'caption' =>
_("Attach"),
'name' =>
'accesskey_compose_delete_attach',
'caption' =>
_("Delete Selected Attachments"),
/*** Load the Access Key Options for the Folder List page into the array ***/
'name' =>
'accesskey_folders_refresh',
'caption' =>
_("Refresh/Check Mail"),
'name' =>
'accesskey_folders_purge_trash',
'caption' =>
_("Purge Trash"),
'name' =>
'accesskey_folders_inbox',
/*** Load the Access Key Options for the main Options page into the array ***/
'name' =>
'accesskey_options_personal',
'caption' =>
_("Personal Information"),
'name' =>
'accesskey_options_display',
'caption' =>
_("Display Preferences"),
'name' =>
'accesskey_options_highlighting',
'caption' =>
_("Message Highlighting"),
'name' =>
'accesskey_options_folders',
'caption' =>
_("Folder Preferences"),
'name' =>
'accesskey_options_index_order',
'caption' =>
_("Index Order"),
'name' =>
'accesskey_options_compose',
'caption' =>
_("Compose Preferences"),
'name' =>
'accesskey_options_accessibility',
'caption' =>
_("Accessibility Preferences"),
/* Assemble all this together and return it as our result. */
/******************************************************************/
/** Define any specialized save functions for this option page. ***/
/** You must add every function that is set in save parameter ***/
/******************************************************************/
Documentation generated on Mon, 13 Jan 2020 04:21:57 +0100 by phpDocumentor 1.4.3