/src/options_identities.php

Description

options_identities.php

Display Identities Options

  • filesource: Source Code for this file
  • since: 1.1.3
  • version: $Id: options_identities.php,v 1.46 2006/08/25 23:09:07 stevetruckstuff Exp $
  • license: GNU Public License
  • copyright: © 1999-2006 The SquirrelMail Project Team
Includes
require ('../include/init.php') (line 19)

Include the SquirrelMail initialization file.

require_once (SM_PATH.'functions/identity.php') (line 22)
Functions
ShowIdentityInfo (line 130)

Returns html formated identity form fields

Contains options_identities_buttons and option_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 Sat, 07 Oct 2006 16:12:55 +0300 by phpDocumentor 1.3.0RC6