/include/options/display.php

Description

options_display.php

Displays all optinos about display preferences

Constants
SMOPT_GRP_GENERAL = 0 (line 15)

Define the group constants for the display options page.

SMOPT_GRP_MAILBOX = 1 (line 16)
SMOPT_GRP_MESSAGE = 2 (line 17)
Functions
load_optpage_data_display (line 32)

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: all option information
array load_optpage_data_display ()
save_option_javascript_autodetect (line 423)

This function saves the javascript detection option.

void save_option_javascript_autodetect ( $option)
  • $option
save_option_reply_prefix (line 440)
void save_option_reply_prefix ( $option)
  • $option
save_option_theme (line 400)

This function saves a new theme setting.

It updates the theme array.

void save_option_theme ( $option)
  • $option

Documentation generated on Wed, 27 Aug 2014 04:20:45 +0200 by phpDocumentor 1.4.3