/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_once (SM_PATH.'functions/options.php') (line 30)
require_once (SM_PATH.'include/validate.php') (line 26)
require_once ($optpage_file) (line 218)

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

require_once (SM_PATH.'functions/forms.php') (line 33)
require_once (SM_PATH.'functions/global.php') (line 27)
require_once (SM_PATH.'functions/html.php') (line 32)
require_once (SM_PATH.'functions/imap.php') (line 29)
require_once (SM_PATH.'functions/strings.php') (line 31)
Constants
SMOPT_MODE_DISPLAY = 'display' (line 39)

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

SMOPT_MODE_LINK = 'link' (line 41)
SMOPT_MODE_SUBMIT = 'submit' (line 40)
SMOPT_PAGE_DISPLAY = 'display' (line 45)
SMOPT_PAGE_FOLDER = 'folder' (line 47)
SMOPT_PAGE_HIGHLIGHT = 'highlight' (line 46)
SMOPT_PAGE_MAIN = 'main' (line 43)
SMOPT_PAGE_ORDER = 'order' (line 48)
SMOPT_PAGE_PERSONAL = 'personal' (line 44)
Functions
print_optionpages_row (line 95)

This function prints out an option page row.

void print_optionpages_row ( $leftopt, [ $rightopt = false])
  • $leftopt
  • $rightopt
process_optionmode_link (line 87)
void process_optionmode_link ( $optpage)
  • $optpage
process_optionmode_submit (line 63)

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 Wed, 27 Aug 2014 04:21:34 +0200 by phpDocumentor 1.4.3