/src/options.php

Description

options.php

Displays the options page. Pulls from proper user preference files and config.php. Displays preferences as selected and other options.

Includes
require ('../include/init.php') (line 22)

Include the SquirrelMail initialization file.

require_once (SM_PATH.'functions/forms.php') (line 28)
require_once ($optpage_file) (line 190)

*******************************************************

require_once (SM_PATH.'functions/options.php') (line 27)
Constants
SMOPT_MODE_DISPLAY = 'display' (line 34)

******************************

SMOPT_MODE_LINK = 'link' (line 36)
SMOPT_MODE_SUBMIT = 'submit' (line 35)
SMOPT_PAGE_ACCESSIBILITY = 'accessibility' (line 42)
SMOPT_PAGE_COMPOSE = 'compose' (line 41)
SMOPT_PAGE_DISPLAY = 'display' (line 40)
SMOPT_PAGE_FOLDER = 'folder' (line 44)
SMOPT_PAGE_HIGHLIGHT = 'highlight' (line 43)
SMOPT_PAGE_MAIN = 'main' (line 38)
SMOPT_PAGE_ORDER = 'order' (line 45)
SMOPT_PAGE_PERSONAL = 'personal' (line 39)
Functions
process_optionmode_link (line 96)
void process_optionmode_link ( $optpage)
  • $optpage
process_optionmode_submit (line 60)

Save submitted options and calculate the most we need to refresh the page

  • return: The highest level of screen refresh needed per the options that were changed. This value will correspond to the SMOPT_REFRESH_* constants found in functions/options.php.
int process_optionmode_submit (string $optpage, array $optpage_data)
  • string $optpage: The name of the page being submitted
  • array $optpage_data: An array of all the submitted options

Documentation generated on Mon, 13 Jan 2020 04:23:14 +0100 by phpDocumentor 1.4.3