squirrelmail-webmail  1.4.22
About: SquirrelMail is a standards-based webmail package with strong MIME support, address books, and folder manipulation (written in PHP4).
  Fossies Dox: squirrelmail-webmail-1.4.22.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

display.php File Reference

Go to the source code of this file.

Namespaces

 squirrelmail
 

Functions

 load_optpage_data_display ()
 
 save_option_theme ($option)
 
 save_option_javascript_autodetect ($option)
 
 save_option_reply_prefix ($option)
 

Variables

const SMOPT_GRP_GENERAL 0
 
const SMOPT_GRP_MAILBOX 1
 
const SMOPT_GRP_MESSAGE 2
 

Function Documentation

◆ load_optpage_data_display()

load_optpage_data_display ( )

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
    Returns
    array all option information

Definition at line 32 of file display.php.

References $allow_thread_sort, $compose_new_win, $default_use_mdn, $js_autodetect_results, $language_values, $languages, $squirrelmail_language, $theme, _(), SM_PATH, SMOPT_GRP_GENERAL, SMOPT_GRP_MAILBOX, SMOPT_GRP_MESSAGE, SMOPT_REFRESH_ALL, SMOPT_REFRESH_NONE, SMOPT_SIZE_TINY, SMOPT_TYPE_BOOLEAN, SMOPT_TYPE_HIDDEN, SMOPT_TYPE_INTEGER, SMOPT_TYPE_STRING, SMOPT_TYPE_STRLIST, SMPREF_JS_AUTODETECT, SMPREF_JS_OFF, SMPREF_JS_ON, SMPREF_LOC_BETWEEN, SMPREF_LOC_BOTTOM, SMPREF_LOC_TOP, and SMPREF_ON.

◆ save_option_javascript_autodetect()

save_option_javascript_autodetect (   $option)

This function saves the javascript detection option.

Definition at line 415 of file display.php.

References $data_dir, $username, setPref(), SMPREF_JS_AUTODETECT, SMPREF_JS_OFF, and SMPREF_JS_ON.

◆ save_option_reply_prefix()

save_option_reply_prefix (   $option)

Definition at line 432 of file display.php.

References $data_dir, $username, and save_option().

◆ save_option_theme()

save_option_theme (   $option)

Define any specialized save functions for this option page. This function saves a new theme setting. It updates the theme array.

Definition at line 392 of file display.php.

References $theme, and save_option().

Variable Documentation

◆ SMOPT_GRP_GENERAL

const SMOPT_GRP_GENERAL 0

Define the group constants for the display options page.

Definition at line 15 of file display.php.

Referenced by load_optpage_data_display().

◆ SMOPT_GRP_MAILBOX

const SMOPT_GRP_MAILBOX 1

Definition at line 16 of file display.php.

Referenced by load_optpage_data_display().

◆ SMOPT_GRP_MESSAGE

const SMOPT_GRP_MESSAGE 2

Definition at line 17 of file display.php.

Referenced by load_optpage_data_display().