/src/options_identities.php

Description

options_identities.php

Display Identities Options

Includes
require ('../include/init.php') (line 22)

Include the SquirrelMail initialization file.

require_once (SM_PATH.'functions/identity.php') (line 25)
require_once (SM_PATH.'functions/forms.php') (line 26)
Functions
ShowIdentityInfo (line 141)

Returns html formated identity form fields

Contains options_identities_buttons and options_identities_table hooks. Before 1.4.5/1.5.1 hooks were placed in ShowTableInfo() function. In 1.1.3-1.4.1 they were called in do_hook function with two or three arguments. Since 1.4.1 hooks are called in concat_hook_function. Arguments are moved to array.

options_identities_buttons hook uses array with two keys. First array key is boolean variable used to indicate empty identity field. Second array key is integer variable used to indicate identity number

options_identities_table hook uses array with three keys. First array key is a string containing background color style CSS (1.4.1-1.4.4/1.5.0 uses only html color code). Second array key is boolean variable used to indicate empty identity field. Third array key is integer variable used to indicate identity number

  • return: html formatted table rows with form fields for identity management
  • since: 1.5.1 and 1.4.5 (was called ShowTableInfo() in 1.1.3-1.4.4 and 1.5.0)
string ShowIdentityInfo (string $title, array $identity, integer $id)
  • string $title: Name displayed in header row
  • array $identity: Identity information
  • integer $id: identity ID

Documentation generated on Mon, 13 Jan 2020 04:23:18 +0100 by phpDocumentor 1.4.3