File/nasmail/include/options/display.php

Description

options_display.php

Displays all optinos about display preferences

  • version: $Id: display.php 1335 2008-04-27 11:48:53Z tokul $
  • copyright: (c) 1999-2006 The SquirrelMail Project Team
  • copyright: (c) 2006-2007 The NaSMail Project
  • license: GNU Public License
Constants
SMOPT_GRP_GENERAL = 0 (line 16)

Define the group constants for the display options page.

SMOPT_GRP_MAILBOX = 1 (line 17)
SMOPT_GRP_MESSAGE = 2 (line 18)
Functions
load_optpage_data_display (line 33)

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 316)

This function saves the javascript detection option.

void save_option_javascript_autodetect (object SquirrelOption $option)

Documentation generated on Sun, 22 Nov 2009 17:36:26 +0200 by phpDocumentor 1.4.3