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)  

personal.php File Reference

Go to the source code of this file.

Namespaces

 squirrelmail
 

Functions

 load_optpage_data_personal ()
 
 save_option_signature ($option)
 

Variables

const SMOPT_GRP_CONTACT 0
 
const SMOPT_GRP_REPLY 1
 
const SMOPT_GRP_SIG 2
 
const SMOPT_GRP_TZ 3
 

Function Documentation

◆ load_optpage_data_personal()

load_optpage_data_personal ( )

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 36 of file personal.php.

References $color, $data_dir, $edit_identity, $edit_name, $message, $tzChangeAllowed, $username, _(), exit, getPref(), getSig(), plain_error_message(), SM_PATH, SMOPT_GRP_CONTACT, SMOPT_GRP_REPLY, SMOPT_GRP_SIG, SMOPT_GRP_TZ, SMOPT_REFRESH_NONE, SMOPT_SIZE_HUGE, SMOPT_SIZE_MEDIUM, SMOPT_TYPE_BOOLEAN, SMOPT_TYPE_COMMENT, SMOPT_TYPE_STRING, SMOPT_TYPE_STRLIST, SMOPT_TYPE_TEXTAREA, and SMPREF_NONE.

◆ save_option_signature()

save_option_signature (   $option)

Define any specialized save functions for this option page. Saves the signature option.

Definition at line 231 of file personal.php.

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

Variable Documentation

◆ SMOPT_GRP_CONTACT

const SMOPT_GRP_CONTACT 0

SquirrelMail required files.

Definition at line 18 of file personal.php.

Referenced by load_optpage_data_personal().

◆ SMOPT_GRP_REPLY

const SMOPT_GRP_REPLY 1

Definition at line 19 of file personal.php.

Referenced by load_optpage_data_personal().

◆ SMOPT_GRP_SIG

const SMOPT_GRP_SIG 2

Definition at line 20 of file personal.php.

Referenced by load_optpage_data_personal().

◆ SMOPT_GRP_TZ

const SMOPT_GRP_TZ 3

Definition at line 21 of file personal.php.

Referenced by load_optpage_data_personal().